<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Highlight Posts Page Menu Option</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sat, 25 May 2013 20:23:16 +0000</pubDate>

<item>
<title>thomasjamesthomas on "Highlight Posts Page Menu Option"</title>
<link>http://themeshaper.com/forums/topic/highlight-posts-page-menu-option#post-7517</link>
<pubDate>Thu, 29 Oct 2009 07:35:11 +0000</pubDate>
<dc:creator>thomasjamesthomas</dc:creator>
<guid isPermaLink="false">7517@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://www.thumbleaf.com&#34; rel=&#34;nofollow&#34;&#62;www.thumbleaf.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;it now works \o/ yayayaya yahoo!&#60;/p&#62;
&#60;p&#62;My fault sry, I forgot to change the page option in Reading settings. It was still on my old setting but altered it to front page equals blog posts...Now works.&#60;/p&#62;
&#60;p&#62;!&#60;/p&#62;
&#60;p&#62;Thomas
&#60;/p&#62;</description>
</item>
<item>
<title>thomasjamesthomas on "Highlight Posts Page Menu Option"</title>
<link>http://themeshaper.com/forums/topic/highlight-posts-page-menu-option#post-7515</link>
<pubDate>Thu, 29 Oct 2009 07:23:20 +0000</pubDate>
<dc:creator>thomasjamesthomas</dc:creator>
<guid isPermaLink="false">7515@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hum&#60;/p&#62;
&#60;p&#62;The only thing I done is add Chris function...Can this be related to that I have no longer a page named ActionScript; just inserting it in the menu?&#60;/p&#62;
&#60;p&#62;Well If I cant crack it tomorrow I will have to wait a week as Im off for holiday no worries ,&#60;/p&#62;
&#60;p&#62;Thomas
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Highlight Posts Page Menu Option"</title>
<link>http://themeshaper.com/forums/topic/highlight-posts-page-menu-option#post-7512</link>
<pubDate>Thu, 29 Oct 2009 01:24:36 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">7512@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;thomasjamesthomas-&#60;/p&#62;
&#60;p&#62;Strange... using Chris's code I cannot recreate your problem. Looking at the source of your page:&#60;br /&#62;
&#60;code&#62;&#38;lt;ul class=&#38;quot;sf-menu&#38;quot;&#38;gt;&#38;lt;li &#38;gt;&#38;lt;a href=&#38;quot;http://www.thumbleaf.com/journal&#38;quot;&#38;gt;ActionScript&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;br /&#62;
 It looks as if something is stripping out the .current-page-item from your blog page &#60;code&#62;&#38;lt;li &#38;gt;&#60;/code&#62; Why the space after the li ?&#60;/p&#62;
&#60;p&#62;Post any parts of your functions.php that you have used to change &#60;code&#62;thematic_access&#60;/code&#62; or filter &#60;code&#62;wp_page_menu_args&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>thomasjamesthomas on "Highlight Posts Page Menu Option"</title>
<link>http://themeshaper.com/forums/topic/highlight-posts-page-menu-option#post-7498</link>
<pubDate>Wed, 28 Oct 2009 06:58:40 +0000</pubDate>
<dc:creator>thomasjamesthomas</dc:creator>
<guid isPermaLink="false">7498@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hum,&#60;/p&#62;
&#60;p&#62;well it did insert ActionScript in menu but I cant get it to highlight as if it was the preselected option see : &#60;a href=&#34;http://www.thumbleaf.com&#34; rel=&#34;nofollow&#34;&#62;http://www.thumbleaf.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I tried changing    'menu_class' =&#38;gt; 'menu', to 'current_page_item' to indicate that i want ActionScript highlighted similarly to if you would go to one of the other pages but didnt work.&#60;/p&#62;
&#60;p&#62;Hum, Any ideas of how to also highlight ActionScript ? The CSS for menu from CLASSIC.css : &#60;/p&#62;
&#60;p&#62;.menu {&#60;br /&#62;
    padding:7px 0 8px 0;&#60;br /&#62;
    overflow:hidden; /* clears the inner float  */&#60;br /&#62;
}&#60;br /&#62;
.menu ul,&#60;br /&#62;
.menu ul {&#60;br /&#62;
    margin:0;&#60;br /&#62;
    list-style:none;&#60;br /&#62;
    clear:both;&#60;br /&#62;
}&#60;br /&#62;
.menu ul ul {&#60;br /&#62;
    display:none;&#60;br /&#62;
}&#60;br /&#62;
.menu li {&#60;br /&#62;
    display:inline;&#60;br /&#62;
}&#60;br /&#62;
.menu a {&#60;br /&#62;
    display:block;&#60;br /&#62;
    float:left;&#60;br /&#62;
    margin:0 10px 0 0;&#60;br /&#62;
    padding:1px 6px;&#60;br /&#62;
    background:#cccccc;&#60;br /&#62;
    color:#000000;&#60;br /&#62;
    border-top:1px solid #cccccc;&#60;br /&#62;
    text-decoration:none;&#60;br /&#62;
}&#60;br /&#62;
.menu a:hover {&#60;br /&#62;
    background:#cccccc;&#60;br /&#62;
    color:#000000;&#60;br /&#62;
    border-color:#3B86C7;&#60;br /&#62;
}&#60;br /&#62;
.menu .current_page_item a {&#60;br /&#62;
    background:#5C9BD1;&#60;br /&#62;
    color:#fff;&#60;br /&#62;
    border-color:#3B86C7;&#60;br /&#62;
}&#60;br /&#62;
.menu a:focus {&#60;br /&#62;
    background:#4887BD;&#60;br /&#62;
    color:#fff;&#60;br /&#62;
    border-color:#2772B3;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Thomas
&#60;/p&#62;</description>
</item>
<item>
<title>thomasjamesthomas on "Highlight Posts Page Menu Option"</title>
<link>http://themeshaper.com/forums/topic/highlight-posts-page-menu-option#post-7496</link>
<pubDate>Wed, 28 Oct 2009 06:12:26 +0000</pubDate>
<dc:creator>thomasjamesthomas</dc:creator>
<guid isPermaLink="false">7496@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Great !&#60;/p&#62;
&#60;p&#62;Thanks for your help there Chris ^^&#60;/p&#62;
&#60;p&#62;Thomas
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Highlight Posts Page Menu Option"</title>
<link>http://themeshaper.com/forums/topic/highlight-posts-page-menu-option#post-7456</link>
<pubDate>Mon, 26 Oct 2009 11:40:37 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">7456@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Thomas,&#60;/p&#62;
&#60;p&#62;remove the page 'ActionScript' and add the following code to your child theme's functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_menu_args($args) {
    $args = array(
        &#38;#39;show_home&#38;#39; =&#38;gt; &#38;#39;ActionScript&#38;#39;,
        &#38;#39;sort_column&#38;#39; =&#38;gt; &#38;#39;menu_order&#38;#39;,
        &#38;#39;menu_class&#38;#39; =&#38;gt; &#38;#39;menu&#38;#39;,
        &#38;#39;echo&#38;#39; =&#38;gt; true
    );
    return $args;
}
add_filter(&#38;#39;wp_page_menu_args&#38;#39;,&#38;#39;childtheme_menu_args&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>thomasjamesthomas on "Highlight Posts Page Menu Option"</title>
<link>http://themeshaper.com/forums/topic/highlight-posts-page-menu-option#post-7447</link>
<pubDate>Sun, 25 Oct 2009 20:04:24 +0000</pubDate>
<dc:creator>thomasjamesthomas</dc:creator>
<guid isPermaLink="false">7447@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Flashblog here : &#60;a href=&#34;http://www.thumbleaf.com&#34; rel=&#34;nofollow&#34;&#62;http://www.thumbleaf.com&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;When you land on the blog you get to the posts page (ActionScript) and I would like that page to automatically highlight the menu ActionScript option.&#60;/p&#62;
&#60;p&#62;Similar to if you click on ActionScript in menu and (also) get to the posts page: You can see that then it is highlighted.&#60;/p&#62;
&#60;p&#62;What php is required for this? I am aware that of course you could set a static page to your front page and then the menu will highlight that static front page when you get to the site.&#60;/p&#62;
&#60;p&#62;But I don't want that; I want my posts page as front page and I would like to have it highlighted from start when you first get to page so that it is clear that that is the page you are viewing. Observe, please visit site to see what I mean as the highlighting is already working, just not for when u first get to site...&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;Thomas
&#60;/p&#62;</description>
</item>

</channel>
</rss>
