Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   How to get this theme to work with comment live preview plugin? (http://forum.bytesforall.com/showthread.php?t=19467)

master412160 Jan 26, 2013 08:47 AM

How to get this theme to work with comment live preview plugin?
 
In order for that plugin to work it needs to have "<?php comment_form(); ?>" in the comments.php section.

But I don't see how I can add that with this theme.

juggledad Jan 26, 2013 11:05 AM

at this point 'comment_form();' is not one of the allowed functions in the limited php.

If you wanted to dive into the code it is possible to add a new function to the limited php, but you will have to figure out how Flynn has done it with the other limited php and follow that process.

Note: I have not done it myself so I have no more to guide you with. :(

jerryc Jan 26, 2013 01:05 PM

Quote:

Originally Posted by master412160 (Post 95537)
In order for that plugin to work it needs to have "<?php comment_form(); ?>" in the comments.php section.

But I don't see how I can add that with this theme.

Quote:

Originally Posted by juggledad (Post 95544)
at this point 'comment_form();' is not one of the allowed functions in the limited php.

With this technique, you can have any PHP anywhere in MZ.


All times are GMT -6. The time now is 12:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.