Title: Insert plugin as wordpress menu item
Last modified: September 1, 2016

---

# Insert plugin as wordpress menu item

 *  Resolved [walpap](https://wordpress.org/support/users/walpap/)
 * (@walpap)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/insert-plugin-as-wordpress-menu-item/)
 * Hello! First of all your plugin is the best!
 * My problem is i want to add the temperature as an item in the wordpress menu.
   
   The theme i use, has a sticky menu. And although i managed to insert your code
   in the header it doesn´t move according to the rest of the menu items.
 * I managed to manually insert an item in the functions.php file like this:
 *     ```
       function add_last_nav_item($items) {
         return $items .= '<li><a href="#" >Here</a></li>';
       }
       add_filter('wp_nav_menu_items','add_last_nav_item');
       ```
   
 * I need to add the php code for your plugin where it says “Here”
    How can i achieve
   that? Here is my temp url if you want to see. [http://www.cabalegria.com.ar/yvate/](http://www.cabalegria.com.ar/yvate/)
 * Also tried this and worked, but because it is an iframe i cannot change the style:
   `
   return $items . '<li class="myclass"><a href="http://example.com">My link title
   </a>' . do_shortcode('[wpforecast id="A"]') . '</li>';`
 * Can you help me?
 * Thanks in advanced!!
 * [https://wordpress.org/plugins/wp-forecast/](https://wordpress.org/plugins/wp-forecast/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/insert-plugin-as-wordpress-menu-item/#post-7562969)
 * Hello please check out the manual at [http://www.tuxlog.de/wordpress/2008/wp-forecast-reference-v17-english/#52](http://www.tuxlog.de/wordpress/2008/wp-forecast-reference-v17-english/#52)
 * This should do the trick.

Viewing 1 replies (of 1 total)

The topic ‘Insert plugin as wordpress menu item’ is closed to new replies.

 * ![](https://ps.w.org/wp-forecast/assets/icon-128x128.png?rev=1515240)
 * [wp-forecast](https://wordpress.org/plugins/wp-forecast/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-forecast/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-forecast/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-forecast/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-forecast/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-forecast/reviews/)

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/insert-plugin-as-wordpress-menu-item/#post-7562969)
 * Status: resolved