Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Programming General (http://siteownersforums.com/forumdisplay.php?f=44)
-   -   How to use php code in WordPress page? (http://siteownersforums.com/showthread.php?t=143034)

nishajain1901 07-05-2014 02:23 AM

How to use php code in WordPress page?
 
Hello friends,

Please tell me, How to use php code in WordPress page?

DigitalResponse 07-30-2014 05:02 AM

What are you trying to do? Need more details really my friend :)

williamforrest 07-31-2014 01:02 AM

you may open the page.php file inside your active theme from there you can see how PHP is used inside it..

xvinez 07-31-2014 01:26 PM

Why u need that in wp...?

midynamics 09-04-2014 12:34 PM

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.

ledtubelight 09-05-2014 12:33 AM

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.

johnstyle 09-16-2014 11:18 PM

Create dynamic data outputs.....


All times are GMT -7. The time now is 03:01 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.