Support » Themes and Templates » WordPress out to lunch

  • Erica

    (@alexshields)


    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!!!!!!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Mark (podz)

    (@podz)

    Support Maven

    Erica

    (@alexshields)

    Thanks Miklb and podz!

    Mik? what php file woule this be?

    Cheerio Mate…

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

    Erica

    (@alexshields)

    <?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!!!

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress out to lunch’ is closed to new replies.