• Resolved AmmatuNur

    (@ammatunur)


    I added these lines to function.php
    `// Puts link in excerpts more tag
    function new_excerpt_more($more) {
    global $post;
    return ‘<a class=”moretag” href=”‘. get_permalink($post->ID) . ‘”> Read the full article…</a>’;
    }
    add_filter(‘excerpt_more’, ‘new_excerpt_more’);


    But when I removed it, It is giving me error

    <strong>Parse error: syntax error, unexpected ‘<‘ in /home/ra/public_html/mydomain.com/wp-content/themes/bueno/functions.php on line 25</strong>

    Please tell how to resolve it!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HELP PLEASE!’ is closed to new replies.