Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Category Specific Posts in Sidebar Widget? #4320
    surfing
    Participant

    Leo, So in your reply you have done everything I have done. You created a list by selecting the category All Animals and assign the list to a widget. Up to this point it all works correctly. The posts from the All Animals category are displayed in sidebar widget. The problem is I don’t want this lists of posts displayed in the All Fruits category. How do I make WP Show Posts list only show in a specific category?

    in reply to: WPSP Shortcode not working in Category Descriptions #3977
    surfing
    Participant

    I put the code into the Snippets plugin and Lightweight Grids Columns and WP Show Posts shortcodes now work in category descriptions. Is this code stable? I mean the post from stackexchange is nearly two years old. Will I have to check on this each time a new WordPress update is released? Here is the code I inserted:

    add_filter( 'term_description', 'shortcode_unautop' );
    add_filter( 'term_description', 'do_shortcode' );
    remove_filter( 'pre_term_description', 'wp_filter_kses' );

    What does remove_filter… do? I commented out that line and it still seems to work out.

Viewing 2 posts - 1 through 2 (of 2 total)