Featured Posts Grid
Shortcodes not working (2 posts)

  1. jfculhane
    Posted 3 years ago #

    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?



  2. Chaser324
    Plugin Author

    Posted 3 years ago #

    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); } ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Featured Posts Grid
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic