Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

[SOLVED] Read More Option taking user to the middle of the post


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 30, 2010, 09:01 AM
djrishi
 
4 posts · Aug 2009
Hi – I am using Atahualpa 3.4.4 & facing a problem with read more option…

When I click on the Read More option (continue reading…) option its takes user to
http://www.haircareresources.com/blo...yles/#more-142

However, it should go to
http://www.haircareresources.com/blo...ut-hairstyles/ only.

I am not worried from SEO perspective as canonical url is working fine however the first url takes you to middle of the post rather than to top of the post.

How can I fix this ? Any solution ????
  #2  
Old Jan 30, 2010, 02:06 PM
juggledad's Avatar
juggledad
 
22,379 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
how are you creating your read more? Are you using a plugin?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 31, 2010, 05:27 AM
djrishi
 
4 posts · Aug 2009
Quote:
Originally Posted by juggledad
how are you creating your read more? Are you using a plugin?
I am using the default "Insert More Tag" Option and not using any plugin..

Thanks
  #4  
Old Jan 31, 2010, 06:41 AM
pakacil
 
20 posts · Jan 2010
djrishi & juggledad,

i think, it's about how WP works
it's not taking user to the middle of the post, but taking user/reader to the rest of article, start on the next paragraph after we put read-more tag.

then i tried to do this...
open and edit post-template.php file (located in wp-includes directory)
find this code line (about line 219)
PHP Code:
$output .= apply_filters'the_content_more_link'' <a href="' get_permalink() . "#more-$id\" class=\"more-link\">$more_link_text</a>"$more_link_text ); 
and replace or change it to...
PHP Code:
$output .= apply_filters'the_content_more_link'' <a href="' get_permalink() . "\" class=\"more-link\">$more_link_text</a>"$more_link_text ); 
or i just simply del the #more-$id code

read-more link works like what djrishi wants or just like an ordinary permalink ...
CMIW
____
• remember to back-up the original file before change or edit it
• tried with WP 2.9.1 and Ata 3.4.5.1
  #5  
Old Feb 1, 2010, 10:54 AM
djrishi
 
4 posts · Aug 2009
Quote:
Originally Posted by pakacil
djrishi & juggledad,

i think, it's about how WP works
it's not taking user to the middle of the post, but taking user/reader to the rest of article, start on the next paragraph after we put read-more tag.

then i tried to do this...
open and edit post-template.php file (located in wp-includes directory)
find this code line (about line 219)
PHP Code:
$output .= apply_filters'the_content_more_link'' <a href="' get_permalink() . "#more-$id\" class=\"more-link\">$more_link_text</a>"$more_link_text ); 
and replace or change it to...
PHP Code:
$output .= apply_filters'the_content_more_link'' <a href="' get_permalink() . "\" class=\"more-link\">$more_link_text</a>"$more_link_text ); 
or i just simply del the #more-$id code

read-more link works like what djrishi wants or just like an ordinary permalink ...
CMIW
____
• remember to back-up the original file before change or edit it
• tried with WP 2.9.1 and Ata 3.4.5.1
Thanks buddy... Working fine...

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving Changes is taking long! ulrich Atahualpa 3 Wordpress theme 11 Feb 22, 2010 09:30 AM
Delay in changes taking effect? Jerry Atahualpa 3 Wordpress theme 11 Jan 7, 2010 03:59 PM
[SOLVED] Can't change post titles? = Atahualpa Post Option-&gt;Body Title Single Pages? Muncheys New Versions, & Updating 2 Nov 8, 2009 07:17 AM
Images in Post: Option for "No Border" on selected posts? KatyDigg Atahualpa 3 Wordpress theme 3 Aug 26, 2009 12:47 PM
Atahualpa 3.4 : EXCERPTS new option to read the full post after [...] does not work benoit Excerpts, Read more, Pagination 2 Jul 9, 2009 07:45 PM


All times are GMT -6. The time now is 04:58 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.