Parse error: syntax error, unexpected T_STRING
-
When i try to access my website, an error comes up saying Parse error: syntax error, unexpected T_STRING in /home/dadtech/public_html/dubhappy/wp-content/themes/businesslite/functions.php on line 1
Here’s the code.
<?phpfunction getNav(){ echo str_replace(array("<ul>","</ul>","<li class=\"page_item\">","<li class=\"page_item current_page_item\">","</li>"),"",wp_list_pages('depth=-1&echo=0&title_li='));}if ( function_exists('register_sidebar') ) register_sidebar(array('before_widget' => ", 'after_widget' => ", 'before_title' => '<h2>', 'after_title' => '</h2>', ));?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.