• Resolved mfloclhero

    (@mfloclhero)


    I have a feeling this is the first of many questions: I am using my admin panel and trying to add links. Frankly, I’m completely confused on all of this. I’ve added a test link in the links section over and over and it’s not on my blog. Am I supposed to be doing stuff in the php files? I’m not a noob to html or edtiing files but I’m lost on many issues so far.
    For what it’s worth, the blog is at http://www.laker-blog.com
    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Take a look at the template tags for Links. You probably want the tag wp_get_links.

    Hope this helps,
    -drmike

    Hmm. But if he’s made no changes to the theme’s files, the blogroll should be showing up in the sidebar without intervention….

    Thread Starter mfloclhero

    (@mfloclhero)

    I’ll look but I guess that’s the part that’s irritating: I have a control panel that I thought I was supposed to simply add links in but I have to get into my files via ftp to do it?

    Anthosia3c doesn’t display links by default. Here‘s the demo for teh theme on my WPMu install.

    Ah, that explains it then. Yes, mfloclhero, you have a control panel which adds links to the blog by default…. depending on theme.

    Take a look at the sidebar for the default theme, find the line which includes wp_get_links, copy that line in its entirety, and add it into the sidebar.php file in your theme folder.

    Thread Starter mfloclhero

    (@mfloclhero)

    Hmm…more confusion. I switched the blog to default and sure enough, the link came up. I went into sidebar.php in the default theme and even using wordpad to make sure, cannot find wp_get_links in it.
    ??
    Is it me?
    πŸ™‚

    This is the line as it appears in the default sidebar.php:
    <?php get_links_list(); ?>

    It’s directly underneath this line:
    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>

    So the previous info isn’t quite right, sorry. Just put the <?php get_links_list(); ?>` line in sidebar.php where you want the links to display.

    Thread Starter mfloclhero

    (@mfloclhero)

    Thanks! works great…I’ll have many more questions I’m sure.

    You’re welcome. Want to mark this as resolved, please and thanks? And feel free to post back when you need help.

    Thread Starter mfloclhero

    (@mfloclhero)

    Done!
    πŸ™‚

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

The topic ‘Totally confused on adding links’ is closed to new replies.