WordPress.org

Support

Support » Plugins and Hacks » To favorite "Portefolie articles"

To favorite "Portefolie articles"

  • Infinityjane
    Member

    @infinityjane

    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/

Viewing 1 replies (of 1 total)
  • gilbarbara
    Member

    @gilbarbara

    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]

Viewing 1 replies (of 1 total)
  • The topic ‘To favorite "Portefolie articles"’ is closed to new replies.