![]() |
How to use php code in WordPress page?
Hello friends,
Please tell me, How to use php code in WordPress page? |
What are you trying to do? Need more details really my friend :)
|
you may open the page.php file inside your active theme from there you can see how PHP is used inside it..
|
Why u need that in wp...?
|
You can either develop a plugin and use short codes to implement PHP code. Alternately, there are Wordpress plugins that allow you to use PHP code in Wordpress.
|
Run PHP code inserted into WordPress posts and pages.
The PHP code is between special tags ("[insert_php]" instead of ""). The PHP code runs as the page is sent to the browser. Output of the PHP code is published directly onto the post or page where the PHP code between the special tags is located. The code between the tags must be complete in and of itself. References to variables or code blocks outside the area between the tags will fail. See the "more information" URL for an explanation of this. |
Create dynamic data outputs.....
|
All times are GMT -7. The time now is 03:01 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.