Jump to content
Sign in to follow this  
johnlatham

Editing the Post Format

Recommended Posts

johnlatham

Could anyone advise me the best way to format post entries? I would like to do the following things. - Make the post title not be a link - Remove the word 'ON' before the post date - Remove the 'Continue Reading' Link Any help would be great! Thanks, John

Share this post


Link to post
Share on other sites
bryan-hadaway

Can I get a link preferably or at least know what theme you're using. I can help with all three, but 1 and 3 might contradict each other. Without these is there another way you have planned for readers to get to the post content? Thanks, Bryan

Share this post


Link to post
Share on other sites
johnlatham

Yep, its www.bandmdavies.co.uk News Page. I have managed to remove the Continue reading link.

Share this post


Link to post
Share on other sites
Kate

Hey John - To remove the link, you would need to edit template.postloop.php. I would recommend copying that into your base theme first, and modifying it from there. To remove the word "On", you could also modify the file listed above. Or, with CSS:

.metabar .sword{display:none;}

Share this post


Link to post
Share on other sites
johnlatham

Hey thanks, Im using the platform template so would it be possible for you to tell me the exact piece of code I need to remove from the postloop.php file to make the post titles not be links? Thanks.

Share this post


Link to post
Share on other sites
johnlatham

Thanks Bryan, just tried this and still doesn't work. Is it possible for me to email you a text file and you could amend it so I can copy and past it all in? That would be extremely helpful!

Share this post


Link to post
Share on other sites
cmunns

Just to be clear here, you may have copied template.postloop.php into the Base child theme, but I don't think you actually have the Base child theme activated and thus the changes aren't "changing"

Share this post


Link to post
Share on other sites
johnlatham

I haven't copied anything in to anywhere at the moment. Is that something I need to do?

Share this post


Link to post
Share on other sites
kastelic

If you want to make changes to the core files its a good idea to do that. It will prevent overwriting the changes when updates happen. So, download the base child theme from your Pagelines account and activate it as you would any other theme. Copy that file into your base theme's directory. Then make your changes.

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  

×