Forums

[resolved] Sidebar.php file not saving data populated (4 posts)

  1. dou
    Member
    Posted 1 year ago #

    I copied the existing code and removed a line from the code before copying it. But hitting update file all my remaining data disappeared. Because I copied the original code I went ahead and placed it back into the file. But hitting update file the file would update without my data. For the life of me I dont understand why???

    Please is there anyone who could shed some light on this matter?

    Ta

  2. dou
    Member
    Posted 1 year ago #

    I should probably add I copied and paste the original code into a word file...

  3. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Don't use Word or anything other than a plain text editor when editing any theme files.

  4. dou
    Member
    Posted 1 year ago #

    Thanks. I kinda figured I shouldn't do just that. I was nonetheless able to fix the issue. Seemed like the Word file didn't space " ' as what plain text editor would have done. And to think that issue was in the first line. That'll teach me!

Topic Closed

This topic has been closed to new replies.

About this Topic