WordPress.org

Support

Support » Themes and Templates » [Resolved] Problem with functions.php file

[Resolved] Problem with functions.php file

  • I can’t access my site, http://www.rokhiphop.com

    If you try to visit my site, a page that says

    “Parse error: syntax error, unexpected T_STRING in /home/hosting_users/seonghoon52/www/wp-content/themes/hiphop/functions.php on line 524”

    appears.

    Since i can’t access my dashboard either, i logged into my ftp account and downloaded my functions.php file.

    Here’s a link to view my functions.php file: http://pastebin.com/63vwFSjg

    Can someone tell me what’s wrong so I could fix this??

Viewing 1 replies (of 1 total)
  • Michael

    @alchymyth

    Forum Moderator

    remove this:

    function excerpt($num)
    {
    $limit = $num+1;
    $excerpt = explode(???? get_the_excerpt(), $limit);
    array_pop($excerpt);
    $excerpt = implode(????$excerpt).?앪€╈€?
    echo $excerpt;
    }

    this might have been corrupted from ‘copy/paste’ (there should be no ???? and .?앪€╈€? );
    then find the correct code for this function, and put it back into functions.php

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Problem with functions.php file’ is closed to new replies.
Skip to toolbar