Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1317128

    Hi,
    I created a custom post type (Overview), as suggested by Yeet, to add some content on the site and I want to use this CTP with the “Page Content” element so I can display it globally on different pages. How can I enable this CTP to be active here (https://share.getcloudapp.com/nOuvN9Lr) when selecting “Page Content” element.?

    Cheers,
    Ion

    #1317133

    I managed to make it work by adding the postcontent.php to “shortcodes” folder and enabling the CPT. Now, I want to know if it’s possible to add this “Page content” element, inside a “Tab Section” element.
    Thank you

    #1317996

    Hi,

    Thanks for contacting us and sorry for the late reply!

    Page Content element is a fullwidth element and cannot be used inside column elements, including Tab Section element. Could you please show us the page where you would like to use in “Page Content” element?
    I could recommend adding shortcodes of that page into a widget area and display it using Widget Area element however that would not be as simple as editing a page.

    If you would like to give that a try, you can refer to this post – https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode and enable debugging mode, edit the page you created for Page Content element and copy the shortcodes of that pages in the field right below ALB and past it inside a Widget area that you created in Appearance > Widgets. Then you can edit your pages and add Widget Area element to your content.

    I hope that helps!

    Best regards,
    Yigit

    #1318000

    Hey Yigit,

    I managed to make it work by modifying the “drag-level” and “drop-level” from postcontent.php to 3.

    Thank you!

    #1318004

    Hi,

    Glad you figured it out and thanks for sharing your solution!

    Let us know if you have any other questions and enjoy the rest of your day! :)

    Best regards,
    Yigit

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Use custom post type in "Page Content" element’ is closed to new replies.