How to change to directory when i click on link in wordpress
I am new in wordpress and sorry for my poor English.
I want to run the hello.php from input/index.php to input/output/hello.php when the link on index.php was clicked. I have googled it but cannot find the solution ? Any solution for this ?
At first if you are new in wordpress look how you can create theme and how it works(http://codex.wordpress.org/Template_Hierarchy). Then please provide where you have created that directories. Also when you are working in wordpress you have to work only in themes folder and plugins folder you can simply implement it root dir where is you wp-config but I am sure it will not give you the result that you are trying to achieve.
- Log into WordPress
- On the left hand menu click "Pages"
- Create a page and title it "Hello"
- Go into your FTP and into your theme folder:
page.phpand copy it's code, paste it into a new file and call it
page-hello.phpnow visit your page your just created.
According to WordPresses Template Hierarchy you can create a page based on the WordPress page slug, all you have to do is prepend
page- before the slug.