Custome post type “tags” pick default archive instead of custom post type archive
Have you checked out https://wordpress.stackexchange.com/a/62263/19164 You need to register_taxonomy to let it use your custom post tags
Have you checked out https://wordpress.stackexchange.com/a/62263/19164 You need to register_taxonomy to let it use your custom post tags
You need to change your ‘orderby’ parameter. $term_args = array( ‘number’ => $per_page, ‘offset’ => $offset, ‘orderby’ => ‘slug’, ); $terms = get_terms(‘my_taxonomy’, $term_args); WordPress slugs automatically remove punctuation and such so this is probably all you need to do in order to accomplish what you want.
I would suggest not using Pages, leaving them to more standard “static” content, and use a custom post type (eg. music). Since you do have content on all 3 levels, you might want to use a hierarchical custom post type, where the author is the parent content, albums are the author’s children and tracks are … Read more
Custom taxonomy check box now showing up
It is not possible. When wordpress is parsing the URL, pages are the lowest priority (or fallback default), which means that anything with the same url that is not a page will “win” over them. You just need to use the same code you wrote for the template of the page for the archieve. You … Read more
I just found out what I was doing wrong. Apparently you have to place archive pages in the root folder of your theme. I placed them in a subfolder called templates. This works for page templates with a template name, but not for taxonomy.php, archive.php, single.php etc.
Update you code with this <?php // Output all Taxonomies names with their respective items $catCount = 0; $terms = get_terms(‘sermon-series’); foreach( $terms as $term ): ?> <div class=”sermon_title_area”> <h3><?php echo $term->name; // Print the term name ?></h3> <div class=”sermon_date”> <p><?php echo $term->description; ?></p> </div> </div> <div class=”flexslider carousel”> <ul class=”slides”> <?php $posts = get_posts(array( … Read more
You’re definitely getting an array of what I believe is all of the models, but you should be able to use has_term like you did, but with the $model variable as what to check for. $model should be the ID number for the categories that you’re seeing. And then just use get_cat_name by passing in … Read more
Invalid taxonomy with custom script
Why get_terms() behaves strangely when being called in admin (for use in meta box)?