<?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: Menu inside page</title>
		<link>http://www.kriesi.at/support/topic/menu-inside-page</link>
		<description>Support Forum - Topic: Menu inside page</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 07:14:56 +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/menu-inside-page" rel="self" type="application/rss+xml" />

		<item>
			<title>Mya on "Menu inside page"</title>
			<link>http://www.kriesi.at/support/topic/menu-inside-page#post-72964</link>
			<pubDate>Mon, 27 Aug 2012 00:28:51 +0000</pubDate>
			<dc:creator>Mya</dc:creator>
			<guid isPermaLink="false">72964@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Altandmeier,&#60;/p&#62;
&#60;p&#62;Okay, I see. To do a nested menu that automatically populates you'll want to use this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
  if($post-&#38;gt;post_parent)
  $children = wp_list_pages(&#38;quot;title_li=&#38;amp;child_of=&#38;quot;.$post-&#38;gt;post_parent.&#38;quot;&#38;amp;echo=0&#38;quot;);
  else
  $children = wp_list_pages(&#38;quot;title_li=&#38;amp;child_of=&#38;quot;.$post-&#38;gt;ID.&#38;quot;&#38;amp;echo=0&#38;quot;);
  if ($children) { ?&#38;gt;
  &#38;lt;ul&#38;gt;
  &#38;lt;?php echo $children; ?&#38;gt;
  &#38;lt;/ul&#38;gt;
  &#38;lt;?php } ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So in the Step 4 from above instead of posting what I listed you'll want to post the code in this thread. You can also the line from functions.php that I told you to add in Step 1. If you need more information or want more options for that code check out the WordPress codex.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://codex.wordpress.org/Function_Reference/wp_list_pages&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/wp_list_pages&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Hope this helps! Let us know if you have more questions.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Mya
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Altandmeier on "Menu inside page"</title>
			<link>http://www.kriesi.at/support/topic/menu-inside-page#post-72671</link>
			<pubDate>Fri, 24 Aug 2012 10:05:12 +0000</pubDate>
			<dc:creator>Altandmeier</dc:creator>
			<guid isPermaLink="false">72671@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Instead of the menu, I need the nested pages there. For example:&#60;/p&#62;
&#60;p&#62;Services &#38;gt; Consulting&#60;/p&#62;
&#60;p&#62;Once you are in Consulting you have an horizontal top menu with the subnavigation which contains all the pages nested in services section.&#60;/p&#62;
&#60;p&#62;Do you understand what I mean? :-)&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Altandmeier on "Menu inside page"</title>
			<link>http://www.kriesi.at/support/topic/menu-inside-page#post-72668</link>
			<pubDate>Fri, 24 Aug 2012 09:18:31 +0000</pubDate>
			<dc:creator>Altandmeier</dc:creator>
			<guid isPermaLink="false">72668@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Mya, one last question... If I want that menu to be the nested pages in current page, what shoud I put in code? I mean, I don't want to create a menu, I want to populate automatically the nested subpages in the current page as horizontal menu.&#60;/p&#62;
&#60;p&#62;Do you understand?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Altandmeier on "Menu inside page"</title>
			<link>http://www.kriesi.at/support/topic/menu-inside-page#post-72461</link>
			<pubDate>Thu, 23 Aug 2012 08:58:16 +0000</pubDate>
			<dc:creator>Altandmeier</dc:creator>
			<guid isPermaLink="false">72461@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks Mya,&#60;/p&#62;
&#60;p&#62;I'm cool with php and css edition, not a programmer, but I understand syntaxis.&#60;br /&#62;
I need to keep both current sidebar on the right, and put the new horizontal bar on the top. That code you explained to me keeps the sidebar on the right? Is it independent?&#60;/p&#62;
&#60;p&#62;Thanks for your support.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mya on "Menu inside page"</title>
			<link>http://www.kriesi.at/support/topic/menu-inside-page#post-72395</link>
			<pubDate>Thu, 23 Aug 2012 01:38:32 +0000</pubDate>
			<dc:creator>Mya</dc:creator>
			<guid isPermaLink="false">72395@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Altandmeier,&#60;/p&#62;
&#60;p&#62;What you can do is create a new template with the nav_menu function listed then add some CSS to your custom.css or Quick CSS to style the menu to go horizontally. If you're comfortable with editing PHP and CSS then here's the basic steps.&#60;/p&#62;
&#60;p&#62;1) Find these lines in your functions-choices.php (located in your theme's directory)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//call functions for the theme
add_filter(&#38;#39;the_content_more_link&#38;#39;, &#38;#39;avia_remove_more_jump_link&#38;#39;);
add_post_type_support(&#38;#39;page&#38;#39;, &#38;#39;excerpt&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Directly underneath the last line add this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;register_nav_menu( &#38;#39;secondary&#38;#39;, __( &#38;#39;Horizontal Menu&#38;#39; ) );&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Save the file/close.&#60;/p&#62;
&#60;p&#62;2) Open page.php and save as page-menu.php&#60;/p&#62;
&#60;p&#62;3) In page-menu.php (or whatever you call it) add &#34;Template Name: Page with Menu&#34; to the second line so it looks like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
Template Name: Page with Menu
global $avia_config;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;4) Again in page-menu.php, find this line:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;div class=&#38;#39;template-page content  &#38;lt;?php avia_layout_class( &#38;#39;content&#38;#39; ); ?&#38;gt; units&#38;#39;&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Underneath add this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php wp_nav_menu( array( &#38;#39;theme_location&#38;#39; =&#38;gt; &#38;#39;secondary&#38;#39; ) ); ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;5) Go to Pages &#38;gt; Your Page and select the new page template under the Template dropdown&#60;/p&#62;
&#60;p&#62;6) Go to Appearance &#38;gt; Menus &#38;gt; Create new menu and select that menu under Secondary in the Theme Locations box&#60;/p&#62;
&#60;p&#62;7) Add this to your custom.css&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/*menu*/
.secondary_menu{
float: left;
clear:both;
position: relative;
z-index: 100;
padding:0;
line-height:30px;
height:15px;
margin:9px 0;
left:-15px;
}

.secondary_menu ul{
margin:0;
padding: 0;
}

.secondary_menu ul ul, .secondary_menu .pointer_arrow{
border-style: solid;
border-width: 1px;
}

.secondary_menu ul:first-child &#38;gt;li &#38;gt; ul{
border-top:none;
}

.secondary_menu .pointer_arrow_wrap{
display:none;
}

.secondary_menu ul:first-child &#38;gt; li{
line-height: 30px;
height: 30px;
}

.secondary_menu ul:first-child &#38;gt; li &#38;gt; a{
display:block;
text-decoration: none;
padding:0 15px;
text-transform: uppercase;
font-weight: bold;
border-left-style: solid;
border-left-width: 1px;
line-height: 1em;
font-size:12px;
font-family: &#38;quot;HelveticaNeue&#38;quot;, &#38;quot;Helvetica Neue&#38;quot;, Helvetica, Arial, Verdana, sans-serif;
}

#top .secondary_menu .menu li:first-child&#38;gt;a{
border:none;
}

.secondary_menu ul:first-child &#38;gt; li.current-menu-item &#38;gt; a, .secondary_menu ul:first-child &#38;gt; li.current_page_item &#38;gt; a{
font-weight: bold;
}

.secondary_menu .menu li a strong {
display:block;
font-size:14px;
font-weight:normal;
cursor: pointer;
}

#top .secondary_menu .menu li{
float:left;
position:relative;
z-index:20;
float:left;
padding:0;
margin:0;
}

#top .secondary_menu .menu ul li{
padding:0 18px;
}

.secondary_menu .menu ul {
display: none;
margin-left:0;
left:0;
/*
left:50%;
margin-left:-104px;
*/

position: absolute;
top: 24px;
width: 208px;
z-index: 2;
cursor: pointer;
padding:4px 0;
-moz-box-shadow: 0 30px 60px rgba(0,0,0,0.1);
-webkit-box-shadow: 0 30px 60px rgba(0,0,0,0.1);
box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.secondary_menu .menu ul li a{
border-top-style: solid;
border-top-width: 1px;
}

#top .secondary_menu .menu li ul a{
width:170px;
height:auto;
float:left;
text-align:left;
line-height:23px;
padding:6px 0;
font-size: 12px;
min-height: 23px;
max-width: none;
text-decoration: none;
}

#top .secondary_menu ul ul{
top:auto;
padding-top: 0px !important;
}	

#top .secondary_menu .menu li ul ul {
left:192px;
top:0px;
margin:0;
}

#top .secondary_menu .menu li ul ul {}

#top .secondary_menu .menu li:hover ul ul, #top .secondary_menu .menu li:hover ul ul ul,#top  .secondary_menu .menu li:hover ul ul ul ul{
display:none;
}
#top .secondary_menu .menu li:hover ul, #top .secondary_menu .menu li li:hover ul, #top .secondary_menu .menu li li li:hover ul, #top .secondary_menu .menu li li li li:hover ul{
display:block;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Note the above CSS is a copy of the default main menu style so you'll need to make adjustments.&#60;/p&#62;
&#60;p&#62;Hope this helps!&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Mya
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Altandmeier on "Menu inside page"</title>
			<link>http://www.kriesi.at/support/topic/menu-inside-page#post-72137</link>
			<pubDate>Tue, 21 Aug 2012 18:04:58 +0000</pubDate>
			<dc:creator>Altandmeier</dc:creator>
			<guid isPermaLink="false">72137@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I'm thinking that the best way to do it will be creating a new horizontal sidebar on top of the page after the slide... But the question is: How can I create that new horizontal sidebar, then to put inside the child menu with subpages?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Altandmeier on "Menu inside page"</title>
			<link>http://www.kriesi.at/support/topic/menu-inside-page#post-72124</link>
			<pubDate>Tue, 21 Aug 2012 16:59:45 +0000</pubDate>
			<dc:creator>Altandmeier</dc:creator>
			<guid isPermaLink="false">72124@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Is it possible to have the nested subpages menu (like the sidebar navigation does) but in top of the page between the slideshow and content?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
