WordPress.org

Ready to get started?Download WordPress

Forums

Genesis Featured Widget Amplified
Filtering post_info output (2 posts)

  1. steckinsights
    Member
    Posted 2 years ago #

    Nick,

    First off, thanks for the excellent support you give day-in and day-out. I know you manage a number of plugins and that takes a lot of effort. So thanks.

    Here's the situation: I'm using post-formats for various asides ( aside, video, link, status, etc.). I can filter the post_info in genesis, in the standard genesis loop, but I'm having a real difficult time filtering post_info for output within the GFWA widget.

    I know that I can remove some output, like the title, for example, using this code in functions.php:
    remove_action( 'gfwa_before_post_content', 'gfwa_do_post_title' );

    But what I'd really like to do is only show the title and number of comments for any post with a post-format selected ( aside, video, link, status, etc.).

    I know that you can use get_post_format or has_post_format to pinpoint those posts, but I'm not sure how to do this with the posts when using Genesis Featured Widget Amplified.

    Help :( Thanks!

    http://wordpress.org/extend/plugins/genesis-featured-widget-amplified/

  2. Nick the Geek
    Member
    Plugin Author

    Posted 2 years ago #

    At this point you would have to remove the action and build a new action and make the output conditional based on the post format. I am planning some additional support for post formats.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic