Title: Adding External Links
Last modified: August 18, 2016

---

# Adding External Links

 *  Resolved [grapixeye](https://wordpress.org/support/users/grapixeye/)
 * (@grapixeye)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/)
 * In my sidebar I have a section called General Store, but I’ve been searching 
   for a way to add “external” links to it underneath the heading…just like the 
   Wine List. Not sure where this goes or if I can use the Controls in WP to do 
   this or to code it by hand. I’ve gone through all of the info here and nothing
   seems to suit. I’m pretty new and this so any help would be appreciated. This
   is my site:
 * [http://www.grapixeye.com/blog ](http://www.grapixeye.com/blog)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245325)
 * In the Links Manager, you can have link categories. So you could have a Wine 
   List link category, and then a General Store link category. Then when you add
   a link, you just tell it what category you want it in.
 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245327)
 * If you set up categories, you may need to change the tag you are using to get
   the Wine List, because depending upon what you are using, it might pull all of
   the General Store links also. Post back if you need help getting that straightened
   out.
 *  Thread Starter [grapixeye](https://wordpress.org/support/users/grapixeye/)
 * (@grapixeye)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245328)
 * Thats a no-go. I tried to add the link “Your Mac Life” to the General Store “
   section and as you can see it ended up under Wine List. I even created a category
   called General Store but it still went to the Wine List Section. What am I doing
   wrong. I want it under The General Store section.
 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245330)
 * What tag are you using to get the links now?
 *  Thread Starter [grapixeye](https://wordpress.org/support/users/grapixeye/)
 * (@grapixeye)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245334)
 * This is the only thing I can find…it was sidebar.php file and I used it to change
   the name of the section to General Store. Not sure I understand the rest of the
   code. I even tried to use the same code thats under General Store. Is this the
   code that you mean..?
 * <h2>General Store</h2>
    - <?php wp_list_pages(‘title_li=’ ); ?>
 * <h2><?php _e(‘The Pantry’); ?></h2>
    - <?php wp_list_cats(‘optioncount=1’); ?>
 * <h2><label for=”s”><?php _e(‘Search:’); ?></label></h2>
    -  <form id=”searchform” method=”get” action=”<?php echo $_SERVER[‘PHP_SELF’];?
      >”>
       <div style=”text-align:center”> <input type=”text” name=”s” id=”s” size
      =”15″ /> <input type=”submit” name=”submit” value=”<?php _e(‘Search’); ?>”/
      > </div> </form>
 * <h2><?php _e(‘Monthly:’); ?></h2>
    - <?php wp_get_archives(‘type=monthly&show_post_count=true’); ?>
 * <h2><?php _e(‘RSS Feeds:’); ?></h2>
    - 
 *  [asparagus](https://wordpress.org/support/users/asparagus/)
 * (@asparagus)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245335)
 * I’m guessing here, but the title of “Mr Obvious” requires some guesswork and 
   creativity (private joke) and it _will_ be mine. If the wine list is your blogroll,
   add another category of links.
    Dashboard > Links > Link Categories The Add a
   Link panel is below the list of existing link categories. [http://www.oldnewbie.org/wpblog/](http://www.oldnewbie.org/wpblog/)
   Different Themes handle them differently (which gives me a reason for flaunting
   my own efforts) so flip through a few to see before you plunge into hand coding.
 * Link categories are different than Post Categories.
 * Whoa — the competition in the “Mr Obvious” race is getting fierce!
 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245337)
 * What are the first lines in the sidebar.php? What is above the `<h2>General Store
   </h2>` line?
 *  Thread Starter [grapixeye](https://wordpress.org/support/users/grapixeye/)
 * (@grapixeye)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245344)
 * Nothing is above that. Thats the first line.
 * To the Mr.Obvious post…I tried that…I have a links catagory called General Store
   and a link in it for “Your Mac Life”. But for some reason that doesn’t work. 
   I’l probably have to remove that section totally and start over from scratch…
   if I can figure that out (smiles) sigh!
 *  [asparagus](https://wordpress.org/support/users/asparagus/)
 * (@asparagus)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245347)
 * You may need to add or modify <?php get_links_list(‘id’); ?> if get_links is 
   how it reads now. Some themes (like Benevolence) don’t have that line in their
   sidebar template ‘tweaked’ yet. Hey I’m old and a newbie — gimme a break!
 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245349)
 * Ok, this is interesting. It looks like the get links list tag might be at the
   end of your index.php, because the links list doesn’t show on the other pages.
   Do you want the links to always show in the sidebar, or only on the main page?
 * Check the end of index.php and see if you can find a code for get_link_list or
   something with links in it.
 *  Thread Starter [grapixeye](https://wordpress.org/support/users/grapixeye/)
 * (@grapixeye)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245353)
 * <h2>General Store</h2>
    <?php get_links_list(‘id’); ?>
 * like this? Or is that somewhere else in another .php file?
 * By the way i”m using the Theme called Connections
 *  Thread Starter [grapixeye](https://wordpress.org/support/users/grapixeye/)
 * (@grapixeye)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245354)
 * I think I may have found it! This is in the index.php file…maybe all I need to
   do is to copy this and change the title.:
 * <div id=”sidebar”>
    <h2><?php _e(‘Wine List’); ?></h2>
    - <?php get_links(‘-1’, ‘
    - ‘, ‘
    - ‘, ‘ ‘); ?>
 *  Thread Starter [grapixeye](https://wordpress.org/support/users/grapixeye/)
 * (@grapixeye)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245356)
 * Great…that solved the Problem! Thanks a bunch guys!!!!

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Adding External Links’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 3 participants
 * Last reply from: [grapixeye](https://wordpress.org/support/users/grapixeye/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/adding-external-links/#post-245356)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
