WordPress.org

Ready to get started?Download WordPress

Forums

WP Favorite Posts
Issue with {{wp-favorite-posts}} showing incorrectly (8 posts)

  1. playsweeps
    Member
    Posted 2 years ago #

    Hi there, We have installed this plugin and have it working pretty well, except for the Favorites page. When I add {{wp-favorite-posts}} to the page, it correctly puts it in the page content, but also adds 2 additional sets of links and favorites to the top of the page. When I changed {{wp-favorite-posts}} to [wp-favorites-posts] it removed one of the extra sets of links at the top but not both. The page is http://playsweeps.com/?page_id=375

    Any help would be greatly appreciated!
    Thanks, Mike

    http://wordpress.org/extend/plugins/wp-favorite-posts/

  2. sdesign1975
    Member
    Posted 1 year ago #

    Hi,

    I update wordpress to 3.3.1 today and now I have this problem, except I have four additional sets of links and favourites appearing right at the top of my site (about the header).

    I've clicked through to your site and you seem to have resolved this. How did you do it?

    Does anyone know what might causing this?

    I've had to remove my Favorites page from my site for now :-(

    Many Thanks,

    Alex

  3. sdesign1975
    Member
    Posted 1 year ago #

    Hi,

    I update wordpress to 3.3.1 today and now I have this problem, except I have four additional sets of links and favourites appearing right at the top of my site (about the header).

    I've clicked through to your site and you seem to have resolved this. How did you do it?

    Does anyone know what might causing this?

    I've had to remove my Favorites page from my site for now :-(

    Many Thanks,

    Alex

  4. Cayden
    Member
    Posted 1 year ago #

    Hi guys,

    I discovered I had the same problem, and it's two plugins interfering with one another. The problem seems to be Simple Facebook Connect, for me. Since there are so many FB plugins out there I'm just going to change the FB plugin I use.

    To figure it out, deactivate all plugins except for Favorite Posts and then reactivate all plugins one by one.

    Good luck,
    c

  5. SuziBB
    Member
    Posted 1 year ago #

    I have this problem as well. Deactivating other plugins did not help. Page source code shows the favorite post links are inserted in the header before the meta tags. Also shows up in the content as it should.

    I tried changing {{wp-favorite-posts}} to [wp-favorites-posts] but then no favorites appeared at all.

    I'm using the latest version of WP 3.4.1. WP Favorite Posts version 1.5.6

  6. peter.grafico
    Member
    Posted 1 year ago #

    i'm having the same problem, tried and deactivated the plugins and i discovered there was "WordPress Social Ring (Facebook Like, Google +1, ReTweet and Pin It)" which was interfering with the Fav posts plugin :(

  7. nadula
    Member
    Posted 1 year ago #

    I've solved this using css. The top block appear for a second and goes in hidden. But after loading page looks fine now. Hope authors of the plugin will fix this soon.

    Here is the two links I've added to theme file style.css

    .page-template-default .wpfp-span { display:none !important; }
    .page-content .wpfp-span { display:block !important; }

    Hope this helps someone.
    Cheers
    [WP Version 3.4.2]

  8. acephalia
    Member
    Posted 1 year ago #

    Just a quick addition to nadula's post. It works fine as long as you identify your own themes naming.

    Mine had 'article' instead of 'page-content' thus it needs to be edited as required.

    Also it only works properly when you are logged in as the text : "cookie warning text does not come under the wpfp-span" and will not be hidden by the code above. I just removed mine as I only want to allow registers users to favourite posts.

  9. crosswebcreations
    Member
    Posted 1 year ago #

    Adding to nadula's solution, I found a way to eliminate the "cookie warning" for users that are not signed in.

    You need to edit the plugin's wp-favorite-posts.php.

    Down at the bottom you'll see this code:

    function wpfp_cookie_warning() {
        if (!is_user_logged_in() && !isset($_GET['user']) ):
            echo "<p>".wpfp_get_option('cookie_warning')."</p>";
        endif;

    Add a class to the <p> (be sure to use ' to name your class).

    Then you can use CSS to hide it as well. I gave the paragraph the class 'hide-wpfp' and used this CSS:
    /* Hide cookie warning in header */
    .hide-wpfp {display: none!important;}
    /* Bring cookie warning back where it is supposed to be */
    #content .hide-wpfp {display: block!important;}

    So for now that is working at Our Full Plate.

    If anyone finds a more elegant solution, please let us know.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic