-
AuthorPosts
-
February 19, 2017 at 10:00 pm #749066
I wanted to change that category page & archive show entire post. I searched and found solution:
https://kriesi.at/support/topic/category-page-shows-full-posts/
However this code destroy my Masonry content element on home page, so could you be so kind and provide me code which will apply only for Category & Archive, but not for Masonry?
Thanks.February 23, 2017 at 6:52 pm #751009Any update?
February 23, 2017 at 7:01 pm #751010Hey!
Can you please provide us backend access so we can quickly change it for you?
Please make sure before, there is a child theme in place so we can work on it.Thank you
Regards,
BasilisFebruary 24, 2017 at 11:52 am #751349March 1, 2017 at 8:20 am #753492Hi,
The category pages are displaying the whole post or content.
// http://cheaptrip.sk/category/bali/
What is wrong with the masonry element? Could you please provide a link to the page with the issue?
Best regards,
IsmaelMarch 1, 2017 at 5:02 pm #753801Sorry I made a mistake:
I wanted to change that category page & archive show only excerpt not the full story.
Is it possible?
Thanks.- This reply was modified 7 years, 8 months ago by cheaptrip.
March 2, 2017 at 7:24 am #754099Hey!
Yes, that is possible. Please add this filter in the functions.php file.
function change_blog_archive_style() { global $avia_config; if(!is_single()){ $avia_config['blog_content'] = "excerpt_read_more"; } } add_action('get_header', 'change_blog_archive_style');
Please copy the code directly from this forum, not from your email.
Regards,
IsmaelMarch 5, 2017 at 5:31 pm #755954Thanks Ismael.
Now it shows excerpt but without featured image, could you kindly provide code to show it too?March 6, 2017 at 5:21 am #756135Hey!
We added this filter in the functions.php file:
add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'multi-big'; return $layout; }
// http://cheaptrip.sk/lovina-amed/
Regards,
IsmaelMarch 6, 2017 at 8:59 am #756244Thanks Ismael.
Now it shows pictures in category, but they are not aligned.
Can you do it in the same way how it shows in blog? Pictures are bigger and aligned.
Also would it be possible to do same for tags?March 7, 2017 at 5:03 am #756722Hey!
Please add this css code to align the featured image.
.big-preview { display: block; padding: 0 0 20px 0; }
And add this filter in the functions.php file for the tag page.
add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); function avia_change_tag_blog_layout($layout, $context){ if($context == 'tag') $layout = 'multi-big'; return $layout; }
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.