<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Nice looking sub page menu?</title>
		<link>http://www.kriesi.at/support/topic/nice-looking-sub-page-menu</link>
		<description>Support Forum - Topic: Nice looking sub page menu?</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 23:47:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/nice-looking-sub-page-menu" rel="self" type="application/rss+xml" />

		<item>
			<title>James Morrison on "Nice looking sub page menu?"</title>
			<link>http://www.kriesi.at/support/topic/nice-looking-sub-page-menu#post-15877</link>
			<pubDate>Tue, 29 Mar 2011 15:03:41 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">15877@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;The Widget Logic plugin in combination with the PHP Text Widget plugins would be the easiest way to show a sub menu only on specific pages, you can see the list of &#60;a href=&#34;http://codex.wordpress.org/Conditional_Tags&#34;&#62;Conditional Tags&#60;/a&#62; in the &#60;a href=&#34;http://codex.wordpress.org/&#34;&#62;WordPress Codex&#60;/a&#62;. This would give you absolute control over what is displayed where.&#60;/p&#62;
&#60;p&#62;Alternatively you can set up a conditional bit of code which will only list sub pages on an active parent page - have a look at this tutorial to get you started: &#60;a href=&#34;http://www.tammyhartdesigns.com/tutorials/wordpress-how-to-list-child-pages-in-sidebar/&#34; rel=&#34;nofollow&#34;&#62;http://www.tammyhartdesigns.com/tutorials/wordpress-how-to-list-child-pages-in-sidebar/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nvanhoose on "Nice looking sub page menu?"</title>
			<link>http://www.kriesi.at/support/topic/nice-looking-sub-page-menu#post-15826</link>
			<pubDate>Mon, 28 Mar 2011 22:56:41 +0000</pubDate>
			<dc:creator>nvanhoose</dc:creator>
			<guid isPermaLink="false">15826@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Maybe the theme has been updated, but the menu section of my admin interface says it only supports a single menu.  Is this no longer the case?&#60;/p&#62;
&#60;p&#62;As for sub-menus, I have a convoluted solution that I'm certain could be made better, but is working for now.  I'm pretty amateur at php and WP Codex but here's what I'm doing:&#60;/p&#62;
&#60;p&#62;1)  Using the &#60;a href=&#34;http://wordpress.org/extend/plugins/widget-logic/other_notes/&#34;&#62;Widget Logic&#60;/a&#62; plugin (mentioned somewhere else on this forum) you can use php and WordPress conditional tags to return true on the page(s) you want a widget to display on.  So something like: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;is_page( array( 354, 404, 400, 402))&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;returns true for those page IDs.&#60;/p&#62;
&#60;p&#62;2)  The PHP Text Widget plug-in lets you put php straight into the widget text field.  The WordPress function wp_list_pages will spit out an unordered list for the argument pages. &#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;ul&#38;gt;&#38;lt;?php wp_list_pages(&#38;#39;sort_column=menu_order&#38;amp;include=354,404,400,402&#38;amp;title_li=&#38;#39;); ?&#38;gt;&#38;lt;/ul&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;3)  That function automatically assigns an active class to an&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;li&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;that contains a link to the current page so styling is easy.&#60;br /&#62;
Like I said, there's a better way, quicker and cleaner to do this.  Maybe edit the theme files directly or make a child theme?  You definitely shouldn't have to list all the pages.  It should be dynamic.  I messed around with it a while but couldn't get anything better working.  Tips/ hints would be appreciated.&#60;/p&#62;
&#60;p&#62;** Modified by James to correct code as it broke site layout...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mattiasjarnhall on "Nice looking sub page menu?"</title>
			<link>http://www.kriesi.at/support/topic/nice-looking-sub-page-menu#post-15441</link>
			<pubDate>Tue, 22 Mar 2011 19:18:57 +0000</pubDate>
			<dc:creator>mattiasjarnhall</dc:creator>
			<guid isPermaLink="false">15441@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;No one?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mattiasjarnhall on "Nice looking sub page menu?"</title>
			<link>http://www.kriesi.at/support/topic/nice-looking-sub-page-menu#post-15378</link>
			<pubDate>Mon, 21 Mar 2011 17:23:48 +0000</pubDate>
			<dc:creator>mattiasjarnhall</dc:creator>
			<guid isPermaLink="false">15378@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks &#34;Dude&#34; for a quick reply.&#60;br /&#62;
Tried your proposal (see: &#60;a href=&#34;http://mobilsurfa.se/planeringen)&#34; rel=&#34;nofollow&#34;&#62;http://mobilsurfa.se/planeringen)&#60;/a&#62; but that menu didn't work at all (as you can se :)).&#60;br /&#62;
And even if it would have worked, visualy so to speak, it wouldn't work in practice since I will have many pages with different sub menues. And if I put the &#34;Custom Menu&#34; in the &#34;Sidebar Pages-widget area&#34; I can only use one sub menu for all pages. Right?&#60;/p&#62;
&#60;p&#62;The Sub Pages-widget i use works as I want, it's just design wise I'm struggling :)&#60;br /&#62;
Any suggestions on how to fix that?&#60;/p&#62;
&#60;p&#62;/Mattias
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Nice looking sub page menu?"</title>
			<link>http://www.kriesi.at/support/topic/nice-looking-sub-page-menu#post-15311</link>
			<pubDate>Mon, 21 Mar 2011 07:22:55 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">15311@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
did you try the menu manager under Appearance &#38;gt; Menu?  You can create as many menus as you like. Then go to the widgets section and select the &#34;Custom Menu&#34; widget. Afterwards choose which menu should be displayed by the widget.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mattiasjarnhall on "Nice looking sub page menu?"</title>
			<link>http://www.kriesi.at/support/topic/nice-looking-sub-page-menu#post-15285</link>
			<pubDate>Mon, 21 Mar 2011 00:13:01 +0000</pubDate>
			<dc:creator>mattiasjarnhall</dc:creator>
			<guid isPermaLink="false">15285@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi, I really liked the theme but I'm strugling with a sub page menu in the sidebar.&#60;br /&#62;
I used a widget called &#34;Sub Pages&#34; and it includes my sub pages just where I want them. I also made a small &#34;hack&#34; in the css-file adding &#34;widget_sub_page_navigation&#34; as below: &#60;/p&#62;
&#60;p&#62;/*Archive, Cat, Page widget*/&#60;br /&#62;
.widget_sub_page_navigation li , .widget_archive li , .widget_categories li, .widget_pages li, .widget_links li, .widget_meta li{&#60;br /&#62;
clear: both;&#60;br /&#62;
float: left;&#60;br /&#62;
margin: 0;&#60;br /&#62;
width:100%&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;.widget_sub_page_navigation li a , .widget_archive li a, .widget_categories li a, .widget_pages li a, .widget_links li a, .widget_meta li a{&#60;br /&#62;
padding: 3px 0 3px 23px;&#60;br /&#62;
display:block;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;But it doesn't turn out as I expected :/&#60;br /&#62;
Look at: &#60;a href=&#34;http://mobilsurfa.se/planeringen&#34; rel=&#34;nofollow&#34;&#62;http://mobilsurfa.se/planeringen&#60;/a&#62;&#60;br /&#62;
Compare the two menu blocks in the sidebar, the first one (my sub page menu) doesn't show that blue little arrow next to the list items?&#60;br /&#62;
Please help me! :)&#60;/p&#62;
&#60;p&#62;Bonus question:&#60;br /&#62;
I really would like for the sub page menu to handle many &#34;levels&#34; of sub pages and displaying them nicely in the sidebar. As I understand now the many levels of sub pages would just be displayed as if they were at &#34;level 1&#34; (if you know what I mean?) :)&#60;/p&#62;
&#60;p&#62;Appreciate the help!&#60;/p&#62;
&#60;p&#62;/Mattias
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
