Any ideas on how I could add my rss feed icon to the right edge of the main navigation (suckerfish) menu?
Add rss button to end of suckerfish menu?(4 posts)
Essentially I need to insert a div inside the access div but after the menu div.
Is there a hook that structures the access div or maybe even something to put a div at the end of the access div.
How does one go about finding out about the various functions and hooks?
I'm having this same issue.
A hook doesn't work because it's inside div tags that already exist.
I can think of a possible ways. One is using a filter to remove the ending of the div tags adding my code and then replacing them. However, I can't find any instructions on how to use a filter to remove lines of code.
A second way would be to just replace the current function with the exact same function with my added code in the middle. However, I can't seem to find the original function code. I imagine it has to be in the thematic theme file, but I can't find it there. I rather like the current code and don't see a need to replace it.
A third way would be to use the numbers at the end to insert the code into the appropriate place with a number at the end of the add_action function. However, I can't find any documentation as the current numbering to know which number to use.
Can anyone help with any of these?Posted 5 years ago #
easiest way to add something to the menu:
if that doesn't do what you want, and you still want to insert something after the UL element but before the #access DIV closes then you will need to override thematic_access() (which is located in library/extentions/header-extensions.php) by copying it and renaming the function to childtheme_override_access() in your child's functions.phpPosted 5 years ago #
This topic has been closed to new replies.