Homepage › Community Forums › Epik Theme Support › How can I create a Read More Button? › Reply To: How can I create a Read More Button?
Did you check out the tutorial/code snippet link? You can add the same code from the buttons inside the code snippet above when adding it to your functions file. Does that make sense?
Here is an example – <a href="PLACE_LINK_HERE" class="button medium black">Medium</a>
//* Modify the Genesis content limit read more link
add_filter( 'get_the_content_more_link', 'sp_read_more_link' );
function sp_read_more_link() {
return '... <a class="more-link button medium black" href="' . get_permalink() . '">Continue Reading</a>';
}
Notice I added the class from the button code to the code snippet
I just posted an example, so you may have to make adjustments to it.
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
