acmaxblog
Member
Posted 6 years ago #
Hello,
I already know how to exclude pages from the menu with the excluding tag. But i don't really know in which page i have to insert that code. I don't have a wp_list_pages data or something. I'm using the OrangeScale Laila/Butterfly 1.0 by T. Arie Setiawan Theme.
Thanks,
md
acmaxblog
Member
Posted 6 years ago #
A link to your blog would be appreciated so that we could see the menu you are talking about.
acmaxblog
Member
Posted 6 years ago #
There is probably a wp_list_pages in the header php file. Look there and change the parameters.
acmaxblog
Member
Posted 6 years ago #
No there isn't. I can't find it. I've already tried to put the code in a few lines in header.php but it doesn't work.
Then, you'll have to look in your other files. I would start with the main index file. Perhaps it is there. Without downloading the entire theme myself and looking, I'm just making a guess.
You don't need to put the code in. It should already be there.
acmaxblog
Member
Posted 6 years ago #
No I don't find it! I have a few other themes and there it really stands like wp_list_pages etc. But in my theme...no.
mickemus
Member
Posted 6 years ago #
look at another theme and identify the position it is in... back up your theme and add it yourself along with your code. Trial and error...
Luck is good!!!
acmaxblog
Member
Posted 6 years ago #
Ok i found this in the header.php of another theme:
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
I don't really know where to put the exlude stuff. The Page ID is 15.
acmaxblog
Member
Posted 6 years ago #
Ok. Now I've tried many variations but nothing worked out...
Help!