In WordPress you may need to show an admin section in some part of your blog some times. Mainly we show this to get a direct link to our blog administration panel. We do this so that we can log in and log out easily of our WordPress blog.
Also we use this to show a registration link which is used for to register an account on our blog. We can include a WordPress link too and a XHTML validator link too below the WordPress admin links.
We can use the WordPress widgets to automatically show this without using any code. But some times we need to show this administration panel in a place where widgets cannot be placed. Then we use this code to display it.
Use the code given below to show WordPress Admin Panel links.
<ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://www.wordpress.org/">WordPress</a></li> <?php wp_meta(); ?> <li><a href="http://validator.w3.org/check?uri=referer">XHTML</a></li> </ul>
That’s it! This is a small post indeed!
Related Blog Posts
Share The Blog Post
Last Updated: February 11, 2012









{ 8 comments… read them below or add one }
Thanks for this tips saksham. From now on, i can put the admin link everywhere in my blog.
You’re welcome Dana! Thanks for visiting BJ.
Nice Tips.. I think it is not wise idea to play with the admin panel.. as it may open the flaws to the hackers and may keep us in trouble..
You’re right, but this tip won’t cause any problem to you as it just shows the admin panel link, CSS Referrer check and nothing else. So no good to hackers from this tip. Though editing our admin panel page can cause dangers to us.
It is an interesting idea
Try it for sure.
useful code of information here
Nice to know that you found it useful. So used it in your blog?