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( 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.

Best Regards,

  1. Log into WordPress
  2. On the left hand menu click "Pages"
  3. Create a page and title it "Hello"
  4. Go into your FTP and into your theme folder: wp-content/themes/your-theme
  5. Open page.php and copy it's code, paste it into a new file and call it page-hello.php
  6. Upload page-hello.php now 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.

Tags: Wordpress

Similar questions

How to replace a Font Awesome icon within link text with a different icon on link click?
I run a Wordpress website that is edited by laypersons with no coding ability. The homepage consists of a list of standard html links (all of which are globally styled by css to resemble a button), the link text of which consists of a Font Awesome icon shortcode and the link title. For a user to add another link to the homepage, all they need to do...
Syntax error: <a> link not working by clicking, only opens by right click + "open link in new tab" command
When I click the 'Download Full Menu' link in this page ( it won't open unless I right click and 'Open link in a new tab'. I used Chrome and Firefox element inspector and I get the below Jquery error, but I'm not sure how can I fix it since I'm just a javascript newbie... Thank you for your help! &#x...
Google compute, Wordpress(click to deploy) not loading when I login and click around
I can login with the WordPress admin account. But when I try to change to the different page in dashboard, it starts loading and loading, and then both the WordPress control panel and website aren't respond anymore. For the website part, it didn't show anything on the page, just keep loading. It only happened after I login to WordPress and click ar...
how to change the text color of currently open link and remain default color of unopened link?so user gets an idea on which link he is currently on
i want to change the color of text which is active that the user have an idea that which page he using....for example we have 2 hyberlink of HOME and ABOUT pages..i want when i clicked on HOME link its color changes(i.e green) and other menu items like ABOUT will remain in default color(i.e red)..and when i clicked on ABOUT menu then its text ...
Navbar shows and hide menu in just one click, next click do nothing
I am using zerif-lite theme for one of my projects. In this project on smaller screens the when I click on a toggled menu, it shows up but very quickly automatically hides itself again. My website can be found here Is there any way to disable it?

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.