Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1090617
    jqi
    Participant

    Hi,

    I’m building a multi lingual site, i’ve setup different categories for the type of languages i have on my site.

    Im trying to separate the posts by different categories, i know about the appearance->menu setting categories feature, but that doesn’t really solve my problem.

    I need to hardcode the category into a blog listing template.

    Would you please advise:

    • Which template file is used for X theme -> icon, when assign a page as posts page via settings->reading option?
    • how do i add a custom template to the page attribute->template dropdown list?
    • Thank you

    #1090650
    Christian
    Moderator

    Hey there,

    1. That is not a page template you can set and is the same as setting Front page displays to Your latest posts. The file you will need to override is _index.php located in wp-content\themes\x\framework\views\global.

    2. For creating page templates, please see https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/

    You might want to learn the best customization practices here https://community.theme.co/kb/customization-best-practices/. Please take note though that issues arising from custom development falls outside the scope of our support.

    Thanks.

    #1091363
    jqi
    Participant

    Hi,

    Thank you for the reply, After reading this i’ve moved against the customer template solution i was thinking and used a workaround with the pulgins i had. it worked as well!

    #1091364
    Rad
    Moderator

    You’re so much welcome and glad it worked. Thanks!

  • <script> jQuery(function($){ $("#no-reply-1090617 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>