WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Index.php not showing changes (4 posts)

  1. jvphotography
    Member
    Posted 4 years ago #

    Hi, I am having an issue updating my theme's index.php file. I have tried adding some code to the page and it is not accepting any of the changes. I even tried clearing everything and just leaving header, footer and some HTML text and it still didn't change.

    I am not running any type of caching plugin. I tried switching themes to see if like that it would take the change, but have had no luck.

    Any ideas what might be causing this?

  2. Samuel B
    moderator
    Posted 4 years ago #

    if doing it in the theme editor, you may need to chmod file to 666 to affect changes
    easier to just download it to desktop - edit - upload it back

  3. jvphotography
    Member
    Posted 4 years ago #

    Thanks. I viewed the file via FTP and the file had the changes I had made via the editor.

  4. jvphotography
    Member
    Posted 4 years ago #

    I realized what the problem is. The theme is using the archive.php file instead of the index.php. Basically, I was modifying the wrong file.

Topic Closed

This topic has been closed to new replies.

About this Topic