Unstoppable Domains

Changing a standard Wordpress feature ?

Spaceship Spaceship
Watch

DnEbook

DataGlasses.ComTop Member
Impact
5,747
Hey Gang

I'll explain what i am trying to acheive, i have the blog/site Business Show and because it is a .tv i have some videos on the site, but what i do is to only include them after the 'continue reading' title which is normally situated after the first paragraph, i have done this to keep the video content off the front page in the hope that the written text will be what is crawled by google

So it is only after you click on the 'continue reading' part that the full article can be viewed

The 'continue reading' is part of the kitchen sink and is situated next to the ABC spellcheck as 'insert more tag'

So here is my objective , i wish to change the 'continue reading' notice to something like 'view the videos' but i am not to sure how to go about it? or actually where to find it ??

Is it part of the theme function? or stylesheet. This is a standard wordpress feature i suspect that there may be more to it other than just changing 'continue reading' because it is a command and probably has some relationship elsewhere with somethingelse in the code

But this is a .tv site and i am trying to promote the video aspect

I would be very grateful for any advice on this matter

...regards
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
This may depend on your theme, but most themes have those "lines" in their main index template file.
Log into your wordpress admin backend and edit the theme file: "Main Index Template".
Look for the line:
<?php the_content('Continue Reading ยป'); ?>

Just change what's inside the quotes. In your case:
<?php the_content('View the videos'); ?>
 
1
•••
If you can't find it there, just go through the likely files one at a time and use the find function to find the phrase "continue reading." I doubt the name change on this will affect other parts of the code. If it does, you can always change it back.
 
1
•••
Thanks guys ......1.30 a.m here in australia so i'll have a look tomorrow

repped both of you
 
0
•••
So far after a lot of searching i still cannot find the piece of code

perhaps i should be asking 'where do i find the kitchen sink ' part of the code

Just in the php code areas ??

Main index template was a dead end ...... too easy i guess
 
0
•••
Try searching for just...
Code:
the_content
in your code.

I know I've successfully changed "read more" before in some of my blogs but it's been a couple of years and I don't remember where made the change. If you aren't finding it in your "index.php" file, be sure to check files with names such as "common.php" or "function.php".

Also, see if this helps...
http://blog.successbias.com/2010/10/06/wordpress-how-to-change-read-more-text/
 
Last edited:
1
•••
Try searching for just...
Code:
the_content
in your code.

I know I've successfully changed "read more" before in some of my blogs but it's been a couple of years and I don't remember where made the change. If you aren't finding it in your "index.php" file, be sure to check files with names such as "common.php" or "function.php".

Also, see if this helps...
http://blog.successbias.com/2010/10/06/wordpress-how-to-change-read-more-text/

Thanks friend, may take a off of this because at the moment suffering sinessitis and it's damm hard to concentrate,maybe i have already seen it and didn't realise, i go back when a bit better .......cheers
 
0
•••
1
•••
I would try the Wordpress Codex, should have what you're looking for:

http://codex.wordpress.org/Customizing_the_Read_More

Thanks Jb ....repped

---------- Post added at 04:26 PM ---------- Previous post was at 03:03 PM ----------

I found this reference

Change the_content(); in your index.php to (i.e., the second parameter controls this):

Although the only index i con find is main index template and there is no joy there ??

I think another reference to them functions will solve this problem

---------- Post added at 04:36 PM ---------- Previous post was at 04:26 PM ----------

Mission has been a success .......repeat mission has been a success

However i did change the 'continue reading' when i found it but nothing happened ???

I read down further and found the term again so i changed that one too then is worked ::::

if (!function_exists('theme_get_content')){
function theme_get_content($args = array()) {
$more_tag = theme_get_array_value($args, 'more_tag', __('To Business Videos <span class="meta-nav">โ†’</span>', THEME_NS));
$content = get_the_content($more_tag);
// hack for badly written plugins
ob_start();echo apply_filters('the_content', $content);$content = ob_get_clean();
return $content . wp_link_pages(array(
'before' => '<p><span class="page-navi-outer page-navi-caption"><span class="page-navi-inner">' . __('Pages', THEME_NS) . ': </span></span>',
'after' => '</p>',
'link_before' => '<span class="page-navi-outer"><span class="page-navi-inner">',
'link_after' => '</span></span>',
'echo' => 0
));
}
}

if (!function_exists('theme_get_excerpt')){
function theme_get_excerpt($args = array()) {
global $post;
$more_tag = theme_get_array_value($args, 'more_tag', __('To Business Videos <span class="meta-nav">โ†’</span>', THEME_NS));
$auto = theme_get_array_value($args, 'auto', theme_get_option('theme_metadata_excerpt_auto'));
$all_words = theme_get_array_value($args, 'all_words', theme_get_option('theme_metadata_excerpt_words'));
$min_remainder = theme_get_array_value($args, 'min_remainder', theme_get_option('theme_metadata_excerpt_min_remainder'));
 
0
•••
The issue has long been fixed
 
0
•••
Appraise.net
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back