Archive and Categories in Menu


Author Message
Rick Eutsler, Jr.

Posted: 5/17/2009
Quote message 

Ok.. I know I'm not the only one looking for this so I hope someone can help me here. When you are creating a theme in Artisteer the menu shows an elegant dropdown for categories and archives. When it comes to wordpress however, these are not there, nor does is seem an easy thing to get them there. Is there a way to make them work other than manually creating pages and sub pages?

I've managed with plugins to get the basic functionality here by creating pages and sub pages. They are auto updating with the exception of having to create the initial page.

http://www.airgunweb.com

but it would be great if it was really WYSISYG.. don't you think?

Rick
 
Garry

Posted: 5/18/2009
Quote message 

You can insert the following template tag to get archives ondesired location: <?php wp_get_archives('arguments'); ?>

and following: <?php wp_list_categories('arguments'); ?>
for categories
 
Adam

Posted: 5/30/2009
Quote message 

Garry, this is a makeshift solution at best, and it won't appear in the same way pages do, except with complicated and ill-explained fiddling about with functions.php and style.css...which takes away a lot of the purpose of buying this program in the first place. Artisteer seems to be working on correcting this grotesque flaw...finally facing up to it...apparently, though not without first being rude to a whole bunch of customers severely annoyed with the discrepency of how the menu is represented in the program and how it actually appears on the theme. They have even either played dumb or outright lied in saying it can't be done. It is done all the time, though they haven't been doing it.

How about a step-by-step instructions on how to make categories and archives actually appear like it does in the program? Or, how about making the program do what it misleads users in thinking it will do? How about actually fixing the problem instead of fighting (and possibly lying) to customers?
 
Bob

Posted: 5/30/2009
Quote message 

When you open Artisteer it puts sample data into parts of the template like pages and catagories, and archives, but the menu bar at the top isn't showing you catagories that match what is shown in the widget. They are "pages" named whatever appears in the menu area. I never took it as though the functionality you are looking for was a feature. If that was in the documentation I didn't see it.

 
Bob

Posted: 5/30/2009
Quote message 

@Rick

In header.php find this and right after it....

<?php art_menu_items(); ?>

Put this.....

<li class="page_item page-item-13">
<a href="http://yourdomain.com/" title="Category Tab">
<span class="l"></span>
<span class="r"></span>
<span class="t">Category Tab</span></a></li>
<ul>
<?php wp_list_categories('show_count=0&title_li='); ?>
</ul>

This will give you a drop down listing your categories. The category tab itself will take you home but you can have it go anywhere or use "#" and do nothing.
If you right click on your page and view the source you can check to see that the span classes match your page. This is basically all you would have to do and it would add a catagory drop down at the end of the menu bar.


 
Bob

Posted: 5/30/2009
Quote message 

You deffinitly have to check the span tags. I just put it on another blog and it worked but I had to change the span tags a bit. Can see it when you view the page source.

Its here for now if you want to check it out. This might not be what you want. Who knows. http://atcoghost.com

 
acekin

Posted: 8/20/2009
Quote message 

It is not the span but the closing LI tag. It needs to be after the last /UL

The below works on a theme I am developing:

<li class="page_item page-item-13">
<a href="#" title="Category Tab">
<span class="l"></span>
<span class="r"></span>
<span class="t">Category Tab</span></a>
<ul>
<?php wp_list_categories('show_count=0&title_li='); ?>
</ul></li>