WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do I correctly edit this line? (3 posts)

  1. Will Taft
    Member
    Posted 7 years ago #

    The following code is in my sidebar.php file and displays an additional couple of items in the side bar only on the home page. Problem is I used Filosofo to make a more static page my home page. And my blog, which used to be the home page, is now another page all together. Filosofo is working fine, but because I have a different front or home page, the side bar info that is supposed to be in the sidebar of my blog is displaying ont the new home page. I want the following to call the blog page, not the front page. I tried several things, but can not get it to work.
    ----------------------------------

    <?php /* If this is the frontpage */ if ( is_home() ) { ?>
    <?php
    if(get_links(-1,'', '','', false, 'name',false,false,-1, false, false)){
    ?>

  2. Will Taft
    Member
    Posted 7 years ago #

    Well, I have tried a while more and I can not get it. Frustrating! All I want is for the blocks "blogroll" and "meta" to show on the blog page instead of the front, home page. ARRRGGG!

    I'm taking a break to clear my addled brain, If anyone has an idea or suggestion, I would really appreciate it.

    Thanks!

  3. Will Taft
    Member
    Posted 7 years ago #

    Figured out that I don't actually need this plug in with the latest version of WP as it's functions are built in! But I learned a bit more trying to get it to work. Oh well.

Topic Closed

This topic has been closed to new replies.

About this Topic