“Read the full article” link
-
Where is it possible to edit the php code of the “Read full article” link?
-
if you haven’t found any assistence in here:
http://codex.wordpress.org/Customizing_the_Read_Moreyou could start by editing index.php of your theme and looking for the text within the brackets of ‘the_content()’
you could also provide more details (theme?, link?)
Hi,
OPen the index.php, page.php file where you want to display the full article and find this:
the_excerpt()Replace with:
the_content()Thanks,
Shane G.
I was looking to remove the “link jump” when clicking More or Read the full article.
I’ve added the following code to functions.php, but that didn’t work:
http://codex.wordpress.org/Customizing_the_Read_More#Link_Jumps_to_More_or_Top_of_PageI’m using the Techified theme on a local machine
http://www.technologytricks.com/techified-just-another-premium-wordpress-themes/Any help on how to prevent the page from jumping to the more tag?
maybe ther is some information in here:
http://codex.wordpress.org/Template_Tags/the_content#Overriding_Archive.2FSingle_Page_Behaviorwhere is says: ‘if you need to display all of the content: ‘
alchymyth, what I mean is that when I click Read the full article, it loads the single post page, but automatically goes down to the part where I’ve inserted the “More” tag.
What I would like to do is not to have the page jump down when loading the article, but instead stay upi finally got what you are trying to achieve.
i tried the code for functions.php that you linked to, in my local setup, and it worked.die you leave the code from this link
http://codex.wordpress.org/Customizing_the_Read_More#Link_Jumps_to_More_or_Top_of_Page
in the functions.php of your theme?if so, does your browser (in IE for instance at the bottom) show
#more-yyat the end of the lnk url when you hover over the ‘read more’ on the front page (index.php)?I’ve put the code at the end of functions.php, just before this:
<?php } ?>and it still shows #more-yy at the bottom
that looks like you put it into the end of annother function –
try to put it after the } – like so:<?php } -your code here- ?>ahah, thank you so so so much alchymyth! that worked. You’ve been of fantastic help. I truly appreciate your time and help. I was about to give up, but you’ve made my day.
Thank you!
The topic ‘“Read the full article” link’ is closed to new replies.