Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter roscoedesign

    (@roscoedesign)

    Thank you Stephen. I guess I needed a comment lesson/refresher.

    I never tried using html comments, it being a php file. And I had overlooked that php comments need to be placed inside the php tags to eliminate the called functions. I have very little experience with php scripting.

    Again, thanks so much

    Thread Starter roscoedesign

    (@roscoedesign)

    https://pastebin.com/EYUZ92bF

    I’m trying to comment out the one line of code in that file to remove the “Back To Top” link that appears in the footer. I’m using a premium theme called florence BUT, I experienced the same behavior with 20-14 default theme in CSS and PHP files.

    Using custom CSS isn’t necessarily a non-starter; I just want to know why I can’t comment out code like in any other normal html, php, css files?

    I prefer to back up my revisions and not use child themes, I don’t like redundancy regardless of how minimal the performance is affected. But even using a child theme is just a hack; why can’t I simply comment out code in already created wordpress content files?

Viewing 2 replies - 1 through 2 (of 2 total)