Why is there extra content in blog archive list.
Hi,
if you look at your demo :
http://themes.muffingroup.com/be/recipes/category/breakfast/
you can see that there is a whole block of content which is inside a <div class="extra_content"></div
This page should only list all posts from the "breakfast" category and here you can see that there is unwanted extra content (which is the content of the first post of the list)
This seems like a huge bug, can you correct it please ?
if you look at your demo :
http://themes.muffingroup.com/be/recipes/category/breakfast/
you can see that there is a whole block of content which is inside a <div class="extra_content"></div
This page should only list all posts from the "breakfast" category and here you can see that there is unwanted extra content (which is the content of the first post of the list)
This seems like a huge bug, can you correct it please ?
Comments
<div class="extra_content">
<?php
if( category_description() ){
echo '<div class="section the_content category_description">';
echo '<div class="section_wrapper">';
echo '<div class="the_content_wrapper">';
echo category_description();
echo '</div>';
echo '</div>';
echo '</div>';
} else {
mfn_builder_print( mfn_ID(), true );
}
?>
</div>
So i figured out that putting a description to a category removes post content inside the extra_content div and put the category description instead...
But why would you show the first post content ? i don't get it
we forgot to set blog page under Theme options > Blog, Portfolio & Shop > Blog section. We already set this page under this section and extra_content does not display anymore.
Thanks!