Jump to content


Photo
- - - - -

Editing the Post Format


This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1 johnlatham

johnlatham

    Super Member

  • Members
  • PipPipPipPip
  • 117 posts

Posted 02 February 2011 - 11:50 PM

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

#2 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 03 February 2011 - 03:24 AM

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

#3 johnlatham

johnlatham

    Super Member

  • Members
  • PipPipPipPip
  • 117 posts

Posted 03 February 2011 - 02:30 PM

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

#4 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 03 February 2011 - 02:49 PM

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:

Please Login or Register to see this Hidden Content



#5 johnlatham

johnlatham

    Super Member

  • Members
  • PipPipPipPip
  • 117 posts

Posted 03 February 2011 - 11:58 PM

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.

#6 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 04 February 2011 - 07:05 AM

Okay, so;

Appearance > Editor > template.postloop.php

`
"> pagelines_register_hook( 'pagelines_loop_posttitle_start', 'theloop' ); //hook
the_title();
?>

`
Change to:

`
pagelines_register_hook( 'pagelines_loop_posttitle_start', 'theloop' ); //hook
the_title();
?>
`
Thanks, Bryan

#7 johnlatham

johnlatham

    Super Member

  • Members
  • PipPipPipPip
  • 117 posts

Posted 04 February 2011 - 06:40 PM

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!

#8 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 04 February 2011 - 08:22 PM

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"

#9 johnlatham

johnlatham

    Super Member

  • Members
  • PipPipPipPip
  • 117 posts

Posted 04 February 2011 - 08:26 PM

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

#10 kastelic

kastelic

    Advocate

  • Members

  • 3081 posts

Posted 04 February 2011 - 08:55 PM

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.