taxonomy

Custom Post Type and Taxonomy Permalink Rewrite in WordPress 3.0.1

I have a 'story' Custom Post Type and 'artist', writer' Taxonomies. I need to set rewrite rules in the functions.php for the permalinks to look like this: Artist (Taxonomy/Category): http://www.example.com/isaac-deutscher (/%artist%) Writer (Taxonomy/Category): http://www.example.com/jean-paul-sartre (/%writer%) Story (Custom Po...

Multiple Custom Permalink Structures in Wordpress

I have one Custom Post Type 'story' and two taxonomies, 'artist' and 'writer'. I have managed to get a Custom Permalink Structure like /%artist/%writer%/%story% by doing this (resumed code): add_action('init', 'custom_init'); add_filter('post_type_link', 'story_permalink', 10, 3); function custom_init(){ $story =...

Permalink with Taxonomies in Wordpress in the form /%term_id%/%term_slug%

I need a permalink to be in the form /writer/%term_id%/%term_slug/, as /writer/123/hand-made-shoes I get the following code but it do not resolve the correct permalink. What could I be missing? function writer_structure(){ global $wp_rewrite; $writer_structure = '/writers/%writer_id%/%writer%'; $wp_rewrite->add_rewrite_tag...

Drupal Views and Content Taxonomy.

Hello, I have been searching all morning and have yet to come across the solution for my problem.. problem is: I have successfully created a CCK content type using the content taxonomy module (which allows me to use a vocabulary as the content). the user is asked to select his/her preferred cultures. so in simple terms form holding a...

Wordpress 3.0, Custom taxonomies and WPML

Hellp ! I'm working on a bilingual (chinese & french) language learning platform. I have posts that actually need to be displayed on the same page. The post in french is a list of words, that are translated in chinese using the WPML ui. For example I have a post about the notion of birth that is tagged in my taxonomy as the term "life...

Drupal Views: Get nodes with the same taxonomy as the current node.

Hi Folks, I have a Content-Type with taxonomy-terms. It's a select-list, so it can have only one taxonomy - at least of that vocabulary. Now I need to build a view that lists all nodes with the same taxonomy. Thought that this wouldn't be too hard since it sounds pretty basic. Yet I can't get it working. Any ideas? I'm trying to avoid...

Taxonomy of categories

Hi, I am looking for a taxonomy of categories in a kind of tree structure for my project. For example: Organiation -> (Finance, Business, Government) Finance -> (Hedge fund, equities) Person -> (Sports, Music, Technology) Sports -> (Football, Soccer, Basketball) Music -> (Rock, pop) Is there a place, I can find this high level cate...

Use a Taxonomy ID as permalink structure in Wordpress

Hi there! It is common to use %post_id% and %postname% in our permalink structure. My question is: Is there a way to use a structure based on the ID of Tags, Taxonomies and Categories?? Example: mysite.com/my-taxonomy/ -> mysite/2/ Thanks ...

Custom Taxonomy in URL of Custom Post Type in Wordpress 3.0

I have a custom_post_type called book. I have a custom taxonomy called color. The post is assigned green which is a value of the color taxonomy. How can I have a url that is normally like this: website.com/book/post-name Become a url like this: website.com/book/green/post-name ...

Could someone please tweak this php code for me? Drupal code.

I found this code to work on my Drupal site. It outputs the taxonomy terms in a comma separated list. It successfully builds my taxonomy list to look like this: Business, Entertainment, Leisure While that's great, its using the same names to link itself in the url and so I get this: www.yourdomain.com/category/Business How can I make...

How do I display just the children of the parent term on a taxonomy archive page?

Basically, I have created a custom post type and a custom taxonomy for that custom post. The custom taxonomy is hierarchical and the client plans on adding hundreds of categories. Because of this, they want the main page to display only the top level parent which is easy enough. However they want a drill down menu which only shows the pa...

Taxonomy of a website and considerations

Hi All, Please let me know is why taxonomy is important for website development? What are the important considerations for taxonomy development? Many thanks, ...

Strip tags from a WordPress Function

Trying to print my custom post type's taxonomy but without the link. Tried this, but doesn't seem to work, any suggestions? $text = the_terms($post->ID,'type','','',''); echo strip_tags($text); Any help would be greatly appreciated... I'm about to start punching babies. ...