Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #172843

    I asked for support before, and it was closed without resolution: https://kriesi.at/support/topic/sidebar-option-for-custom-post-type/

    I’m using a custom content type called download (created by easy digital downloads). I also edited enfold as directed to enable the avia layout editor for my custom content type. It works great, and now I have the editor for my downloads. However the website doesn’t understand how to use this properly.

    I have added a bit of code to every template file in the theme root folder, and every loop file in the includes folder. This bit of code prints out the template name in the source code for me. None of the templates are being used. Instead it’s using something from the config-templatebuilder folder I believe. How can I edit the page layout for this content type if it bypasses all template files?

    Link to page http://thepluginfactory.co/warehouse/gard-pro/

    • This topic was modified 11 years, 1 month ago by Branndon.
    #173380

    Hello Branndon!

    I think you misunderstood what I said. The template file you created *from* the page.php file is where you need to edit. We don’t officially support adding the advanced layout editor to custom post types right now but the file used is template-builder.php for files using the advanced layout editor.

    Regards,
    Devin

    #173822

    I understand about child themes and somewhat about how the structure works. I had copied page.php from the main folder to the child theme folder. Even there, I can do anything I want to the code, and it’s not updating the website. It’s not a cache issue either.

    I understand you don’t officially support the Advanced Layout Editor (ALE) on custom post types yet. Would you support it on the ‘post’ content type?

    I’ve uploaded the 20 .php files from the enfold root folder to my child theme root folder, and added the filename as a class to everyone. I then added a bit of code to easily find in the page source _TPF. For example, page.php would get a class of page_TPF.

    Even on a simple post (which uses the ALE) does not show any template being used. You can see a sample here http://thepluginfactory.co/pre-release-checklist-ensuring-your-wordpress-plugin-is-ready-for-launch/ if you search the source for _TPF you won’t see page, single, template-builder or anything similar. If I can just find the template file the ALE uses, I can fix all the my layout issues myself.

    #173832

    Ok, I found the file, it’s

    config-templatebuilder/avia-shortcodes/section.php

    I’ve got done what I set out to do, thank you.

    • This reply was modified 11 years, 1 month ago by Branndon.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Custom content type using avia layout editor doesn't use a normal template file?’ is closed to new replies.