Tech

How To Point A Menu Item To An External Link In WordPress

There are many tips, tricks, hacks and so on that exist for tweaking and adjusting various functionalities in WordPress and while I’m not sure whether the subject of this post falls into any of these categories, it should still be helpful to one or two bloggers out there. The fact that many Web designers out there also use WordPress as a content management system (CMS) means that ways have to be found to carry out what could be described as straightforward actions in other CMS’s such as Joomla. Take for example, the problem at hand – how do you point a menu item to an external link instead of a page, in WordPress?

What to do

Normally, desperate problems are said to call for desperate measures, but in this case a simple problem requires a simple solution. Thus, to point a menu item to an external link in WordPress, there are two basic approaches you can take:

  1. In the title input area, enter the following: 
    [sourcecode language=”plain”]<a href="Enter external URL here">Menu Item [Space]</a>[/sourcecode]

  2. Alternatively, you can take the second approach that comes with the new of WordPress 3.0. Although your current theme must natively support menus, WP 3.0 does make it a lot easier to customise menu items without the use of plugins. First, from the Dashboard go to Appearance then Menus.
  3. wordpress-external-links

    Then create and save a custom menu to add your links to (you can also edit, delete or re-arrange links in the custom menu). Once the custom menu has been created, simply enter the URL of the external page in the Custom Links option (on the top-left-hand-side), enter the name of the menu item in the Text field and click on Add to Menu. Do not forget to save changes at when you finish adding as many custom links as required.

Talking Point

Do you agree with the concept of using WordPress as a content management system?

Be the FIRST to Know - Join Our Mailing List!

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Previous ArticleNext Article
Thanks for reading this article. If you're new here, why don't you subscribe for regular updates via RSS feed or via email. You can also subscribe by following @techsling on Twitter or becoming our fan on Facebook. Thanks for visiting!

9 Comments

  1. Great that you’ve mentioned this problem and explained how to fix it, but I think those who know even the basics of HTML wouldn’t have any difficulties with this. At the same time, I admit that there are many bloggers that don’t actually know much of HTML, so your tips will be very helpful for them I guess. Thank you!

  2. I agree with IPad Application Development, your tips could be very helpful to those who are not familiar with the HTML. I met this problem before, and I couldn’t solve it, but you helped me! Thanks!

  3. Hello, You are really an awesome person as well as authentic informer. You provide all the information which I didn’t know about WordPress. I will use this on my personal blog.Thanks for your informative post.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Send this to a friend