...

Add Continue Reading Link WordPress twenty fourteen theme is not difficult if you follow my step by step tutorial below.

In my past tutorial I have shown that how to show excerpt into home page/blog page instead of full article. The excerpt will show […] at the end of the excerpt by default.

To add Continue Reading/Read More link open the function.php and add the blow code at the end of the file.

//This code for Removing […] from excerpt and add Continue button

function change_excerpt_more()

{

function new_excerpt_more($more)

{

// You can style the link by using class .read-more into style.css

return ‘<span> <a href=”‘ . get_permalink() . ‘”>Continue Reading </a></span>’;

}

add_filter(‘excerpt_more’, ‘new_excerpt_more’);

}

add_action(‘after_setup_theme’, ‘change_excerpt_more’);

Note: You can use any word instead of ‘Continue Reading” in the above code.

Now save and close the function.php file and refresh your browser. This will remove […] and add the Continue Reading with the post link at the end of the excerpt of twenty fourteen theme. Add link style by using the class and enjoy.

Related Posts

How to create clickable phone and sms link?

How to create clickable phone and sms link?

How to create clickable phone and sms link? Nowadays no one can pass a single day without a smartphone. Laptop/Computer Tabs are much more essential for web browsing in modern day. So a web designer or web developer should care about creating clickable phone links and...

read more
Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.