Change target link in Main menu header

Posted in: Newspaper
Post count: 2

Hi,
How I can change the target link in main menu header to “_top”.
Thanks

Post count: 22421

Hello,
In order to change the link target you will need a bit of php knowledge. It will not be so easy.
Maybe you can use this guide http://erikshosting.com/wordpress-tips-code/building-a-wordpress-walker-creating-custom-dynamic-menu-outputs/
The menu is created here: http://screencast.com/t/Cz7JTRlgIIEe
I hope this helps
Thank you!

  • This reply was modified 10 years by Bogdan B..
Post count: 2

Hi Bogdan,
I needed it because I’ve put a header inside an iframe and clicking a Menu link, the page within the iframe,
If anyone needs… I’ve solved putting in header.php

<base target = “_ top”>

Thanks very much for your help,

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.