WordPress.org

Ready to get started?Download WordPress

Forums

WP Favorite Posts
To favorite "Portefolie articles" (2 posts)

  1. Infinityjane
    Member
    Posted 1 year ago #

    I can only make it work on BLOG posts... not on my portifolie.. even if its working to put the link.. push the link.. then it does NOT appear on my Favorites Page.. ?

    Is this only for BLOG posts... and not all the other pages?

    Because i have no BLOG - but my page is going to be only Portefolie items... And i need the "favorite button" on each Portefolie article..

    Why they do not show on my "favorite page" even i pushed the link and it looked like working?

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

  2. gilbarbara
    Member
    Posted 1 year ago #

    Hey!

    replace this line in the file wpfp-page-template.php inside the plugin

    query_posts(array('post__in' => $favorite_post_ids, 'posts_per_page'=> $post_per_page, 'orderby' => 'post__in', 'paged' => $page));

    with:

    query_posts(array('post__in' => $favorite_post_ids,'post_type' => 'any', 'posts_per_page'=> $post_per_page, 'orderby' => 'post__in', 'paged' => $page));

    [s]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.