taxonomy
Display a text snippet if one of the taxonomy terms is 'green'?
I want to be able to show or hide a text snippet on a node based on whether or not it was tagged with a specific taxonomy 开发者_StackOverflow社区term.[详细]
2023-01-12 19:01 分类:问答Taxonomy view with nodes
Using Drupal 6, I\'m trying to create a page with views that shows something like the following: -Taxonomy Term 1[详细]
2023-01-12 06:18 分类:问答Terms by vocabulary in node.tpl
I\'ve created a variable in template.php that let\'s me print terms by vocabulary. The problem is that I want to be able to pass in a vocabulary id to select a specific vocabulary. My code looks like[详细]
2023-01-11 04:10 分类:问答Wordpress: How can I exclude posts in child taxonomies from a custom taxonomy query?
My WordPress theme has a custom taxonomy called \"Collections\". The custom taxonomy is hierarchical, so there are subcollections.[详细]
2023-01-10 19:11 分类:问答Add & Separate Custom Post Types in Taxonomy.php / Taxonomy Page
I have a taxonomy.php file to display taxonomy terms. I added a filter in functions.php to include post types for the taxonomy page query. This filter:[详细]
2023-01-10 03:48 分类:问答get_page_by_title in Wordpress. How to use to fetch posts?
Recently, Wordpress added in the Trac that you can fetch posts by title using: get_page_by_title Instead of querying the database straight up. If I wanted to get post titled \"my farm\", how would I[详细]
2023-01-10 03:45 分类:问答Wordpress - Custom taxonomy page of custom post type listing by terms
I have a taxonomy-taxonomy.php page that needs to look like so: CUSTOM POST TYPE TITLE (RESOURCES) Custom Taxonomy 1 (Resource Types)[详细]
2023-01-09 13:07 分类:问答Get all posts from custom taxonomy in Wordpress
Is there a way to get all the posts from a taxonomy in Wordpress ? In taxonomy.php, I have this code that gets the posts from the term related to the current term.[详细]
2023-01-09 00:49 分类:问答How can I programmatically add taxonomy terms to a node in hook_nodeapi()?
I am creating a module that needs to tag nodes with taxonomy terms when they are created. I have implemented hook_nodeapi() to do this, and am trying to add the term in there like so:[详细]
2023-01-07 19:28 分类:问答Not sure how to programmatically filter by taxonomy metadata in my custom search webpart
I have pages in a pages library on a publishing site which have a managed metadata (taxonomy) field in their content type. I want my custom search webpart to read the taxonomy set on its parent page ([详细]
2023-01-06 10:52 分类:问答