chrisjb
Member
Posted 4 years ago #
Place the tag <?php lca_form(); ?> within your template in the place where you wish the upload form to appear.
When I input this code into a page, using the 'Write a Page' page creator function in WordPress; after clicking 'SAVE' the code disappears.
I've tried it a few times in an old version of WordPress and now in the latest upgrade.
as far as I understand you need something like runphp to do that .. when the plugin author used the word "template" he meant one of your theme files, not within a post or a page.
http://wordpress.org/search/php+inside+a+post?forums=1
chrisjb
Member
Posted 4 years ago #
yep, got it. runphp or phpexcec -- I didn't realize that -- works fine with the phpexcec plugin though, very useful.