Cambiar texto Leer Más por una imágen en el tema Author de WordPress
-Para cambiar el texto Leer Más para ver una entrada completa, por una imágen de un botón por ejemplo debemos modificar el archivo functions.php de nuestro tema y cambiar esta sección por la siguiente:
// use the read more link if present elseif ( $ismore ) { //the_content( __( 'Leer Deceso Completo', 'author' ) . " <span class='screen-reader-text'>" . get_the_title() . //"</span>" ); echo "<img src='http://localhost/Tanatorio/wp-content/uploads/2015/04/cross1.png' >" ; } // otherwise the excerpt is automatic, so output it else { the_excerpt(); } } } // filter the link on excerpts if( !function_exists('ct_author_excerpt_read_more_link' ) ) { function ct_author_excerpt_read_more_link( $output ) { global $post; //return $output . "<p> //<a class='more-link' href='" . get_permalink() . "'>" . __( 'Leer Deceso Completo', 'author' ) . " <span class='screen-reader-text'>" . get_the_title() .// "</span></a></p>"; return $output . "<a class='more-link' href='" . get_permalink() . "'><img src='http://localhost/Tanatorio/wp-content/uploads/2015/04/leerdecesocompleto.png'></a>"; } }