Skip to:
Content
Pages
Categories
Search
Top
Bottom

Templates problems


  • FrancescoR
    Participant

    @francescoitb

    Hi, I have some problems to create my custom layout.

    In practice, the problem is that my theme has the feature to create templates through pages.
    Now, when I create a new page and use [bbp-forum-index] shortcode, I see the page themplate like I want, but when I click on a topic, the layout change.

    This, probably, because URL changes, in fact topics always follow root forum setted on forum settings. And, if i leave the check (that one that set root default root for all contents) I got a 404.
    Instead, if I set forum root like page permalink the layout is the standard one.

    Maybe is my theme, but the code is really hard to understand, so I just need that all contents follow the page url and template.

    my page code:

    <?php get_header(); ?>
    <?php 
    
    $layout_obj = new C5_theme_layout();
    
    $layout_obj->build_layout('page');
    
     ?>
    			
    
    <?php get_footer(); ?>

    I hope that someone can help me, thanks and sorry for my english

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar