Jump to content
Sign in to follow this  
peterpetersmythecom

Hook for Title for Posts/Blog Page

Recommended Posts

peterpetersmythecom

I want the posts/blog page to have its own title (with a list of posts below it). This is the hook that I put in place, but the title shows up on individual posts and pages, too. Is there a way to do a title on the blog/posts page and not have it appear on individual posts or pages? My site is petersmythe.com. I have the loop on the left (which I'm trying to title) and then sidebars on the right. add_action('pagelines_before_theloop', 'looptitle'); function looptitle () { ?> <p>Essays</p> <?php }

Share this post


Link to post
Share on other sites
bryan-hadaway

I'll get a developer to address this. Thanks, Bryan

Share this post


Link to post
Share on other sites
peterpetersmythecom

Bryan, Thanks, but I found a plugin that does the job that I was looking for. You might still look into the issue of having the same code for the blog/pages as you do individual posts.

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  

×