ThemeShaper Forums » Thematic

[closed]

vertical access in sidebar

(2 posts)
  • Started 4 years ago by somedood
  • Latest reply from somedood
  • This topic is resolved
  1. somedood
    Member

    I'm currently developing my first child theme and encountering Thematic for the first time as well. Lovely framework. Basically I've got the access menu vertical by searching out the solution from the ill named thread here. Now I'm looking to move access all together into the primary aside. I know how I'd do it regularly but I was curious as to how to do this with a framework like Thematic? Thanks in advance.

    Posted 4 years ago #
  2. somedood
    Member

    Ok that was simple after reading this I got the hang of it.

    // Remove default Thematic actions
    function remove_thematic_actions() {
    remove_action('thematic_header','thematic_access',9);
    }
    add_action('init','remove_thematic_actions');

    function child_add_menuclass($ulclass) {
    return preg_replace('/

      /', '<ul class="sf-menu sf-vertical">', $ulclass, 1);
      }
      add_filter('wp_page_menu', 'child_add_menuclass');

      // Create #access
      // Above the main asides
      function my_access() {
      thematic_access();
      }
      add_action('thematic_abovemainasides','my_access');

    Style out your UL like so

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.