• Hi everyone,

    I’m completely new to WordPress and I have a question that may be stupid.
    Basically, I’d like all of my posts to start in the same with, with:

    – The title of the post
    – The name of its author
    – Its featured image for that particular post
    – Its date of publication
    – Some pre-defined text (always the same) mixed with some text specific to that particular post, defined by the author (for example, the pre-defined text would state “Room :” and be followed by a text string defined by the author of the post, such as “bathroom”)

    Moreover, I’d like to be able to modify this for all pages sometime in the future without having to open and edit them all individually.

    How can I achieve that?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • This sounds like something you could easily achieve with a Custom Post Type. You can read more on creating CPT’s at http://codex.wordpress.org/custom_post_type

    Thread Starter Pibee

    (@pibee)

    Thanks for your answer! I must admit this is all a little confusing for me (I have no knowledge of PHP).

    In my case, since absolutely all posts would start in the exact same way, I’m not sure a Custom Post Type would be necessary – I think I could instead modify the template that is used by all posts. Am I right so far or is there a good reason for creating a custom post type instead?

    Also, I’m not sure of what I must do to allow users to define the value of variables from within their post (for example : allow them to state that variable “Room” should be equal to string “Bathroom”), but I stumbled upon “Custom fields” in the meantime – this seems to be the way to go, correct?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Reusable and easily modifiable content’ is closed to new replies.