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

    (@diddledani)

    At present the output is limited to the titles of the posts rather than their content. There is also currently no pagination functionality. I will look into including both of those features soon.

    It would be useful also for me if I could display A-Z Index based on both pages and posts. Will there be such possibility?

    Or maybe there is some easy way to include posts in the listings?

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi Guys,

    The latest version 0.7.1 includes many changes, and should now be able to use whatever query you wish to throw at it.

    You can get 0.7.1 from https://downloads.wordpress.org/plugin/a-z-listing.0.7.1.zip immediately, or wait for the plugins directory to notice the new version.

    Currently the widget still cannot be coerced into including anything other than pages when it considers available titles 🙁

    However, the index page itself can be customised extensively.

    Include on your index page’s template the following incantation:
    the_az_listing( array( ‘post_type’ => array( ‘pages’, ‘posts’ ) ) );

    Once that’s in-place you can modify the output of the index itself, by including in your theme a file to override the default view with your own requirements. Specifically you can copy templates/a-z-listing.php from the plugin to your theme root folder (e.g. wp-content/themes/themename/a-z-listing.php) and customise. One example is to add a call to the_excerpt() within the Post Loop (the inner-loop) to include some preview of each entry.

    Hi there,
    like your plugin very much. It´s easy and effective. But I need the point to show only posts and no pages in the a-z listing. Is it possible and how can I realize it? Thanks

    Plugin Author Dani Llewellyn

    (@diddledani)

    Wiegel-design, I believe I have covered your request in this thread already. Please try following my previous comment above. If you still need something that isn’t covered, could you please post your question in a new thread rather than here so that it doesn’t get drowned-out by, or drown out, other people’s problems.

    Hi Daniel,
    Thank you for this great plugin !
    Can you tell me if and how to include a custom field in shortcode ?
    I’ve tried
    [a-z-listing post-type=’mycustom-type-slug’ post-field=’my-custom-field-slug’]
    but i does not seems to work.
    Any idea ?

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi designess,

    The shortcode does not do anything with custom fields, currently. Could you expand a bit on your use-case so that I am better able to understand? For example, are you wanting to limit the listing to only show posts which have the custom field set to a specific value?

    While the shortcode can’t do that right now, it is still possible in the short-term to “do it with php” by editing your theme or creating a child-theme for the functionality until I figure-out a re-usable implementation within the plugin to handle it via the shortcode.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Include Posts in listings’ is closed to new replies.