PHP webdeveloper and frontend developer




Template to redirect to child page within the menu for WordPress

Category : PHP, Wordpress · by Oct 28th, 2012

I create a file named template-redirect-page.php in my theme’s folder and add this code:

If I want my parent page to redirect immediately to the subpage I select this template in the admin section.

Template to redirect to child page within the menu for WordPress

SHARE :

Leave a Reply

Your email address will not be published. Required fields are marked *


s