Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Adding id's to menu items?


  #1  
Old Oct 9, 2012, 02:10 AM
Kename Fin
 
2 posts · Oct 2010
I am trying to add unique id's to each menu item. What I have now is:

Code:
<li class="rMenu-expand page_item page-item-23">...</li>
And what I would like is:

Code:
<li id="menu-item-23" class="rMenu-expand page_item page-item-23">...</li>
The id's do not have to be the menu-item-##, but I thought that would perhaps be the simplest as they are already existant. The only real need is for a unique ID on each menu item. I have been poking around bfa_new_wp3_menus.php and bfa_hor_pages.php trying to understand how the menu's markup is generated, but I have only managed to confuse myself at this point.

http://gapschool.net/
  #2  
Old Oct 9, 2012, 04:10 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You aready have a unique class why do you need an ID?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 9, 2012, 04:21 AM
Kename Fin
 
2 posts · Oct 2010
Gah! I got so caught up in needing a unique ID that I managed to miss the unique class. Thank you very much.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Social Images to Page Menu (As Menu Items) justle Page & Category Menu Bars 2 Jan 27, 2011 12:00 AM
Adding 3 latest news items to the homepage thesis Center area post/pages 2 Nov 1, 2010 06:15 AM
[SOLVED] Adding pipe character to separate menu items kippiper Page & Category Menu Bars 7 Aug 22, 2010 01:24 PM
Adding list items to the Page Menu bseppa Page & Category Menu Bars 10 May 4, 2010 01:37 PM
Adding Space Between Items in Lists in a Post DMO Atahualpa 3 Wordpress theme 1 Mar 2, 2009 10:05 AM


All times are GMT -6. The time now is 12:53 AM.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.