Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Add rss button to end of suckerfish menu? « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Add rss button to end of suckerfish menu?

(4 posts)
  • Started 5 years ago by fedude
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. fedude
    Member

    Any ideas on how I could add my rss feed icon to the right edge of the main navigation (suckerfish) menu?

    Posted 5 years ago #
  2. fedude
    Member

    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?

    Posted 5 years ago #
  3. PMix
    Member

    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 3 years ago #

  4. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    easiest way to add something to the menu:
    http://wpfirstaid.com/2010/10/extend-the-wordpress-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.php

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183