• Resolved Freedom Baird

    (@freedombaird)


    Hi. Thanks for the plug-in

    Just installed and started using it a shortcode on this page:
    https://sites.tufts.edu/teaching/a-to-z/a-to-z-website-index/

    I’d like to modify the post-type to show both posts and pages —

    I found that this works: [a-z-listing post-type=“post”]
    and this works: [a-z-listing post-type=“page”]

    But this does not work [a-z-listing post-type=“post,page”]
    This returns only the letter links at the top of the page, and nothing else.

    Thanks very much —
    FB

    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, it isn’t currently possible to use multiple post types in the same listing. I’m looking into the feasibility of including such a feature, but I might not be able to do so depending on the capability of WP_Query from WordPress Core.

    Thread Starter Freedom Baird

    (@freedombaird)

    Ok, I understand. Thanks very much for the reply and the information. And for the plug-in as well!

    Plugin Author Dani Llewellyn

    (@diddledani)

    Version 2.1.0/2.1.1 is now available, which supports specifying multiple post-types. The shortcode should look similar to:

    [a-z-listing display="posts" post-type="post,page"]
    
    Thread Starter Freedom Baird

    (@freedombaird)

    Ok, great! Will install and implement. Thanks so much for that, and for the plug-in!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem including both posts and pages’ is closed to new replies.