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.
Using Drupal 6, I\'m trying to create a page with views that shows something like the following: -Taxonomy Term 1
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
My WordPress theme has a custom taxonomy called \"Collections\". The custom taxonomy is hierarchical, so there are subcollections.
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:
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
I have a taxonomy-taxonomy.php page that needs to look like so: CUSTOM POST TYPE TITLE (RESOURCES) Custom Taxonomy 1 (Resource Types)
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.
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:
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 (