• Please help! I can’t see the actual WP version number of a site I’m working on due to the fact I keep getting this message
    ‘Parse error: syntax error, unexpected ‘<‘ in /home/fivephus/public_html/wp-content/themes/evolve/functions.php on line 70’

    I also can’t see the site at all!! This happened when I tried to remove the magnifying glass search from the nav bar by entering some code at the bottom of my functions.php editor window:

    ? <?php remove_action( ‘wp_head’, ‘feed_links_extra’, 3 ); // Display the links to the extra feeds such as category feeds remove_action( ‘wp_head’, ‘feed_links’, 2 ); // Display the links to the general feeds: Post and Comment Feed remove_action( ‘wp_head’, ‘rsd_link’ ); // Display the link to the Really Simple Discovery service endpoint, EditURI link remove_action( ‘wp_head’, ‘wlwmanifest_link’ ); // Display the link to the Windows Live Writer manifest file. remove_action( ‘wp_head’, ‘index_rel_link’ ); // index link remove_action( ‘wp_head’, ‘parent_post_rel_link’, 10, 0 ); // prev link remove_action( ‘wp_head’, ‘start_post_rel_link’, 10, 0 ); // start link remove_action( ‘wp_head’, ‘adjacent_posts_rel_link’, 10, 0 ); // Display relational links for the posts adjacent to the current post. remove_action( ‘wp_head’, ‘wp_generator’ ); // Display the XHTML generator that is generated on the wp_head hook, WP version ?>
    (from https://www.nerdgrind.com
    ? mginop
    Member
    Posted 5 years ago #)

    I then deleted this code but that didn’t fix the problem.

    Then I went to the back end of another Evolve site I have that is working and I copied the code from ‘Theme functions.php’ and replaced everything that was in ‘functions.php’ with the material I copied from ‘Theme functions.php’

    I’m still getting the parse error message. I hope you can help.

    Thanks in advance

    Alex

Viewing 1 replies (of 1 total)
  • Hi,

    By replacing the correct functions.php file from the same theme version, you should not have any problem.

    Since you are still facing issues, this means either there is another mistake somewhere or you copied the wrong file.

    I suggest you reinstall the theme or engage a developer so that he can access your site to help you.

    Due to the fact that this is an open forum, we cannot request for any login access to help you troubleshoot.

    I am afraid that’s all we can help.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Parse error-please help’ is closed to new replies.