• Micke

    (@michaelcasado)


    Hello,

    On our older page with a different theme, we had a special post template that output a small bit of HTML and CSS along with post data. The purpose is to copy a nice-looking email signature so we really need to control what’s being copied.

    With Kadence I can’t get this to work. I’ve read about using hooks but we really just want to be able to have a post template for this specific custom post type. But whatever I try, this won’t be visible in the posts widget when editing a post, or as default for the specific post type (ACF Pro). How shall this be made? We are using a child theme.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for reaching out to us.

    It seems like the Hooked Elements feature can really help you with this. What is the process you’re doing when adding it in page content and could you provide screenshots of how it looks like on the actual page?

    On the other hand, if you want to create your own template for that specific custom post type, here are the steps you can do:

    • Copy the code from the kadence/template-parts/content/single-entry.php and paste it on kadence-child/template-parts/content/single-entry-CPT_SLUG.php
    • Remember to change the CPT_SLUG to the correct custom post type slug.

    This is where you can insert the code to show that specific HTML.

    Hope this helps and let us know if we can assist you further.

    Best Regards,
    Karla

Viewing 1 replies (of 1 total)
  • The topic ‘Adding a post template’ is closed to new replies.