Forums

Name of home page (5 posts)

  1. wrede66
    Member
    Posted 1 year ago #

    I'm having a difficult time figuring out the logic of the font page on this site. "is_home()" does not work. I have my site set at as latest posts to the front page.

    Thanks- it's a great theme. link to my site: http://www.thecoolgirls.dreamhosters.com/

  2. tigtog
    Member
    Posted 1 year ago #

    If you want the latest posts to be the front page as is currently set, and you want to tweak that page, then the file you need to be editing is the Main Index Template, which different themes might call slightly different things, but which is always index.php in the theme directory.

  3. wrede66
    Member
    Posted 1 year ago #

    Thanks- what I'm trying to figure out is how that front page is referred to. I'm using a plug in called "widget logic" which let's me place widgets on different "pages". I can place them on specific pages in my site by placing the code "is_page('15'), or "is_page('about-us') depending how I have the slug set up. But "is_home()" or "is_front_page() does not work for the "home page" of sirup. How can I refer to that page. I've even tried setting the "posts"page as static, and referring to that page.

  4. tigtog
    Member
    Posted 1 year ago #

    Ah - this post should probably be in the Plugins & Hacks forum then.

    There's lots of discussions using the "widget-logic" tag which I've just added to this thread:
    http://wordpress.org/tags/widget-logic

    I had a problem with this myself a couple of years ago but can't remember now how I fixed it - but you should find something in one of those threads.

  5. alanft
    Member
    Posted 1 year ago #

    there are some themes that prevent is_home and is_front_page from evaluating correctly. try quickly switching theme to a default one. if the problem goes away, then you will have to do some digging in the theme code you have

Topic Closed

This topic has been closed to new replies.

About this Topic