with PHP enabled <?php the_title(); ?> returns what I want, but it gets stripped by WP and is a security risk to enable PHP.
1) is there a Shortcode generator plugin for PHP functions?
2) what would be the specific code for functions.php to make this work?
thanks
]]>I can’t find any plugins to enable PHP in posts for multisite subsites.
either the snippet isn’t saved or in the case of creating shortcodes, nothing happens on the post.
any suggestions on a plugin (or functions.php edit) to allow PHP execution in posts?
thanks
]]>I’ve downloaded the given files and now I am trying to follow the instructions on the ReadMe file, but I can’t access “wp-admin/install.php” or “wp-config.php”. I have tried with Chrome and Safari. I keep getting the messages “server error” or “no connection established” or “you have not enabled php”.
1) I tried running other files from the same server and they worked. 2) Of course there’s no connection because I haven’t installed it yet. 3) I opened other php files and they worked fine; plus, I did that whole crazy allow php code thing from terminal. I’ve searched forums and developer and html blogs etc. and I read through all the instructions in the ReadMe file.
The topics on this site that I’ve found seem to all be about the file being missing, rather than not having access. I’m pretty new to this so I could be missing something obvious, but if you could help me out that’d be great! Thank you in advance!
]]>I read the readme + checked out the php file you referred to but it wasn’t clear. I’m sure it’s simple – could you help me out?
Also, do I need to install another plugin to allow php in pages?
Thank you so much for this promising plugin. I look forward to your response!
]]>Malicious computer users often exploit insecurely written PHP scripts using the seven features below to gain full access to your account. Disabling these features will make it more difficult for attackers to exploit vulnerabilities in insecure scripts, but may cause applications that depend on these features to stop working.
Please check the boxes next to the features you wish have enabled. You may change your selection at any time from the edit menu after installation.
Enable ‘exec’ function
Enable ‘popen’ function
Enable ‘passthru’ function
Enable ‘proc_open’ function
Enable ‘shell_exec’ function
Enable ‘system’ function
Enable ‘allow_url_include’ feature
Can someone tell me which ones should be enabled, and which ones shouldn’t?
Merry Christmas!
]]>