WordPress.org

Support

Support » Plugins and Hacks » [Resolved] dropdown list

[Resolved] dropdown list

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bill Erickson

    @billerickson

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

    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

    <?php
    
    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] dropdown list’ is closed to new replies.