-
AuthorPosts
-
April 4, 2017 at 6:15 pm #771903
Hello,
I’ as looking at the Category- & Tag-Pages of my blog and noticed, that all blog posts are “open” instead of just the preview (shot text + picture).
This is perfectly fine for the main blog page (single author, small preview pic), but not for categoiesy & tags.
I tried to find a setting / post here in the support forum but couldn’t find any related info….Can you please be so kind and give me a hint?
Thx for your supportApril 7, 2017 at 2:29 pm #773990Hey!
Sorry for the late reply!
It seems like you are currently not using Enfold on your website. Can you please check the link once again?Also, please try adding following code to Functions.php file in Appearance > Editor
add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1); function avia_change_postgrid_excerpt_length($length) { if ( is_category() || is_archive() ) { $length = 1000; } return $length; }
Best regards,
Yigit- This reply was modified 7 years, 7 months ago by Yigit.
April 7, 2017 at 3:02 pm #774017Hello Yigit,
thx for your reply.
I just double-checked and sorry – typo within the domain :)
it should read: http://www.smart-organisations.comIs there any chance to avoid an extra code??
it would have expected, that the layout is similar to the blog-layout….??As a follow-up question..
How to add an (automated) header in the category / tag – page… Would be great to see, which category / tags you are looking at…Thank you very much for your support
best regards
christianApril 8, 2017 at 2:52 pm #774520Hi Christian,
Yu can add breadcrumbs, this way the user will know on which page he or she is.
And this setting could help you with the issue of full length.If that did not help or you need further assistance please give us temporary admin access to your website in the private content box below, so that we can have a closer look.
Best regards,
VictoriaApril 10, 2017 at 12:49 pm #775419Hello,
thx for your reply – unfortunately without success :/
I still see all blog posts expanded, when being on a category / tag page after clicking e.g. within the tag-cloud.Blog posts – standard view:
http://smart-organisations.com/blog/ (posts only show the first couple of lines)Blog posts – view per category / tags
http://smart-organisations.com/category/methoden/ (all posts are fully expanded)So yes, I would really appreciate you helping me out on this issue
And, as a follow-up I would be interested to add an header for the category / tag pages….. Any chances ??Admin-Access are stated below
Again, Thank you very much for your continuous support!April 11, 2017 at 8:55 pm #776302Hi ckoudela,
Since you’ve chosen in Blog Style to make custom blog page, you have to make the same for category.
You have to add excerpts to your posts, then they might show instead of the whole post. Also here is how you can make custom template for category.
Here are a few useful links for our forum:
https://kriesi.at/support/topic/category-archive-page-change-layout-to-show-excerpt/
https://kriesi.at/support/topic/category-page-and-layout-builder/Best regards,
VictoriaApril 13, 2017 at 7:49 pm #777485Hello Victoria,
thank you very much for your support…
I managed to get the “single author, small preview” style for the archive, as well as for the category.However, when navigating via tags, I only see the excerpt, but no blog-images :(
Unfortunately the 2nd link you provided has a lot of private messages – So I am not really sure /or could not figure out / how to insert titles on the archive, category, tag-pages.. like “Archive April 2017” or “Category: Training”.. something like that.thx a lot for your continuous support!
best regards
ChristianApril 17, 2017 at 4:57 pm #778816Hi Christian,
Great progress! :)
For tags – you might want to look into tag.php file, but I see titles on tag page, have not seen the archive pages though.
If you need further assistance please let us know.
Best regards,
VictoriaApril 18, 2017 at 12:45 pm #779239Hello Victoria,
any hint, what to look out for at the tag.php file in order to show the post-pictures?
would be very helpful :)thanks a lot
best regards
christianApril 18, 2017 at 3:57 pm #779408Hi Christian,
Actually, it the archive.php for all those pages.
Did you try this code:add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); function avia_change_tag_blog_layout($layout, $context){ if($context == 'tag') $layout = 'single-small'; return $layout; }
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.