Comments Asiaction started the conversationJune 4, 2018 at 6:48amOn the main blog page, i use this code to display the list of posts:[vc_row][vc_column][gem_news post_types="post" style="3x" categories="hotel-restaurant,indoor,office,outdoor" post_per_page="15" post_pagination="scroll" hide_author="1" hide_comments="1" hide_likes="1"][/vc_column][/vc_row]But when I click on a Post Category, for instance https://www.asiactionfurniture.com/category/indoor/ , the layout is the default Blog List layout. How to use always the same layout with the same options ?Thanks 7,092Oliver repliedJune 4, 2018 at 8:02amHi, You need to edit template: /wp-content/themes/thegem/index.php Example of changing default style you can see in the template: /wp-content/themes/thegem/search.php Before the editing index.php file to the child theme for the safety updates.Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver1 LikeAsiaction repliedJune 4, 2018 at 8:48amThank you it worked. I copied the content of search.php to index.php i the child theme (except the first lines).And I replaced "search" by "blog in :$thegem_page_data = array( 'title' => thegem_theme_options_get_page_settings('search'), 'effects' => thegem_theme_options_get_page_settings('search'), 'slideshow' => thegem_theme_options_get_page_settings('search'), 'sidebar' => thegem_theme_options_get_page_settings('search'), ); 7,092Oliver repliedJune 4, 2018 at 9:08amWelcome!Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver Sign in to reply ...
On the main blog page, i use this code to display the list of posts:
[vc_row][vc_column][gem_news post_types="post" style="3x" categories="hotel-restaurant,indoor,office,outdoor" post_per_page="15" post_pagination="scroll" hide_author="1" hide_comments="1" hide_likes="1"][/vc_column][/vc_row]
But when I click on a Post Category, for instance https://www.asiactionfurniture.com/category/indoor/ , the layout is the default Blog List layout.
How to use always the same layout with the same options ?
Thanks
Hi,
You need to edit template:
/wp-content/themes/thegem/index.php
Example of changing default style you can see in the template:
/wp-content/themes/thegem/search.php
Before the editing index.php file to the child theme for the safety updates.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Thank you it worked.
I copied the content of search.php to index.php i the child theme (except the first lines).
And I replaced "search" by "blog in :
$thegem_page_data = array(
'title' => thegem_theme_options_get_page_settings('search'),
'effects' => thegem_theme_options_get_page_settings('search'),
'slideshow' => thegem_theme_options_get_page_settings('search'),
'sidebar' => thegem_theme_options_get_page_settings('search'),
);
Welcome!
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver