Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1597513
Category list style
Closed

Comments

  • Asiaction started the conversation

    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


  •  7,092
    Oliver replied

    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

  • Asiaction replied

    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'),
    );



  •  7,092
    Oliver replied

    Welcome!

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver