WordPress.org

Support

Support » Plugins and Hacks » Shortcodes not working

Shortcodes not working

  • I cannot seem to sort anything with the shortcodes provided in the Installation page.
    Example: [fpg cat=”-3″ tag=”featured”]

    What is the exact code you need in the .php template for the shortcodes to work?
    Is it just the main example code?
    <?php if (function_exists(‘fpg_show’)) { echo fpg_show(NULL); } ?>

    Is the only way to sort posts via hardcoding the php page with the categories or tags?
    This worked fine.

    Are there conflicts with other plugins?

    Thanks.

    http://wordpress.org/extend/plugins/featured-posts-grid/

Viewing 1 replies (of 1 total)
  • Plugin Author Chaser324

    @chaser324

    To insert the FPG into a .php template, you should not use the shortcode. Use the full PHP code:

    <?php if (function_exists('fpg_show')) { echo fpg_show(NULL); } ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcodes not working’ is closed to new replies.