How to Change Suckerfish Position in Wordpress

The term “suckerfish” refers to dropdown menus. Both are the same thing, being menus that contain submenus that drop down when the user hovers a mouse pointer over certain items. Many WordPress themes come equipped with suckerfish-style menus, which are built by applying CSS and sometimes a script against code generated by WordPress. The template tag – a built-in PHP function – that generates a menu in WordPress is “wp_nav_menu().” By moving this tag, you can move your suckerfish menu to a new position on your blog.

Instructions

    • 1

      Log in to your blog and navigate to “Appearance” from the sidebar menu. Click the “Editor” link to load the “Edit Themes” screen. Load the “header.php” template by clicking on its link under the “Templates” heading.

    • 2

      Locate the code for your blog's menu:

      <?php wp_nav_menu(); ?>

      The above example represents the most basic use of the “wp_nav_menu()” template tag, which creates the menu for your blog.

    • 3

      Highlight the entire “wp_nav_menu()” code, including its opening and closing PHP tags. Press “Ctrl+X” on your keyboard to cut the code from the “header.php” file. Place the cursor where you want to move the menu to in the HTML code and press “Ctrl+V” to paste the code back in.

    • 4

      Click the “Update File” button on the “Edit Themes” screen to save your work.

Related Searches:

References

Comments

Related Ads

Featured