Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #274677

    when I view a category page it is showing the entire posts – is there an Enfold setting to control the layout of the category pages?

    In your demo you have: http://www.kriesi.at/themes/enfold/category/science/
    Which is a very nice layout – how do I replicate this?



    Hi membermaster!

    Thank you for visiting the support forum!

    Right now, there is no option to change the layout of the archive page. The layout will depend on the setting that you select on Enfold > Blog Layout > Blog Style. Add this on functions.php in order to set the archive page to Single author, big preview blog style:

    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)
    	$current_post['content'] =  get_the_excerpt();
    	$current_post['content'] .= '<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span></a></div>';
    return $current_post;



    This seemed like a perfect fix to do exactly what I was after…until I discovered that for some reason this strips all dropcaps characters from posts in 3.0.2. Now all of my entries where dropcaps have been used, are missing the first letter of the sentence! lol. Any ideas how to fix this and still be able to get an automatic excerpt view on category and archive pages?

    Thanks in advance for the help! :)


    The issue actually has nothing to do with that snipet. I removed the above code from my functions.php and created a page instead using the blog posts builder item. As soon as excerpt view is chosen it still strips all dropcaps when the page is viewed. Instead of degrading gracefully and just not displaying the character as a dropcap, the entire character is removed. My paragraphs using dropcaps are just missing the first character in the word that starts the first sentence. Is this a bug?

    • This reply was modified 2 years, 11 months ago by  cryscryb.
    • This reply was modified 2 years, 11 months ago by  cryscryb.

    I managed to get the dropcaps displaying using Advanced Excerpt plugin. A bit of googling turned up that WP strips shortcodes from excerpts. It would be great if these could be made to degrade gracefully (still displaying the first character and simply removing the shortcode elements in excerpts) but I’m not sure if this is possible. At any rate I fixed it using the following plugin:

    • This reply was modified 2 years, 11 months ago by  cryscryb. Reason: I consulted google and found the solution. Might help someone else in future though :)
Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Category page shows full posts’ is closed to new replies.