Jump to content


Photo
- - - - -

Read More on other pages than post page


  • Please log in to reply
7 replies to this topic

#1 aronfredriksson

aronfredriksson

    Member

  • Members
  • PipPip
  • 16 posts

Posted 10 March 2011 - 11:31 AM

Hi, I am using the "Query Posts"-plugin to build a site that displays different category posts on different pages. I would like all of the posts, regardless of which page they are published on, to be shown as excerpts with a read more button. It works on the main posts page but on the other pages the read more button does not show up... How to make it show up in excerpts others than the posts page? I have heard that this script will do magic but I don't know where in the loop to put it? <?php global $more; $more = 0; ?> //The code must be inserted ahead of the call to the content Please.

#2 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 10 March 2011 - 01:29 PM

Hi Aron, What theme are you using, please?

#3 aronfredriksson

aronfredriksson

    Member

  • Members
  • PipPip
  • 16 posts

Posted 10 March 2011 - 04:10 PM

I am using the PlatformPro. Thanks for help

#4 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 10 March 2011 - 09:09 PM

Just search for the_content() in template.postloop.php

#5 aronfredriksson

aronfredriksson

    Member

  • Members
  • PipPip
  • 16 posts

Posted 11 March 2011 - 09:13 AM

<?php global $more; $more = 0; the_content(__('<p>Read more »</p>','pagelines'));?> I put in like this but it just doesn't want to work :(

#6 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 11 March 2011 - 05:34 PM

Can you post a link to your site?

#7 hughhempel

hughhempel

    Member

  • Members
  • PipPip
  • 15 posts

Posted 25 April 2011 - 07:38 PM

I am having the exact same problem... It sure seems to be a plugin conflict... Spent several hours on it without success...

#8 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 27 April 2011 - 02:12 AM

Have you already deactivated other plugins you have?