WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] HELP PLEASE!

[Resolved] HELP PLEASE!

  • 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 ‘[Resolved] HELP PLEASE!’ is closed to new replies.
Skip to toolbar