Hi!
I am currently using the Icon stack and on the main blog posts page there is a “read more” link below the post excerpt. However, I would like to change it to a button instead. Here is the code. It worked for my other website, but I’m trying to figure out how to adjust it so that I will also work here.
- Also, there aren’t any arrows on the single posts page that will enable you to view previous or go to next post how do I add some? Additionally, there is no pagination/ ajax pagination on the main blog page. Does it automatically appear after so many posts or how do I add it?
Goes at the footer of functions.php file
/* Modify the read more link on the_excerpt() */
function et_excerpt_length($length) {
return 100;
}
add_filter(‘excerpt_length’, ‘et_excerpt_length’);
/* Add a link to the end of our excerpt contained in a div for styling purposes and to break to a new line on the page.*/
function et_excerpt_more($more) {
global $post;
return ‘
}
add_filter(‘excerpt_more’, ‘et_excerpt_more’);
Goes in the footer of style.css file
.view-full-post-btn{
display:inline-block;
/border-radius/
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
padding:8px 16px;
margin-top:10px;
color:#000000;
border:1px solid #d8dcdc;
font-family:Georgia,serif;
font-style:italic;
font-size:16px;
}
.view-full-post-btn:hover{
background:#FF3399;
/transition/
-webkit-transition:all .3s ease;
-moz-transition:all .3s ease;
-o-transition:all .3s ease;
transition:all .3s ease;
border:1px solid #000000;
color:#ffffff;
}




