I have needed to display custom content (a post of a specific category) in a specific place inside a page.

I know how to create custom hook to target the desired location, but since I'm generating content with a page builder, I don't know how to target a specific position among the generated elements.

Can you help me to reach this result? Thank you very much

  • If your page builder allows you to use WordPress "shortcodes" you could use one to insert the content that way. You could either write the shortcode content yourself or use a plugin like Display Posts: wordpress.org/plugins/display-posts-shortcode (Installing that plugin and using its shortcode would at minimum show whether you can use shortcodes in your page builder.) – Michelle Jun 24 at 15:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.