page id
Posted by: dillos
Posted on: 2009-09-30 20:26:00
Hi! I'm slightly new to web design and inherited a website where the designer/programmer has become MIA. We need to add a menu item to the menu list and I have the following in the templates (.php I believe):
<li><a href="<?php bloginfo('url'); ?>?page_id=20" title="ARCHIVES">ARCHIVES</a>
<ul class="submenu" style="display: none;">
<?php wp_list_pages('sort_column=menu_order&title_li=&child_of=20'); ?>
</ul>
</li>
I added the same section of code above this and changed the #to 20 and changed the above code to have a page id of 22 now. I changed on all the templates. However I noticed in WordPress, it still shows the menu ARCHIVES with a permalink page id of 20. So somewhere I need to still change something to 22. Does anyone know what WordPress is reading the page id from when you are in the Edit Pages? Or where I missed changing the page id?
I apologize if this should've been in a different forum...was not sure where I should put my post as this is my first post.
TIA,
Melissa