Add a specific page or post content in another post or page

Following this discussion in the Customizr theme support forum, here’s a simple piece of code that will allow you to add any post or page before your post or page content in the Customizr WordPress theme.

The following snippet will add the content on your front page and before the featured pages.

You can change the condition ( ! tc__f(‘is_home’) ) and the hook to target a new context and a new location in any pages/posts/archives.

 

Additional resources :

16 thoughts on “Add a specific page or post content in another post or page”

Comments are closed.