Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1266332
    lexopa
    Participant

    Hi,

    I know this has been answered before but its not making sense to me. I have a custom post type called “mbl-events”. I have the latest X Theme and X Child theme activated (child active). According to the codex I can overwrite the template used by WP by naming the file single-mbl-events.php and archive-mbl-events.php, IN the root of the x-child theme.

    However, everything else I usually overwrite in X Theme is x-child/framework/views/{stack}/template-to-overwrite.php

    So I tried the latter, but it doesn’t work, however if I have single-mbl-events.php at the root of x-child then its working fine.

    Is that working as intended?

    #1266431
    Rupok
    Member

    Hi there,

    You can place them in Child Theme root folder if it’s your custom post or page template. You need to place them within specific stack folder to override the X theme’s templates only.

    Hope this makes sense.

    Thanks!

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