Dani Llewellyn
Forum Replies Created
-
Forum: Plugins
In reply to: [A-Z Listing] Multiple column displayYes you can either edit the template you copied to your theme to remove the back-to-top link or you can use CSS to hide the links.
For removing the link from the template you need to either comment-out or delete the line that includes:
<div class="back-to-top"><a href="#letters">Back to top</a></div>To hide using CSS the rule you want is either:
div.back-to-top { display: none; }Or if you want visually impaired visitors to still be able to use the link, you could use (based on the best practice documentation):
div.back-to-top a { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; } div.back-to-top a:focus { background-color: #eee; clip: auto !important; clip-path: none; color: #444; display: block; font-size: 1em; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ }- This reply was modified 8 years ago by Dani Llewellyn. Reason: fix second css block to target the anchor tag not the div
Forum: Plugins
In reply to: [A-Z Listing] Woocommerce SupportUnfortunately it isn’t possible to target only a subset tree from a hierarchical taxonomy.
Forum: Plugins
In reply to: [A-Z Listing] Multiple column displayThe instructions are supposed to tell you to copy the file to your <b>theme’s</b> directory within
wp-content/themes, e.g.wp-content/themes/twentyseventeen/a-z-listing.php, not into thewp-content/pluginsdirectory. If they don’t state that then I can fix it, but that’s what you’re supposed to do.A White Screen of Death when you try to use this plugin indicates that you’re likely missing the
mbstringextension to PHP. Your web hosting provider should be able to tell you how to enable it if they support you doing so. Otherwise you’ll need a different hosting provider that does allowmbstring. If you’re self-hosting on your own server then you can install it yourself using the tools provided by the operating system, such asaptoryum. For Ubuntu and Debian systems the package you’re missing is calledphp-mbstring.There is no possibility for paging the results.
Forum: Plugins
In reply to: [A-Z Listing] Multiple categories won’t showIf that is a direct copy and paste from your edit screen then you are missing a quote
"at the end of thetermslist. Try:[a-z-listing post-type="post" terms="ardennen,gastronomie,nieuws,recensies,toeristische-tip,vakantiewoning-2"]Forum: Plugins
In reply to: [A-Z Listing] Woocommerce SupportYes, this should be possible to achieve by using something similar to:
[a-z-listing display="terms" taxonomy="product_cat"]Forum: Plugins
In reply to: [A-Z Listing] Load Posts Only Under Certain CategoriesMy simple guide taxonomies and terms:
- A Taxonomy is a group of Terms
- A Term is a single thing that is used as a classifier by assigning it to one or more posts
- “Categories” and “Tags” are examples of taxonomies. These are included by default in WordPress.
- A single “category” or “tag” is an example of a term. These are placed into the taxonomy “categories” or “tags” respectively.
- For example, say you’re showing pictures of Dogs, you could have a separate taxonomy called “Dog breeds” which has a term for each “Breed” of dog. These could then be used to classify the photos so that people can find all the dogs of a specific breed.
If you’re using the “Categories” taxonomy for your condition types then you want to use the example I originally gave, where you replace “condition-yellow” with the “slug” of each “Term” (Category) you want to display, separated by commas. The slug is shown on the “Term edit page” (Admin -> Posts -> Categories [or other taxonomy name] -> <click on a category>).
Forum: Plugins
In reply to: [A-Z Listing] WooCommerce Categories and SubcategoriesIt is not possible to show only the descendants of a specific term in a hierarchical taxonomy. The only way to do that is to pull those child-terms into their own taxonomy.
Forum: Plugins
In reply to: [A-Z Listing] Multiple categories won’t showYou’re not the first to ask about exclusions, so it seems to be a thing that people are wanting. I’ll try to get it into the next release 🙂
Forum: Plugins
In reply to: [A-Z Listing] Multiple categories won’t showThis issue should be fixed now in 1.9.2
Forum: Plugins
In reply to: [A-Z Listing] URGENT! NEW FEATURE NEEDED – A-Z by posts with ThumbnailsYou can add thumbnails by copying the template from
wp-content/plugins/a-z-listing/templates/a-z-listing.phpinto your theme and editing accordingly using the normal WordPress functions to pull the featured image e.g.the_post_thumbnail().Forum: Plugins
In reply to: [A-Z Listing] One and three column on same siteIf you place the shortcode on posts of the “page” type, then you can create multiple
a-z-listing.phptemplates in your theme following the pattern ofa-z-listing-<section>.phpwhere<section>is the top-most page in the hierarchy’s slug. For example, if you have pages like below:- Home
- About
- Child of About
- Shop
Then, if you place the A-Z shortcode on
AboutorChild of about, the template mechanism will use whichever is found first from:a-z-listing-about.phpanda-z-listing.phpwhen searched in that order.Likewise if you put the A-Z shortcode on
Shopor a child of Shop, the template mechanism will search in order:a-z-listing-shop.phpfollowed bya-z-listing.php.In all cases, if no template is found in your theme folder the plugin will use the default template at
wp-content/plugins/a-z-listing/templates/a-z-listing.php.Forum: Plugins
In reply to: [A-Z Listing] One and three column on same siteI’m glad you got it sorted. Sorry I didn’t get here promptly to help you directly.
Forum: Plugins
In reply to: [A-Z Listing] Load Posts Only Under Certain CategoriesThere will be a fix landing shortly for using multiple terms in the
termsattribute. Currently it’s broken, but soon it won’t be.Forum: Plugins
In reply to: [A-Z Listing] Load Posts Only Under Certain CategoriesYou can filter the results by term using a shortcode similar to:
[a-z-listing post-type="post" taxonomy="category" terms="condition-yellow"]—
Random aside:
A: Go to yellow alert.
B: But, sir, do we have to?
A: Yes, just do it.
B: But it means changing the bulb!Forum: Plugins
In reply to: [A-Z Listing] Widget TaxonomyThe widget configuration will be improved in the next major version. I am working hard on a big overhaul which will be released to coincide with, or in the run-up to, WordPress 5.0.