Add Text After Title Or Before Content In Any Theme

I’ve already shown you how to add text after your titles in Genesis, but how about in other themes?

In this post, i’ll provide 3 code snippets which work in any theme. Although these solutions work in Genesis, they are the suggested methods for non Genesis themes.

The code snippets enable you to add text immediately after any title or immediately before your content.

Rather than use an action hook like we do in Genesis, we’ll be using 2 WordPress filters which are:

  1. the_title
  2. the_content

3. For the 3rd solution we’ll add a new widget area before the entry content on single posts.

Text After Title – the_title Filter

Related Posts


Comments

7 responses to “Add Text After Title Or Before Content In Any Theme”

  1. Chris Avatar

    I mean no matter what kind of theme?

    1. Brad Dalton Avatar
      Brad Dalton

      Yes, already written about how to add a widget or content after single posts that works in any theme.

      1. Chris Avatar

        Thanks, but I haven’t found this post – neither here nor at Google?

          1. Chris Avatar

            Great, thank you!!

  2. Chris Avatar

    Very useful, thanks! Do you have a tutorial how to add always the same text AFTER the CONTENT?

    1. Brad Dalton Avatar
      Brad Dalton

      Which theme?

Leave a Reply

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.