Jump to content
Sign in to follow this  
stipto

wich php file is for the single post page?

Recommended Posts

stipto

I want to add some stuff to the single post page only, hence my question. And how to go about doing this in the base theme? Do I have to copy the php file to my base theme folder? Thanks in advance!

Share this post


Link to post
Share on other sites
kastelic

Hi Rui, template.postloop.php conatins all the code for the single post content, page content, and posts pages. Copy this file to your base theme directory to edit it. Or what may work better depending on what you want to add is using hooks and custom functions of which you can find documentation here: http://www.pagelines.com/docs/base-child-theme

Share this post


Link to post
Share on other sites
stipto

Thanks. Hooks are great too, gonna see what works best in this case.

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  

×