WordPress.org

Ready to get started?Download WordPress

Forums

WordPress out to lunch (7 posts)

  1. Erica
    Member
    Posted 8 years ago #

    WordPress must be getting fat from all these lunches! ;)

    seriously though I LOVE THIS PROGRAM

    Question:

    I'm using the theme Dapit and everytime you click on one of the articles the Blog Roll/Links go away... they come back if you hit the home button. Where would I change the code to fix this? THX!!!!!!!!!

  2. Michael Bishop

    Posted 8 years ago #

    I'm not familiar with that theme, but I'm guessing there's something in the sidebar that says if (is_home) and then shows links, and if (is_single) else blah, blah. You would want to eliminate the if statements, and simply have the code for the blogroll.

  3. Mark (podz)
    Support Maven
    Posted 8 years ago #

  4. Erica
    Member
    Posted 8 years ago #

    Thanks Miklb and podz!

    Mik? what php file woule this be?

    Cheerio Mate...

  5. Michael Bishop

    Posted 8 years ago #

    Again, not being familiar with the theme, I can't say for sure, but generally speaking, it would be sidebar.php

  6. Erica
    Member
    Posted 8 years ago #

    <?php /* If this is the frontpage */ if ( is_home() ) { ?>

    <?php get_links_list(); ?>

    <?php } ?>

    Here is the code. I have taken out the top, bottom and both and it doesn't seem to work. The only effect that I have is that the blog roll/links go away entirely.

    HELP!!!

  7. moshu
    Member
    Posted 8 years ago #

    Well, if by "fixing" you meant to have it all the time, then all you need is this:
    <?php get_links_list(); ?>
    Delete the rest.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.