Jump to content

wordpress problem (want to add new php file )


karan23424

Recommended Posts

i want to add new php page in the wordpress

please explain how i can do that

suppose i have a test.php file having code

 

<?php

echo "hello this is test";

?>

 

now i want to call this page on link given in right navigation

and on clicking the link it should display the "hello this is test"

text in the body part

 

please reply to this post

thanks

 

Link to comment
Share on other sites

This would depend on the template you are using in WordPress.

 

The first thing you would need to do is create your test.php file and upload it to the server.

 

Then you would need to use the template editor in your WordPress administrator to edit the menu to include a link to your test.php

 

If you have not already I suggest browsing through the WordPress support forums as that would be your best place for issues with WordPress and WordPress templates.

 

http://wordpress.org/support/

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.