Adam Taylor
Forum Replies Created
-
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-productpm me for any details
Forum: Plugins
In reply to: [WP Favorite Posts] Custom post typeThank you alexsean. The code replacement in wpfp-page-template.php worked perfectly for me. Been looking all day for a solution 🙂
Forum: Plugins
In reply to: [WP Favorite Posts] Favorites Dont show on favorites page.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 ”- ” . get_the_title() . “ “;
wpfp_remove_favorite_link(get_the_ID());
echo “ - “;
echo “post_title .”‘>” . $p->post_title . “ “;
wpfp_remove_favorite_link($post_id);
echo “
“;
endwhile;with this:
foreach ($favorite_post_ids as $post_id) {
$p = get_post($post_id);
echo ”“;
}Hope this helps someone else too
Forum: Plugins
In reply to: [WP Favorite Posts] Favorites Dont show on favorites page.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 ”
- “;
- ” . get_the_title() . “ “;
wpfp_remove_favorite_link(get_the_ID());
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 ”“;
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 - ” . get_the_title() . “ “;