Forum Replies Created

Viewing 15 replies - 631 through 645 (of 927 total)
  • Plugin Author Dani Llewellyn

    (@diddledani)

    Yes 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
    Plugin Author Dani Llewellyn

    (@diddledani)

    Unfortunately it isn’t possible to target only a subset tree from a hierarchical taxonomy.

    Plugin Author Dani Llewellyn

    (@diddledani)

    The 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 the wp-content/plugins directory. 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 mbstring extension 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 allow mbstring. If you’re self-hosting on your own server then you can install it yourself using the tools provided by the operating system, such as apt or yum. For Ubuntu and Debian systems the package you’re missing is called php-mbstring.

    There is no possibility for paging the results.

    Plugin Author Dani Llewellyn

    (@diddledani)

    If that is a direct copy and paste from your edit screen then you are missing a quote " at the end of the terms list. Try:

    [a-z-listing post-type="post" terms="ardennen,gastronomie,nieuws,recensies,toeristische-tip,vakantiewoning-2"]
    
    Plugin Author Dani Llewellyn

    (@diddledani)

    Yes, this should be possible to achieve by using something similar to:

    [a-z-listing display="terms" taxonomy="product_cat"]
    
    Plugin Author Dani Llewellyn

    (@diddledani)

    My 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>).

    Plugin Author Dani Llewellyn

    (@diddledani)

    It 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.

    Plugin Author Dani Llewellyn

    (@diddledani)

    You’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 🙂

    Plugin Author Dani Llewellyn

    (@diddledani)

    This issue should be fixed now in 1.9.2

    Plugin Author Dani Llewellyn

    (@diddledani)

    You can add thumbnails by copying the template from wp-content/plugins/a-z-listing/templates/a-z-listing.php into your theme and editing accordingly using the normal WordPress functions to pull the featured image e.g. the_post_thumbnail().

    Plugin Author Dani Llewellyn

    (@diddledani)

    If you place the shortcode on posts of the “page” type, then you can create multiple a-z-listing.php templates in your theme following the pattern of a-z-listing-<section>.php where <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 About or Child of about, the template mechanism will use whichever is found first from: a-z-listing-about.php and a-z-listing.php when searched in that order.

    Likewise if you put the A-Z shortcode on Shop or a child of Shop, the template mechanism will search in order: a-z-listing-shop.php followed by a-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.

    Plugin Author Dani Llewellyn

    (@diddledani)

    I’m glad you got it sorted. Sorry I didn’t get here promptly to help you directly.

    Plugin Author Dani Llewellyn

    (@diddledani)

    There will be a fix landing shortly for using multiple terms in the terms attribute. Currently it’s broken, but soon it won’t be.

    Plugin Author Dani Llewellyn

    (@diddledani)

    You 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!

    Plugin Author Dani Llewellyn

    (@diddledani)

    The 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.

Viewing 15 replies - 631 through 645 (of 927 total)