Support » Fixing WordPress » HELP PLEASE!

  • 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)
  • esmi

    (@esmi)

    Download a fresh copy of your theme to your computer & extract the theme’s functions.php file from the archive. Then upload this file to the wp-content/themes/bueno folder.

    Thread Starter AmmatuNur

    (@ammatunur)

    It did it- NOTHINGS happening 🙁
    Please help

    Thread Starter AmmatuNur

    (@ammatunur)

    Oh, IT WORKS!
    Thanks God! and thank You 😀

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