WordPress.org

Ready to get started?Download WordPress

Forums

Smart WYSIWYG Blocks Of Content
[resolved] query_posts in Smartblock (3 posts)

  1. valx76
    Member
    Posted 2 years ago #

    Hi,

    I would like to know if it's possible to add some PHP code directly in a Smartblock ?

    In my case, I would like to include the last post of a certain category, with the query_posts function.

    Best regards,
    Valentin

    http://wordpress.org/extend/plugins/smart-wysiwyg-blocks-of-content/

  2. Coen Jacobs
    Member
    Plugin Author

    Posted 2 years ago #

    This is not possible with just my plugin. But any plugin that allows you to run PHP from a shortcode (Shortcode exec PHP for example) will normally work with my plugin.

  3. valx76
    Member
    Posted 2 years ago #

    Thanks for the link! :)

    Btw I found a way to bypass the need of it, so it is resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic