• Hi, I have installed the plugins but in the search of my catalog I see that nothing works can you help me?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    Have you inserted a shortcode to trigger the plugin to display anywhere? This is a requirement – it should be inserted into a post’s editor screen (if you’re using the block editor then there is a “shortcode block” for this) or into a site builder using a shortcode facility if they provide one. It should look similar to this:

    [a-z-listing display="posts" post-type="page"]
    

    There are many configurable options that you may specify on the shortcode. If you explain the requirements for your listing I can attempt to craft the appropriate shortcode for you.

    Ciao Veronica il problema è che non ti funzionano i link sulle lettere di selezione?

    • This reply was modified 3 years, 6 months ago by giucen.
    Thread Starter veronica2020

    (@veronica2020)

    I have a shop that deals with the sale of plants, as there are many products, searching by letter would make it easier to search.

    I need it for research in my shop.

    Will the shortcode that will be created go anywhere on the shop page or in all existing products?

    Thank you
    Veronica

    [ Please do not bump. ]

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    The shortcode should be placed into any page that you want to show the listing. That means if you want the listing to be shown on each product page then either each product should have the shortcode, or you should add some code to your theme’s product-page templates to call the shortcode. The following PHP illustrates how to call the shortcode within a template:

    echo do_shortcode( '[a-z-listing ...options here...]' );
    

    Note that the default styles are not applied when you call the shortcode yourself like this, so you also need to add the following to your theme’s functions.php file to force the styles to be included on each page:

    add_action( 'init', 'a_z_listing_force_enable_styles', 99 );
    
    • This reply was modified 3 years, 5 months ago by Dani Llewellyn. Reason: add missing `echo` to shortcode function response
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘a-z list’ is closed to new replies.