Support » Plugin: A-Z Listing » A-Z variation

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Llewellyn

    (@diddledan)

    Hi,

    The layout is possible, but restricting the page to a single letter’s items is not possible. You can try adding the following code to your theme’s functions.php file which will simulate paging using javascript:

    add_filter( 'a-z-listing-tabify', '__return_true' );
    

    If you are not using the shortcode or the plugin still does not load the javascript you can change it to:

    add_action( 'wp_enqueue_scripts', 'a_z_listing_force_enqueue_tabs' );
    

    This second variant will load the javascript on every page – the first variant tries to limit only to pages where the shortcode has been used.

    • This reply was modified 4 months, 3 weeks ago by Daniel Llewellyn. Reason: use filter instead of init action
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.