Jump to content
Sign in to follow this  
tliacono

Inserting code above and below first post

Recommended Posts

tliacono    0
tliacono

First, I'd like to thank you folks for a wonderful product. I've found your theme and support to be excellent thus far and would recommend this without hesitation to others. As for my latest mod, I'd like to insert html code above and below the first post on the main page and to have that same code appear when a single post is viewed. Could you please tell me what file to modify and where to insert the code? The blog is at http://timiacono.com/

Share this post


Link to post
Share on other sites
jnoh    0
jnoh

You'll want to edit the _posts.php file. If you explain in more detail what you'd like to do I can give you more guidance. We'll have to do some interesting coding work as we'll be inserting code into the Wordpress Loop

Share this post


Link to post
Share on other sites
tliacono    0
tliacono

Here are some before and after screenshots of what I'd like to do: TMTGM_Before.jpgTMTGM_After.jpg The red arrows indicate the two items I want to add, but they should only appear once per page - on the main page as well as on the individual post page.

Share this post


Link to post
Share on other sites
tliacono    0
tliacono

I figured out how to insert the code above, but not below.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×