• Resolved pauisanoun

    (@pauisanoun)


    Hi,

    (I have limited WordPress and web development knowledge, so please bear with me! I’m learning as I go.)

    This is our website (http://sparkjam.net/). FPG is exactly the plugin we’ve been looking for to add three featured posts above the content of our homepage. Unfortunately, whenever the line of code for the plugin is inserted into index.php under the code for the header, the site breaks and won’t show content below it (screenshot). It works fine on a test site (http://paumiranda.com/) that uses the same theme, but it won’t seem to work on the main site. Wondering why this could be, and possible way to fix it?

    I’ve tried disabling all plugins except this one to see if they could be affecting this but it doesn’t seem to make a difference. I was in touch with the developer last week with the same problem but didn’t want to take up all of his time. The issue is still not resolved, so I’m trying to see if anyone here can help me or is experiencing the same problem. Really set on using this plugin so any suggestions on what to do next to troubleshoot would be very much appreciated.

    Thanks!

    Paula

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chaser324

    (@chaser324)

    I can’t recall what the solution was…but I think we did get this fixed, so I’m going to go ahead and mark this as resolved.

    Thread Starter pauisanoun

    (@pauisanoun)

    Hi Chase,

    Thanks, yes, you helped me resolve this via e-mail. I wanted to post the error I was getting and the solution you gave, in case others find it helpful.

    PHP Fatal error: Call to undefined function has_post_thumbnail() in /var/www/vhtdocs/userweb62447/html/wp-content/plugins/featured-posts-grid/featured-posts-grid.php on line 408

    To resolve it, you said to add this line to my theme’s functions.php file:

    add_theme_support( 'post-thumbnails' );

    Once the featured posts appeared, I encountered another issue regarding spacing- the contents were not displaying correctly, in multiple rows- to which you replied with the following options:

    It’s a float issue. There are two options that you’ve got to fix this:

    1. Edit the .fpg-wrapper entry in the plugin’s CSS file (…/wp-content/plugins/featured-posts-grid/css/featured-posts-grid.css) and add “clear: both” to it. Keep in mind that this will end up getting undone if/when you update the plugin.
    2. Add a div around the place where you call the fpg_show() function that clears both floats. Something like this:

    <div id="fpg-fix" style="clear: both">
        <?php ...fpg_show()... ?>
    </div>

    Thank you, again, for your time and efforts. The plugin continues to work great! Here is our website to see how we’re using it: http://sparkjam.net/

    Best regards,
    Paula

    Sorry to hijack this thread .. but i have a question for chaser .. i want to add 10 posts in the slider of Featured Posts Scroll but it shows only 5 ! i change into options to 10 but still it shows 5 .. please help .

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Featured Posts Grid] Content won't display’ is closed to new replies.