2

I want to have some cotent shared between various posts.

Why?

I am writing a series of posts on backbone js. The thing is every post has some common content ie from where you can download the source code etc. Now everytime I want to make a new post, I just copy paste that same content. Now one problem is: modifying the content. Today I want to modify the content in all the post. Now I have to manually edit the content in each post.

It will be great if I can use a shared copy something like partial in ruby on rails and just edit that shared copy and all the post having that shared copy get modified.

Any suggestions, plugins etc.

2
  • take a look at wordpress.org/extend/plugins/shortcodes-ui
    – Bainternet
    Dec 31, 2012 at 20:22
  • Have you tried Post Snippets plugin? You create a snippet, save it as a shortcode, paste that shortcode where you need it, and any future updates you need applied to that content can be handled with ease by simply updating the snippet in question. Jan 23, 2017 at 17:03

1 Answer 1

1

Register a custom taxonomy, filter the_content, and add the term description.

1
  • Or just add a specific tag to those posts, then filter the_content and add the term description...
    – webaware
    Dec 31, 2012 at 22:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.