Shape 5

Wordpress Club Themes => Lime Light - Club => : kirstykiwi June 22, 2015, 11:14:34 PM



: Readmore
: kirstykiwi June 22, 2015, 11:14:34 PM
I have created a blog page with a list of blogs. There is an automatic 'read more' in the template, and the post is not truncated.  I cannot find a setting for this.  Am I being blind?  I have had to add a manual readmore - so now there are 2!

See here http://www.onlinelasertraining.co.uk/news-blog/


: Re: Readmore
: kirstykiwi July 08, 2015, 08:59:46 PM
Can you tell me how to set the blog readmore word number as a general setting?  If this can't be set - how do I remove it so I can just use the manual text editor readmore?


: Re: Readmore
: Tristan Rineer July 14, 2015, 03:24:58 PM
Sorry about the delayed response; I have no idea why, but I didn't get the e-mail notification for this post that I usually do.

What specifically are you trying to do?  The posts should automatically be split at the end of the excerpt or on a <!--more--> tag within the post content. 


: Re: Readmore
: kirstykiwi July 14, 2015, 06:29:41 PM
If you take a look at the link: http://www.onlinelasertraining.co.uk/news-blog/

What I want to have a set amount of text, then a blue box saying 'read more'. 

What is happening, is that when I add the tag <!--more-->, it gives me a red text 'continue reading', AND a blue box saying 'read more' - that seems to come in as default and the end of the post and will appear regardless if I add <!--more--> or not.

How can I make the <!--more--> give me a blue box, and lose the default one?

Thanks


: Re: Readmore
: Tristan Rineer July 15, 2015, 11:45:27 AM
There is currently no way to remove the "Continue Reading" text without editing code.  Depending on the version of the framework you are running, that text can be found in either content.php in the theme folder, or loop.php in the vertex subfolder of the theme.

The code you are looking for is:
:
get_the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>') )
and you'll want to change it to just
:
get_the_content()
Just be careful to not remove too many of the closing parenthesis, or it will break things.


: Re: Readmore
: kirstykiwi July 15, 2015, 04:13:04 PM
OK, changed it in the content.php, but all that is different is that the red text says '(more...)' instead of 'continue reading'.

There is still a blue 'read more' box there at the end of the post.  Still double cooking the egg, with asking them to read more twice.


: Re: Readmore
: Tristan Rineer July 16, 2015, 06:48:09 AM
Ok, try the following code instead then:
:
get_the_content(false)
If that doesn't work, this should at least be less obvious:
:
get_the_content('...')