-
AuthorPosts
-
July 27, 2015 at 5:36 pm #479191
Hi.
I have some blog post with the Advance blog layout and on the Category page those post is just shown with an image, not the chosen image but the last image in the blog post.
Ordinary blog post are fully displayed.
http://www.newyorkinspiration.com/category/where-to-stay/hotel/I want the whole blog post to be displayed on the category page.
What code shall I add?Thanks
CharlotteJuly 28, 2015 at 9:07 am #479511Hey Charlotte!
Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.
Cheers!
RikardJuly 28, 2015 at 9:33 am #479529Thanks..
July 28, 2015 at 6:13 pm #479855Hi!
Please back up your functions.php then follow the instructions in this thread: https://kriesi.at/support/topic/category-page-shows-full-posts/
Regards,
DakeJuly 29, 2015 at 10:01 am #480096Noop…..that did not help.
http://www.newyorkinspiration.com/category/where-to-stay/hotel/I added this code to the functions.php file but I think they are talking about the archive page, not the category page as I am referring to.
add_filter(‘avf_blog_style’,’avia_change_archive_blog_layout’, 10, 2);
function avia_change_archive_blog_layout($layout, $context){
if($context == ‘archive’) $layout = ‘single-big’;
return $layout;
}add_filter( ‘post-format-standard’, ‘avia_category_content_filter’, 15, 1);
function avia_category_content_filter($current_post)
{
if(!is_single())
{
$current_post[‘content’] = get_the_excerpt();
$current_post[‘content’] .= ‘<div class=”read-more-link”>‘.__(‘Read more’,’avia_framework’).'<span class=”more-link-arrow”> →</span></div>’;
}
return $current_post;
}July 29, 2015 at 10:13 am #480105The normal blog post looks ok:
http://www.newyorkinspiration.com/category/where-to-stay/hotel/page/4/
A cowboy in WilliamsburgBut I want the blog post with the Advanced Layout builder to look the same and they don´t as you can see, they just show the last added code which comes from mappress – [mappress mapid=”117”]
Its strange that the feature image is not shown instead it is the last added code in the blog post.July 30, 2015 at 11:49 am #480626Hey!
If you build the content of the post by using the advance layout builder, the content is not going to show up in the archive or category pages. You need to create a summary in the Excerpt box of the post. Unfortunately, it’s not possible to display the ALB content on archive or category pages without major modification on the theme.
Best regards,
IsmaelAugust 4, 2015 at 11:21 am #482617Aha….ok, thanks.
August 5, 2015 at 6:53 am #483097Hi,
Please let us know if you should need any more help on the topic.
Best regards,
RikardAugust 5, 2015 at 9:56 am #483174No, I guess there is nothing I can do about it.
-
AuthorPosts
- The topic ‘Full display of blog post with advance blog layout in category’ is closed to new replies.