Forum Replies Created

Viewing 15 replies - 616 through 630 (of 927 total)
  • Plugin Author Dani Llewellyn

    (@diddledani)

    You cannot filter a terms list. The best way to show a specific set of children terms is to put those terms into their own taxonomy.

    In my experience most uses of parent->child terms are a result of putting multiple types of categorisation into a single taxonomy which is incorrect data architecture. For example, this is wrong: parent category called “videos” and child categories of “video type”; instead you should use a separate taxonomy called video-type, which is applied to a post-type called “videos”. The video-type taxonomy includes terms of each type of video, e.g. DVD, Blu Ray, Download..

    For your example above you would create a new taxonomy called “A-Z Search” which includes each of the terms “ADHD”, “Anti-Aging”, “Autism”. Although creating a specific A-Z taxonomy is probably also the wrong way to go. You need to consider and implement a proper data architecture that categorises your posts. Your taxonomies should not create a cluster of terms specifically for the a-z-listing; nor should the taxonomies mash multiple types of taxonomy together. When you find yourself adding “child terms” consider whether it would be better to create a separate taxonomy (it usually is).

    Plugin Author Dani Llewellyn

    (@diddledani)

    I think this is a question, and not a statement?

    There is only one shortcode, called [a-z-listing]. The template system allows for separate templates based on the top-level address:

    With the address https://example.com/some-folder/a-z-page, you can use a template based on the hierarchy of:

    a-z-listing-some-folder.php -> a-z-listing.php
    
    Plugin Author Dani Llewellyn

    (@diddledani)

    I’m sorry, but I don’t think I fully understand the question and what you are trying to achieve. Can you try to explain the question in more detail please?

    Forum: Plugins
    In reply to: [A-Z Listing] Styling
    Plugin Author Dani Llewellyn

    (@diddledani)

    The default styling applied when you use the shortcode should be a close approximation. I no-longer have the exact set of stylesheet rules from those screenshots, so I can’t provide them directly.

    If you’re using the PHP method of embedding the listing then you’ll need to also enqueue the stylesheet with either wp_enqueue_style or with the plugin helper with code in your functions.php similar to:

    add_action( 'init', 'a_z_listing_force_enable_styles', 99 );
    

    I’ve just tested posting a comment. The response time was about 3 seconds for me. This is similar to other pages on your site, although you have other requests that take longer to complete after the page has arrived. You also have a couple of 404 responses on two font files which are probably due to mismatched upper and lower-case characters in the name or slightly different naming. The 404 responses cause a small extra delay, but are not in the order of delay that you are seeing.

    In short, it seems everything is normal for my test. Perhaps the problem only occurs when the comment poster is logged-into your site as a user rather than an anonymous visitor.

    As debugging steps, try the Health Check plugin to disable your plugins for testing to see if the problem is due to a specific plugin – this won’t affect other/normal visitors of your site when done through the health check plugin.

    Forum: Fixing WordPress
    In reply to: Editing Header

    This text is probably coded into your site’s theme files. You will need to either find and edit the code within the files at <site-root>/wp-content/themes/<your-theme-name>, or will need to get a developer/freelancer to edit the files for you. The bit of code you will need to look for is:

    <p class='localpickupnoti'><strong> ** Local Pickup - Product Available at Shop Address Only</strong></p>
    

    This is HTML embedded into PHP code. A passing familiarity of HTML will help to understand the semantics.

    • If you don’t want the text at all, then delete the code that appears as I showed above.
    • If you want to change the wording, then change the text between <strong> and </strong>.
    • If you don’t want the text to be bold, then remove the <strong> and </strong> leaving everything else intact.

    The message “Suspected bot” is not a normal WordPress response in any circumstance. This could be coming from either your web hosting provider or a plugin that you have installed into your site.

    Registering a new user will not give you access to edit your site, however, as the new user will not be created as an administrator.

    If you cannot login using your email address instead of your username, you will need to regain access to your administrator account. This can be attempted by using the “Forgot password” feature with your email address.

    If you are really stuck, and cannot use the forgotten password feature, you may be able to regain access by attempting (DANGEROUS!) to edit the user table in the database – editing the database should be a last resort because you can break everything irreparably.

    Plugin Author Dani Llewellyn

    (@diddledani)

    That’s an interesting solution. In the next release I’ll add an extra div around the default template, and add your jQuery snippet as an opt-in on the short-code.

    Be ready to remove your customisation when I release the new version, because the change might confuse your site with the new div in the plugin conflicting with the extra div that you’re currently putting in the post-content.

    Plugin Author Dani Llewellyn

    (@diddledani)

    The stack trace alone doesn’t show what went wrong. I’m guessing that you don’t have the mbstring PHP-module enabled on your server. Try enabling that module. If that doesn’t help I’ll need more of the error log from before the stack trace to see if there’s anything there to indicate what it’s failing with.

    Plugin Author Dani Llewellyn

    (@diddledani)

    To add numbers to the listing, in addition to the letters, use the numbers="after" attribute on the shortcode:

    [a-z-listing ... numbers="after"]
    
    Plugin Author Dani Llewellyn

    (@diddledani)

    Yes, I planned ahead for this very eventuality. There’s a cryptic filter which can be hooked in your theme’s functions.php file.

    The filter is a-z-listing-alphabet.

    Add the following to your functions.php:

    add_filter( 'a-z-listing-alphabet', 'add_spanish_N' );
    function add_spanish_N( $alphabet ) {
      return 'AÁÀÄÂaáàäâ,Bb,Cc,Dd,EÉÈËÊeéèëê,Ff,Gg,Hh,IÍÌÏÎiíìïî,Jj,Kk,Ll,Mm,Nn,Ññ,OÓÒÖÔoóòöô,Pp,Qq,Rr,Ssß,Tt,UÚÙÜÛuúùüû,Vv,Ww,Xx,Yy,Zz';
    }

    The long string of letters is a list of each alphabetical character in your language, separated by commas , with the first letter in each group being the one used for titles and links. e.g. For the letter E the definition is EÉÈËÊeéèëê so any title beginning with one of those variants of the letter E will be included in the E group, and the title is E because that’s the first one in the group.

    Hypothetically, if you or I were to put the E group as eEéÉèÈëËêÊ, then it will still match the same posts because the list contains all the same variants despite being ordered differently, but the group will be entitled e (lower-case) because that is the first letter in the new list.

    I hope that makes sense.

    Plugin Author Dani Llewellyn

    (@diddledani)

    No, You can only show all the terms from a taxonomy, or all posts associated with specific terms. You can’t filter the list of terms displayed when you’re showing term names instead of posts.

    You can choose between:

    • Display All Term names from a specific taxonomy
    • Display Post names
    • Optionally: filter by specific terms
    Plugin Author Dani Llewellyn

    (@diddledani)

    Like your request for post-counts I’ll add the ability to alter the taxonomy query via a filter in 2.0.

    Plugin Author Dani Llewellyn

    (@diddledani)

    It’s not possible to show the post count currently, but I’ll add it to the list to include in version 2.0, which is in development now.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    It looks like you’re using conflicting parameters. display=terms will show the terms themselves, not the posts associated with those terms. It isn’t possible to limit the terms displayed in this mode, which you’re attempting to do with terms="good, paris".

Viewing 15 replies - 616 through 630 (of 927 total)