• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

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

Register for full access

Related Posts

  • Add Text To End Of Titles In Any WordPress Theme

Reader Interactions

Comments

  1. Chris says

    June 4, 2014 at 4:34 pm

    I mean no matter what kind of theme?

    Log in to Reply
    • Brad Dalton says

      June 4, 2014 at 4:49 pm

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

      Log in to Reply
      • Chris says

        June 4, 2014 at 5:13 pm

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

        Log in to Reply
        • Brad Dalton says

          June 4, 2014 at 6:48 pm

          Try this http://wpsites.net/web-design/add-text-content-after-single-posts-in-any-theme/

          Or this:

          Log in to Reply
          • Chris says

            June 4, 2014 at 7:01 pm

            Great, thank you!!

  2. Chris says

    June 3, 2014 at 7:43 pm

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

    Log in to Reply
    • Brad Dalton says

      June 3, 2014 at 7:44 pm

      Which theme?

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.