custom post types and tag pages…
-
ok. i have searched… for 2 days now… and can’t quite get this.
maybe i’m just not searching the right terminology, not sure but here’s the issue:i have custom post type “venueprofile” created using pluging “WCK Post Type Creator” (realizing now that i should have just done it myself with functions etc, but that’s another story).
so, after much fiddling and forum searching and codex diving, i have managed to create custom templates for said post type that does what i want – so post type displays exactly how i want, with the tag list for each category within the custom post types displayed at the top…
got as far as being able to click thru to the custom post type tags…
and have come to a roadblock.i cannot seem to make the tag pages display posts alphabetically without making all the other category & tag pages also display alphabetically, which i do not want… i ONLY want posts that are type venueprofile to display alphabetically
i’ve tried
'global $query_string; query_posts($query_string . '&orderby=title&order=ASC');'
and that works great as far as alphabetizing, but it does it for everything.the theme is a child of Max-Magazine, and is constructed with a lot of nested page templates…
so to get to a tag page, i have a custom tag template – tag-victoria.php (i’m just working on one for now… )
which, based on the original tag.php page calls to
get_template_part('includes/content');
for the life of me i cannot figure out how to use a custom content.php for the TAG pages… i have one just fine for the category pages (content-venueprofile.php – works like a charm) but if i try to use THAT one included in the tag-victoria.php it doesn’t work.
are you following?? i’m barely following so…
here’s the site – http://www.bcmusicianmag.com
section in question is http://www.bcmusicianmag.com/venueprofileif you follow along and choose a region, then a city tag, you’ll get to where i’m after… current, the only one with the aforementioned configuration is http://bcmusicianmag.com/tag/victoria
for comparison’s sake, here’s a non-venueprofile tag page
http://bcmusicianmag.com/tag/barbara-bruederlinall i want is the venueprofile tag pages to display the posts alphabetically… and leave all other stuff alone.
will be sooooo grateful to the wizard who can solve this for me…
- The topic ‘custom post types and tag pages…’ is closed to new replies.