WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Widget
[resolved] Running loops in This plugin (2 posts)

  1. Cronolis
    Member
    Posted 3 years ago #

    This is an ace plugin, but I'm hitting a wall when trying to run loops within the Custom Post, I'm adding my code to the HTML tab when adding post. HTML works fine, but PHP?

    Or does anybody know of a method where by I can create a widget that let's me drag an drop PHP code running loops?

    Thanks in advance.

  2. Johan van der Wijk
    Member
    Plugin Author

    Posted 3 years ago #

    Note that this is not a limitation of the Custom Post Widget plugin as WordPress by default does not allow you to insert php code in posts, pages or widgets. Fortunately there are quite a few plugins to overcome this limitation.

    I suggest using the PHP Execution plugin: http://wordpress.org/extend/plugins/php-execution-plugin/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic