• I’m trying to find a way of automatically including elements within the_content, but am having trouble understanding how to do this. I can add stuff before and after the_content, but I actually want to place things at various points in the_content itself.

    Is there a way to create a template of some kind for posts, so that it can automatically include and display values from custom fields within the_content?

Viewing 1 replies (of 1 total)
  • I actually want to place things at various points in the_content itself.

    if you can specify the condition and the place where you want to do this, it might be possible.
    you have to define a way of telling the code at which points you want to include what into the content.

    that it can automatically include and display values from custom fields within the_content

    look into ‘short codes’
    http://codex.wordpress.org/Shortcode_API

Viewing 1 replies (of 1 total)
  • The topic ‘customizing the content of the_content’ is closed to new replies.