Viewing 30 posts - 1 through 30 (of 31 total)
  • Author
    Posts
  • #381271

    Hi there,

    I would like to change the front page if I click on a blog category link. It is showing all blog posts (whole post) one under the other. How can I customize this view?

    Thanks,
    Orhan

    #381978

    Merhabalar Orhan,

    Please refer to this post – http://kriesi.at/documentation/enfold/change-archive-categorytag-blog-style/

    Best regards,
    Yigit

    #382741

    Selam Yigit,

    I tried these codes. Thank you. But I would like it all to be appear as a summary, not all of it once. Is it possible?

    Cheers,
    Orhan

    #382770

    Hey!

    Please refer to Elliott’s post here – https://kriesi.at/support/topic/category-archive-pages-to-show-excerpt-only/#post-373218

    Regards,
    Yigit

    #382775

    Selam Yigit,

    Thanks. It worked.

    Gecen gun https://kriesi.at/support/topic/what-is-this/ konu ile ilgili poedit konusunda bir onerin olmustu. Bugun theme guncellemesi geldi biliyorsun; guncelledim. Senin mesajindan sonra turkce dosyanın yedegini almistim. Bugun guncelleme ardindan yedekledigim dosyayi yeni dosyanin uzerine kopyaladim. Su anda, Localization dan baktigimda cevrilmis halini duzgun goruyorum ama sitede eski hali (Almanca sanirim) gorunuyor. Ne yapmaliyim?

    #382809

    By the way, now, I noticed that all blog posts seeing as excerpt and I couldn’t see whole post. Can you please check https://insanayatirim.com/blog and single post pages? Thank you.

    PS: Please DISCARD my question about language file. I updated uploaded file from admin and it worked.

    #383614

    Hey!

    Are you referring to single post view or the archive (tag /category) page? The single post view looks fine as well as the category page. It is showing the full content.

    Regards,
    Ismael

    #383620

    Hi!

    I changed it back. When I added that code Yigit sent me, all blog posts in my website appeared as excerpt (all of them; single post or category view). I would like them to appear as excerpt in listing (more than one blog post) but not in single blog post page.

    Thanks,
    Orhan

    #384823

    Hey!

    Please replace the code with this:

    if(is_archive()) { 
    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "excerpt"; 
    } else {
    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "content"; 	
    }

    Cheers!
    Ismael

    #385066

    I added that code to functions.php but it still doesn’t work. Please check it https://www.insanayatirim.com/category/kariyerini-planla-universiteli/

    I am still seeing whole blog post but I would like to see it as excerpt!

    #385738

    Hey!

    If you added that to the functions.php file then you should be getting an error.

    The file your looking for is /enfold/includes/loop-index.php. You need to change line 8.

    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "content";
    

    To the code that Ismael posted.

    Best regards,
    Elliott

    #385757

    Can anybody hear me?

    I already get this code from Yigit before. He suggested me to see your post. I did try to use it and posted a note after I tried. You can see it if you take a look my messages above. And my message was:

    I noticed that all blog posts seeing as excerpt and I couldn’t see whole post. Can you please check https://www.insanayatirim.com/evinizin-konforunda-kariyer-kocunuz-ile-calismaya-ne-dersiniz/ page as example or other blog pages?

    Please hurry up because my website is live and I take a risk to show you this. As you can guess if some visitors come at this time, they will not be able to read it whole blog post!

    Thanks,
    Orhan

    • This reply was modified 9 years, 9 months ago by erkuto.
    #386022

    Hi!

    Those codes are not meant to be placed on functions.php. Please edit includes > loop-index.php. Find this code:

    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "content";
    

    Replace it with:

    if(is_archive()) { 
    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "excerpt"; 
    } else {
    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "content"; 	
    }

    Cheers!
    Ismael

    #386486

    Thank you, it is done!

    But can we add visuals to excerpt?

    #387538

    Hi!

    Try putting them in HTML format:

    <img src="_image_">
    

    Best regards,
    Josue

    #387717

    Hi Josue,

    I’m sorry but how can I put them in HTML format? To the same file? Can you please explain a bit more?

    • This reply was modified 9 years, 9 months ago by erkuto.
    #387971

    Hi,

    Like this – http://i.imgur.com/CqpzKKl.png

    Best regards,
    Josue

    #388063

    I couldn’t find a place like you sent me.

    #388441

    Hi!

    Please edit your page and on the right top side click on “Screen options” and check “Excerpt” then scroll below Advanced Layout Builder – http://i.imgur.com/uYlw5uY.png

    Best regards,
    Yigit

    #393131

    Hi Yigit!

    Thank you, I understood how could I put it there. Do I need to do this for each post manually?

    I would like posts (in listing view) to be appear with its image if visitor click to a category.

    Thank you.

    Orhan

    #394165

    Hi!

    I’m sorry for the delay. If you don’t mind, we would like to see an actual category page. To be clear, you want the featured image to show on the archive pages?

    Cheers!
    Ismael

    #394368

    I would like you to help me to change the appearing of https://www.insanayatirim.com/tag/kariyerini-planla-universiteli/ kind of tag pages to post excerpt and with post’s image.

    #396820

    Hi!

    Open up /enfold/includes/loop-index.php and change line 8 from this.

    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "content";
    

    To this.

    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "excerpt";
    

    The featured images should be displaying automatically. Double check to make sure you have some set to your posts.

    Cheers!
    Elliott

    #397131

    Thank you Elliott!

    Do I need to update it after each theme update?

    Thanks,
    Orhan

    #397204

    Hey Orhan!

    You can have the modified loop-index.php to your child theme, the files needed to be copied would be:

    • archive.php
    • includes/loop-index.php

    Regards,
    Josue

    #397355

    Thank you guys!

    I copied that files and changed the code as well. Please take a look on https://www.insanayatirim.com/category/kariyerini-planla-universiteli/

    Nothing changed. There is still no image.

    Thanks,
    Orhan

    #397625

    Does the change work when you edit the parent the theme file?

    #397639

    I wasn’t changed the parent theme file. But now, I did. Nothing changed.

    #397845

    And now, it is all appearing as excerpt! Even single posts pages…

    What a pointless and endless topic is this?!! I have to change the code back. But you can see screenshot on http://prntscr.com/66egbi

    • This reply was modified 9 years, 8 months ago by erkuto.
    #398842

    Hey!

    OK.. sorry about that.

    1.) You want an excerpt on archive page. Please refer to the solution provided here: https://kriesi.at/support/topic/blog-category-frontpage-view/#post-386022

    2.) Add featured image on archive pages. Use this on functions.php:

    add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); 
    function avia_change_category_blog_layout($layout, $context){
    if($context == 'archive') $layout = 'single-big';
    return $layout;
    }

    If it’s still not working, kindly open another thread for each and every issue. We’ll try to help you there. We’ll close this for now.

    Regards,
    Ismael

Viewing 30 posts - 1 through 30 (of 31 total)
  • The topic ‘Blog category frontpage view’ is closed to new replies.