-
AuthorPosts
-
January 17, 2015 at 5:46 pm #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,
OrhanJanuary 19, 2015 at 6:19 pm #381978Merhabalar Orhan,
Please refer to this post – http://kriesi.at/documentation/enfold/change-archive-categorytag-blog-style/
Best regards,
YigitJanuary 20, 2015 at 10:13 pm #382741Selam 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,
OrhanJanuary 20, 2015 at 11:02 pm #382770Hey!
Please refer to Elliott’s post here – https://kriesi.at/support/topic/category-archive-pages-to-show-excerpt-only/#post-373218
Regards,
YigitJanuary 20, 2015 at 11:21 pm #382775Selam 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?
January 21, 2015 at 1:27 am #382809By 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.
January 22, 2015 at 12:06 pm #383614Hey!
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,
IsmaelJanuary 22, 2015 at 12:10 pm #383620Hi!
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,
OrhanJanuary 24, 2015 at 10:57 am #384823Hey!
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!
IsmaelJanuary 25, 2015 at 9:58 am #385066I 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!
January 26, 2015 at 7:15 pm #385738Hey!
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,
ElliottJanuary 26, 2015 at 7:27 pm #385757Can 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, 10 months ago by erkuto.
January 27, 2015 at 8:14 am #386022Hi!
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!
IsmaelJanuary 27, 2015 at 6:29 pm #386486Thank you, it is done!
But can we add visuals to excerpt?
January 29, 2015 at 6:45 am #387538Hi!
Try putting them in HTML format:
<img src="_image_">
Best regards,
JosueJanuary 29, 2015 at 3:16 pm #387717Hi 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, 10 months ago by erkuto.
January 29, 2015 at 9:39 pm #387971January 30, 2015 at 12:46 am #388063I couldn’t find a place like you sent me.
January 30, 2015 at 7:11 pm #388441Hi!
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,
YigitFebruary 9, 2015 at 4:44 pm #393131Hi 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
February 11, 2015 at 9:48 am #394165Hi!
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!
IsmaelFebruary 11, 2015 at 3:10 pm #394368I 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.
February 16, 2015 at 5:08 pm #396820Hi!
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!
ElliottFebruary 16, 2015 at 10:24 pm #397131Thank you Elliott!
Do I need to update it after each theme update?
Thanks,
OrhanFebruary 17, 2015 at 2:57 am #397204Hey 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,
JosueFebruary 17, 2015 at 11:06 am #397355Thank 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,
OrhanFebruary 17, 2015 at 5:22 pm #397625Does the change work when you edit the parent the theme file?
February 17, 2015 at 5:28 pm #397639I wasn’t changed the parent theme file. But now, I did. Nothing changed.
February 17, 2015 at 10:14 pm #397845And 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, 9 months ago by erkuto.
February 19, 2015 at 1:05 pm #398842Hey!
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 -
AuthorPosts
- The topic ‘Blog category frontpage view’ is closed to new replies.