• Hello, i tried to figure out from the FAQ how it works with the categories but my english is to bad to understand it.

    right now my shortcode looks like this
    [a-z-listing taxonomy=”category” terms=”job-market”]
    I try to only show posts from the “Job Market” Category but that code doesn’t work

    What i also like to do is only show the output from the current selected letter, for example only all the A posts when i click on A and so on, is that possible?

    Thanks for your help ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter phil1101

    (@phil1101)

    Hey, i managed to display only 1 category, I’m still trying to figure out how to show only the posts of the selected letter.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    To show posts (from the post-type called “posts”) you need to add post-type="post" because it defaults to pages.

    The plugin doesn’t directly support showing one letter per page, but you can use the “tabify” javascript to do this client-side (in the browser) where the whole listing is loaded and hides all-but-one letter. You can load the javascript with the following line inserted into your theme’s functions.php file:

    add_filter( 'a_z_listing_tabify', '__return_true' );
    
    Thread Starter phil1101

    (@phil1101)

    Thanks for your response.
    Adding the filter to my functions.php seemse to do nothing, the list looks like it has always done, you were talking about javascript, do i need to write the function myself or is it already part of the plugin?

    Plugin Author Dani Llewellyn

    (@diddledani)

    The javascript is shipped as part of the plugin. The add_filter line above should be all that is needed to ensure that the javascript is loaded.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Posts from 1 Category and show only the active Letter from the query’ is closed to new replies.