The Read More Button in WordPress

All of my default WordPress installs lately seem to configure the blog entries and the Read More button such that when the button is clicked the blog entry is loaded and the page “jumps” to the spot in the entry where the “more” button was located (a named anchor).

To change this default behaviour you need to add some code to your functions.php page. Here’s what the code you need to insert looks like:

You can then style as you wish, regardless of the function modification above. Look for the class “more-link” in your template stylesheet.

The above tip, and more on customizing the Read More button in WordPress, check out this WordPress Codex link: http://codex.wordpress.org/Customizing_the_Read_More

Tags:

Leave a Reply

Other tags used in my blog:

 (1)  (6)  (1)  (16)  (1)  (1)  (17)  (1)  (17)  (1)  (1)  (7)  (1)  (4)  (16)  (5)  (2)  (29)  (9)  (1)  (12)  (4)  (1)  (4)  (5)  (9)  (1)  (6)  (1)  (4)  (1)  (1)  (1)  (3)  (1)  (3)  (4)  (7)  (3)  (3)  (4)  (1)  (1)  (2)  (1)  (7)  (11)  (13)  (2)  (6)  (1)  (3)  (16)  (2)  (3)  (1)  (5)  (1)  (29)  (4)  (4)  (9)