WordPress.org

Forums

Point
Messed up my main index .php (13 posts)

  1. lambrey
    Member
    Posted 1 year ago #

    Help!!! I was trying to add a view counter to show up on my main index, and now my whole main page is f'ed. http://www.jetlagandjuiceboxes.com Does anyone have the original index.php code so I can fix it??

    Thank you!

  2. johnfotios
    Member
    Posted 1 year ago #

    What theme was it?

    I assume you've opened an element but not closed it :)

  3. lambrey
    Member
    Posted 1 year ago #

    It's Point theme, not sure what that means, I'm pretty new to all of this... Any help is SOOO appreciated.

  4. johnfotios
    Member
    Posted 1 year ago #

    Can you download Point theme again and just replace the index.php file with the original (via FTP)?

    Were you editing the code of index.php?

    Can you paste the index.php here so we can take a look?

  5. lambrey
    Member
    Posted 1 year ago #

    It isn't letting me view the Editor page now b/c this hotel's internet thinks it's inappropriate content now. UGH. I un activated and reactivated the them. If I delete it and reinstall do you think it would work?

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Download a fresh copy of the theme's folder, extract the index.php file and upload it to wp-content/themes/point using FTP (or whatever file management application your host provides).

  7. lambrey
    Member
    Posted 1 year ago #

    Never done that before, is that the same as exporting all my content?

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    No. It has nothing to do with your content - which is stored in your database and not in your theme.

  9. johnfotios
    Member
    Posted 1 year ago #

    I wouldn't recommend deleting and reinstalling the the entire theme, in case other edits have been made to it. Even when you replace the index.php with the original copy, keep a backup of your broken version. There might be other amendments someone else did when it was first set up...?

    Use FTP, like Filezilla. Do you have the FTP details?

    Otherwise, try using a different brower to get passed that "unsuitable content" thing :)

  10. lambrey
    Member
    Posted 1 year ago #

    How to I download the theme's folder?

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    You can download a fresh copy of the theme from https://wordpress.org/themes/point/

  12. lambrey
    Member
    Posted 1 year ago #

    doing that now, just got it and will try logging in with my husbands computer. THANK YOU GUYS!!!

  13. lambrey
    Member
    Posted 1 year ago #

    still denied, but at least I have the new code, will try to get it fixed tomorrow. Thanks again :D

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.