• I am trying to get my wordpress menu’s script to load into a text file so that I can incorporate the menu into my phpbb installation.

    Anyone have an idea of how to do this? I have been doing it manually up until now, but there are some issues with that. Here is an excerpt of what I have right now as my phpbb menu:

    <li id="menu-item-25754" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-25754"><a href="http://www.pazzles.net/wordpress/about">About</a>
    <ul class="sub-menu">
    	<li id="menu-item-30946" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-30946"><a href="http://pazzles.com/about/" onclick="_gaq.push(['_trackEvent', 'outbound-widget', 'http://pazzles.com/about/', 'Contact Us']);">Contact Us</a></li>
    	<li id="menu-item-25784" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25784"><a href="http://www.pazzles.net/wordpress/member-exclusive-discounts">Member Exclusive Discounts</a></li>
    	<li id="menu-item-25753" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-25753"><a href="http://pazzles.com/partners/" onclick="_gaq.push(['_trackEvent', 'outbound-widget', 'http://pazzles.com/partners/', 'Partners']);">Partners</a></li>
    	<li id="menu-item-25752" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-25752"><a href="http://pazzles.com/retail-show-schedule/" onclick="_gaq.push(['_trackEvent', 'outbound-widget', 'http://pazzles.com/retail-show-schedule/', 'Retail Shows']);">Retail Shows</a></li>
    </ul>
    </li>
    	<li id="searchform-item">
    			<form method="get" id="searchform" action="http://www.pazzles.net/wordpress/">
    				<input type="text" class="field" name="s" id="s" placeholder="search here …">
    				<input type="submit" class="submit" name="submit" id="searchsubmit" value="Go">
    			</form>
    		</li>
    		</ul>
    		<a href="#nav" title="Show navigation" id="menudropdown" ></a>
    		<a href="#" title="Hide navigation" id="menudropdown"></a>
    	</div>
    	</nav>
    </div><!-- end of #header -->

The topic ‘Menu script to text’ is closed to new replies.