Tagged: page content
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
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
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
Hey Yigit,
I managed to make it work by modifying the “drag-level” and “drop-level” from postcontent.php to 3.
Thank you!