Rezolvat.
Ma poate ajuta cineva sa imi spuna ce este gresit la un cod? Incerc sa modific un text, un buton in WordPress, cu Read More. Am gasit pe net un cod pe care sa il adaug in functions.php, dar cand il adaug, nu iese ce trebuie.
Acesta este codul:
function gridbox_more_link() {
// Get theme options from database.
$theme_options = gridbox_theme_options();
// Display read more button if there is excerpt.
if ( $theme_options['excerpt_length'] > 0 ) : ?>
<a>" class="more-link"><?php esc_html_e( 'More', 'gridbox' ); ?></a>
<?php
endif;
}
Multumesc.
<a>" class="more-link"><?php esc_html_e( 'More', 'gridbox' ); ?></a>
sterge ce-i cu rosu!
Momentan este/sunt 1 utilizator(i) care navighează în acest subiect. (0 membrii și 1 vizitatori)