• To get rid of the date in my static pages, per a suggestion here
    https://www.ads-software.com/support/topic/273815?replies=15#post-1330111
    I removed the line:
    “<span class=”date”><?php the_modified_time(__(‘F jS, Y’, ‘inove’)); ?></span>”
    in the page.php file of my iNove theme. It DID make the dates for the static pages go away.

    Unfortunately, now when I try to go to the page section of /wp-admin for the site, all I see is:

    “Parse error: syntax error, unexpected ‘<‘ in /home/content/33/4675533/html/test/wp-admin/edit-pages.php on line 349”

    I can’t see anything about the pages. I did not edit any file called edit-pages.php, just the page.php file in the theme.
    Any clues as to what I need to do to get the problem fixed?

    Gosh, what should be a simple change (removing dates from static pages) is getting ridiculously time consuming.

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • in /home/content/33/4675533/html/test/wp-admin/edit-pages.php on line 349″

    Thread Starter wendyww

    (@wendyww)

    Sorry, Phuongly.net, but your replying back by just repeating one line of the error msg that I posted in my msg is not helpful to me. Perhaps you could take the time to give a little bit of information about what you suggest I do with this line?

    Sounds like you’ve introduced whitespace at the start or end of a file where it shouldn’t be…

    Open any files you may have modified recently, and ensure the opening (the very first) and the closing (very last) PHP tag (they look like this <?php and this ?>) do not have any white-space before or after them respectively…

    Is that the only thing you did? In the thread you reference, you mention deleting `<?php if ($comments || comments_open()) : ?>
    <span class=”addcomment”><?php _e(‘Leave a comment’, ‘inove’); ?></span>
    <span class=”comments”><?php _e(‘Go to comments’, ‘inove’); ?></span>`

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Syntax error in edit-pages.php, cannot access pages in /wp-admin’ is closed to new replies.