Posts Tagged ‘plugin development’

Add menu into wordpress page

May 11, 2011 Leave a comment

Hello Folks,

Since many days i was wondering to add a dynamic menus that i could insert via plugin. I wanted to insert login and logout buttons into menu bar without editing the template. Then i found out one hook for the wordpress that i could inject my content into menu.


The above hook will call add_menu which contain 2 parameters.

      function add_menu($items,$args)
            items .= "<li>Another Menu</li>";
            return items;

it will look as following

As you can see another menu is created beside. As css is not applied it looks like that apply css would
look alike.

If there is any problem give a reply.

My First Plugin Development

February 8, 2011 12 comments

Hello readers this my first blog on wordpress plugin development . When i started with wordpress development i was dam tensed , i din even know how to install but then when i went into deep i got to know how its dam easy . Just follow my steps you would know how to create a plugin . Soon i would add a video tutorial for this.

Read more…

%d bloggers like this: