APP_Widget_Recent_Posts

Customizable Post Loops widget


Package


    Description Description

    Displays posts of selected type with large number of options. Each post wrapped with its own ‘widget’ wrapper, what allows apply widget styles separately. Usefull for horizontal widgets areas, where each widget placed in own cell in row.

    Options:

    • title – Widget title

    Query posts parameters:

    • post_type – Select one of public post types (post, page, CPTs)
    • number – Number of posts to display
    • post__in – IDs of posts to display
    • sticky – Display only sticky posts (if post type supports)

    Template options (if template supports them):

    • template – Post content template name. Tries locate template with this name, otherwise tries to load template with name ‘content-recent-posts.php’, otherwise will load supplied own template with name ‘content-recent-posts.php’
    • show_rating – Display Rating (requires "StarStruck" plugin)
    • show_date – Display post date
    • show_thumbnail – Display post thumbnail
    • show_readmore – Display ‘Read More’ link

    Internal options:

    • images_url – Images folder URL with trailing slash
    • style_url – URL to widget styles file (not used by default)
    • script_url – URL to widget scripts file (not used by default)


    Top ↑

    Methods Methods

    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

    You must log in before being able to contribute a note or feedback.