WordPress automatically displays the first 55 words from the post content and add [...] at the end
insert this code into function.php in your theme
function custom_excerpt_length( $length ) {
return 180; //change this value
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
function new_excerpt_more($more) {
global $post;
return '<a class="moretag" href="'. get_permalink($post->ID) . '"> Readmore</a>'; // change your word
}
add_filter('excerpt_more', 'new_excerpt_more');
Sunday, November 22, 2015
Saturday, October 31, 2015
HOW TO MAKE CSS HOVER MENU
![]() |
| css hover menu |
For people who are looking for ways to make menu using css try to see it develop further.
Subscribe to:
Posts (Atom)
