Display Posts Shortcode
[resolved] dropdown list (3 posts)

  1. glazzaroni
    Posted 2 years ago #

    Hello, I want to include in a page all categories but that appears in dropdown list per category. Is it possible?

    Thank you, best regards.


  2. Bill Erickson
    Plugin Author

    Posted 2 years ago #

    I'm sorry, but this is not possible using my plugin.

  3. MattWilby
    Posted 2 years ago #

    Just come across this post and had a thought (as i was trying to do this myself) could you not use this method to be able to select which category is displayed on the page?

    dropdown menu gives variable
    get variable and pass into php
    php if statement based on variable - each if linked to a different version of this code you suggested in a different forum reply

    echo do_shortcode( '[display_posts category="CATEGORY1"]' );
    $my_output = '[display_posts]';
    echo apply_filters( 'do_shortcode', $my_output );

    let me know if you think it could work

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Display Posts Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.