Group Admins

WordPress Troubleshooting and Support

Public Group active 1 year, 2 months ago ago

WordPress support from our community

Home page and Blog page questions

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1535
    Sveta
    Participant

    Hello,

    I’m working on a website where I set the Reading settings to have a static homepage and a blog section page as a page to show posts. However, when using is_home() and is_front_page(), it looks like that a blog section page acts like a homepage while homepage does not generate proper title and id to indicate it’s a homepage (I wanted to add id as “home” in body attribute of a homepage and it shows up in the body attribute of a blog page instead). I’ve been googling around without any luck. Please advise.

    Thanks,
    Sveta

    #2665
    Steve
    Keymaster

    @sveta– What’s the url of the site?

    #2666
    Sveta
    Participant

    I’m testing the site on a desktop using MAMP. It’s not live yet. I somehow tweaked IDs for title and body, but it’s good to know to make homepage and blog page distinct without any hacks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.