![]() |
Insertion? Not the dirty kind! I wanna know on wordpress after I've created a page, I want a database table to show in the text area. <?php echo displayGirls(); ?> This is what I'd like on there - but apparently you can't insert php code into the text area? Help? Pretty please? |
Re: Insertion? Look for a plugin called execphp, it lets you execute PHP code in posts and pages. |
Re: Insertion? Quote:
Make sense? |
Re: Insertion? Ahh...what you want is a page template. Basically wordpress lets you create subtemplates that you can set pages to use that are part of your theme but are only called from specific pages. Here's a brief section that explains how to do it: Pages « WordPress Codex But basically you create a new .php file (i.e. page2.php) in your themes directory and copy everythign that's inside of page.php into it. Then at the very top put some comment code in to name the template. Then you go to whatever page you are doing this for, and select the template from the menu on the right when editing the page. |
Re: Insertion? Quote:
|
| All times are GMT -6. The time now is 05:08 PM. |