WordPress.org

Ready to get started?Download WordPress

Forums

Special Recent Posts
[resolved] How to display post, but by TAGS ID instead of Category ID ? (4 posts)

  1. mpesgt01
    Member
    Posted 1 year ago #

    I like this plugin. I know how to use it by Category ID (see below code). But i want to know how to do it for Tag ID also ?

    <?php
    // Defining widget options.
    $args = array(
        'post_limit'       => 3,
    	'category_include' => 36
    );
    
    // Function call.
    special_recent_posts($args);
    ?>

    http://wordpress.org/extend/plugins/special-recent-posts/

  2. Luca Grandicelli
    Member
    Plugin Author

    Posted 1 year ago #

    Only the PRO version can filter posts by tag, and not by their IDS but with their literal name.

  3. mpesgt01
    Member
    Posted 1 year ago #

    oh ok, thanks Luca.

  4. Luca Grandicelli
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic