Home › Forums › Lite Version › Thumbnail not showing on custom posts
- This topic has 4 replies, 2 voices, and was last updated 5 years, 11 months ago by
Masonry Guy.
- AuthorPosts
- May 7, 2015 at 1:53 am #5246
Mike Snyder
GuestI am using a plugin called Ultimate Recipes, and im trying to setup the grid layout using Masonary layout. The probnlem is it displays regualry posts fine but for some reason the Recipe styled posts it dont display the thumbnails. As far as i am aware the thumbnails are the same as in posts.
Any help would be greatly appreciated this is the second plugin that has failed so i will not purchase until its working fully.
ThanksMay 7, 2015 at 4:49 pm #5266Masonry Guy
KeymasterHi Mike,
Can you make sure the image used in Ultimate Recipes is set as featured image ? Or, you can send me your wp-admin details at info (AATT) masonrylayout (d00t) com ? I will check it and let you know.
Thanks
May 8, 2015 at 3:23 am #5277Mike Snyder
Guestyes there are set as featured images. its displays posts fine its my custom stuff that it doesnt
May 8, 2015 at 3:38 am #5278Mike Snyder
GuestI fixed this. its a problem with compatiablityu with Ultimate Recipes. I removed this line from thumbnail.php in Ultimate recipes
[code]
if( $thumb == ‘never’ || ( $thumb == ‘archive’ && is_single() ) || ( $thumb == ‘recipe’ && !is_single() ) ) {
$html = ”; // Hide theme thumbnail
}
[/code]
now it works but im unsure what the above code was wrong and how to correct it any pointers?May 8, 2015 at 5:55 pm #5282Masonry Guy
KeymasterHi Mike,
There is a if condition which hides the featured image in certain pages.
I can’t say anything here. May be those code have some importance. So i suggest you to talk with Ultimate Receipts developer for further investigation.
Thanks
- AuthorPosts
- The forum ‘Lite Version’ is closed to new topics and replies.