psyon
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme decoding thread@len wow, thanks so much for that.Works beautifully!
Forum: Themes and Templates
In reply to: Theme decoding threadOk so been attempting to get my head around this code. In the header, footer, and functions php files, the author basically wrote code to determine if the footer was changed from the original. When it is changed, the index.php “blanks” out the home page replaces it with a message saying that the code is not malicious and is released under cc.
So i have decoded the eval string, but I have no idea how to “undo” the whole footer check thing.
site is collinearl.com and i added the header, footer, and functions php in pastebin.
Functions- http://wordpress.pastebin.com/i0Sh6N9x
Header- http://wordpress.pastebin.com/FUn6Cd5d
Footer- http://wordpress.pastebin.com/Ukd0Dx8vThanks so much for any help.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Set character limit in textareaThanks so much for the quick reply. I add the above code at the end of the functions.php file and got this error:
Parse error: syntax error, unexpected T_FUNCTION, expecting T_STRING or T_VARIABLE or ‘$’ in /html/wp-content/themes/machine/functions.php on line 283
Am I putting it in the right place? Should it go before or after a certain code segment?
Also, is there a way to restrict the character limit to only one of the textarea fields? For example, if I have textarea A that should be 400 or less and textarea B that can be more than 400, is there a way to distinguish them?
Thanks again for all your help!