Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

EDH Shop Categories

Disgrifiad

A simple plugin to separate categories from products within the WooCommerce archive loop.
By default the categories will be shown in a grid of 4 on desktop, three on tablet landscape, two on tablet portrait, and one on mobile.
You can easily override this behaviour using CSS.

Lluniau Sgrin

  • Screenshot of the output on desktop.

Gosod

Using The WordPress Dashboard (Recommended)

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘EDH Shop Categories’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

  1. Download the plugin from WordPress or Github
  2. Navigate to the ‘Add New’ in the plugins dashboard
  3. Navigate to the ‘Upload’ area
  4. Select edh-shop-categories.zip from your computer
  5. Click ‘Install Now’
  6. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download edh-shop-categories.zip
  2. Extract the plugin-name directory to your computer
  3. Upload the plugin-name directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

Cwestiynau Cyffredin

Where are the settings?

There are no settings for this plugin. It simply outputs any sub-categories on a WooCommerce archive page prior to the product loop.

How can I customise the layout?

Using CSS you can customise the layout to your needs by targeting the “edh-product-cats” class in the Customizer

Adolygiadau

Medi 28, 2023
body.archive div.edh-product-cats { grid-template-columns: repeat(3, 1fr);} in case someone struggles for the css, this worked for me to make the categories appear in 3 columns instead of the standard 4.
Read all 1 review

Contributors & Developers

“EDH Shop Categories” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “EDH Shop Categories” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

1.0.1

Cleaned up CSS and switched from ‘ul’ to ‘div’

1.0.0

Added icon and banner and Escaping Data

0.1.1

Updated README to add FAQ’s and How to Install

0.1.0

  • Initial version