Support » Fixing WordPress » Using WP-static homepage -> No active state blogpage

  • I’v set the option within WordPress to use a static homepage, (options->reading), and selected another page for the posts.
    The static homepage works as a charm, but the blog-page doesn’t have an active menu-tab when I visit it. I’m using the K2-theme.
    Anyone know of a solution?

Viewing 3 replies - 1 through 3 (of 3 total)
  • What’s an active menu tab?

    Ow sorry, maybe it’s dutch-english 🙂
    My mainmenu consists of ‘tabs’ and when I’m on the homepage, the Tab labelled HOME is white and all the other ones are orange. I can hover over the other menu-items and they’ll change color and when I select for example the item ‘gallery’, the tab labbeled HOME is orange again and Gallery is white.
    Hope this explains it a bit?

    I just this second came up with a solution of sorts to this same problem.

    in your header.php before the menu is printed, use this php function to identify the url of the page you are on: <a href="" target="_blank"></a>

    dont include “print(selfURL());” instead, “$url = (selfURL());”

    if (for example) the page with your blog is on has the url “” then

    “<?php if ($url == “”){
    (include html for your full menu here with the class of your blog set as active)
    } else {

    If you need more detail reply to this and let me know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using WP-static homepage -> No active state blogpage’ is closed to new replies.