Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    I have a similar problem. On My Shop page it doesn’t fit in the box on the right side. It cuts some of it off on ‘add product’ and ‘earnings’ that i know of so far.
    Here is a link to show you what i mean
    http://treebo.co.uk/my-shop/?section=wpmp-add-product

    pm me for any details

    Thank you alexsean. The code replacement in wpfp-page-template.php worked perfectly for me. Been looking all day for a solution 🙂

    Hey guys, just thought i should let you know i’ve fixed the problem. Found this solution which worked perfectly http://wordpress.org/support/topic/custom-post-type-24?replies=10

    Just replaced:

    query_posts(array(‘post__in’ => $favorite_post_ids, ‘posts_per_page’=> $post_per_page, ‘orderby’ => ‘post__in’, ‘paged’ => $page));
    while ( have_posts() ) : the_post();
    echo ”

    I have the same problem but i’m struggling with this.
    My wpfp-page-template.php file contains this from line 10 to 25:

    if ($wpfp_before):
    echo “<p>”.$wpfp_before.”</p>”;
    endif;

    echo ”

      “;
      if ($favorite_post_ids):
      $favorite_post_ids = array_reverse($favorite_post_ids);
      $post_per_page = wpfp_get_option(“post_per_page”);
      $page = intval(get_query_var(‘paged’));
      query_posts(array(‘post__in’ => $favorite_post_ids, ‘posts_per_page’=> $post_per_page, ‘orderby’ => ‘post__in’, ‘paged’ => $page));
      while ( have_posts() ) : the_post();
      echo ”

    • ” . get_the_title() . “ “;
      wpfp_remove_favorite_link(get_the_ID());
      echo “
    • “;
      endwhile;

    Where s2am has posted on line 20 it shows on line 14 for me. Line 20 includes this:

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

    I’ve tried everything that i can think of. And looked everywhere for an answer. I have no coding experience and have picked up pieces here and there. I changed the code to:

    if ($wpfp_before):
    echo “<p>”.$wpfp_before.”</p>”;
    endif;
    ‘post_type’ => ‘ad_listings’
    echo “

      “;

    and the page i want it to show on still displayed nothing. As far as i can understand the post type is ‘ad_listing’ but also want to be able to add blog posts to favourites. Not sure if that’s possible as well or not.
    Any help with this asap would be truly appreciated

Viewing 4 replies - 1 through 4 (of 4 total)