0
Guys, I have a Function.php that ends like this:
// Clear Helper/s
/* **************************************************************************************************** */
function n_clear() {
echo "<div class='clear'></div>";
}
It works perfectly.
Only when I add these lines:
// LEIA MAIS
add_filter('the_content_more_link', 'filter_more_link');
function filter_more_link( $link ) {
return ' <a class="read-more" href="'. get_permalink( get_the_ID() ) . '" title="Continue lendo '.get_the_title().'">Continue lendo '.get_the_title().'...</a>';
}
It shows the following error: Parse error: syntax error, unexpected '<' on line 1098 >
Does anyone know how to solve?
Is this wordpress? this functions.php file is from some plugin or is it native to wordpress?
– Guilherme Nascimento
Are you sure it’s that file?
– Papa Charlie
What is on line 1098 ? And what file is specified by
parse error
?– Zuul
Maybe there are not escaped quotes in the title or permalink of some record.
– bfavaretto
Which file does the
parse error
are you specifying? this line of code is correct!– Cassiano José