base64_decode in theme footer

by 8 replies
9
I found a WP theme I like and wanted to use but when I tried to insert my privacy policy pages into the footer I found that it was coded differently than the regular HTML. When I click the documentation below the footer editor page it comes up with base64_decode, gzinflate() and str_rot13. Looking at the code made my non-techie head swim. I couldn't figure out where to put my script: <?php static_footer_pages(); ?> into that gobbledygook.

It is a free theme and I am sure the designer wanted to protect his links.
Any suggestions??????
#programming #base64decode #footer #theme
  • And what would be the name of this theme?
  • My suggestion is to get rid of the theme immediately. The base64_decode is a sign of a theme with malware. Chances are that the theme has malware all over the site. Just get rid of the theme and get a new one.
    • [1] reply
    • Well here is a trick!

      Bring the theme up in your browser and view the HTML.

      To do that in Firefox, its Right Mouse Click on the page, and select "View Page Source". Same kind of deal in IE etc...

      This will let you see the other gobbedly gook, but of the nice HTML/CSS kind.
      Now, you could grab the resulting HTML and replace the other mumbo jumbo in your footer.php file with it and modify to suit.

      At least then it'll look a little more familiar, rip out any nasties, and let you do what you like with it.

      That should do the trick!

      Cheers
      Tim
  • That does work just for the footer, however vary often is there is malware in the footer chance are that it is in other parts of the theme. If you want to keep the theme search through the whole theme looking for base64_decode and eval.
    • [1] reply
    • You could post the base64_decode(), gzinflate(), str_rot13() code here so we can decode it and then you will see if it contains malware or what.
      • [1] reply
  • This is a very common practice when Premium themes hit the end of their life cycle and the authors decide to release them for free.

    The encoded part is just a last ditch effort to get a little more out of their work, whether its back links for SEO or affiliate ads.

Next Topics on Trending Feed

  • 9

    I found a WP theme I like and wanted to use but when I tried to insert my privacy policy pages into the footer I found that it was coded differently than the regular HTML. When I click the documentation below the footer editor page it comes up with base64_decode, gzinflate() and str_rot13. Looking at the code made my non-techie head swim. I couldn't figure out where to put my script: <?php static_footer_pages(); ?> into that gobbledygook. It is a free theme and I am sure the designer wanted to protect his links.