Drupal 7 - Taxonomy Menus Programming Web Development by mytyms … to create and display menus in the below format using taxonomy(category,subcategory).I have also created Views to fetch the… taxonomy values. (See attached taxonomy.png) Menu1 -- > Menu2 ---> Menu3 Menu4 Menu5… Woocommerce Archive Working But Not Taxonomy Programming Web Development by Robert_36 …Structure: /%category%/%postname%/ 1) I have created custom taxonomy post type "product" with its slug &…wooauteur') && !is_archive('wooauteur')) { echo "TAXONOMY"; woocommerce_get_template( 'taxonomy-wooauteur.php' ); } elseif((is_archive('wooauteur') &&… Wordpress custom post type with custom taxonomy slug Programming Web Development by Bachu …i am facing one issue is http://example.com/taxonomy-slug/%term%/post-title this is my custom post …/products/cars/bmw-z4 Here products -> taxonomy-slug cars -> taxonomy-term bmw-z4 -> product title custom-…is working, but also its working when i change taxonomy term value Exg: http://example.com/products/crs/bmw… Get the taxonomy associated to a post Programming Web Development by Carlos_7 … location. I have a list of countries using that taxonomy. I need to display the latest posts in a list … I do a loop of posts and retrieve the location taxonomy associated to each post so I can put the url… Re: Get the taxonomy associated to a post Programming Web Development by Carlos_7 …"]; $terms = get_the_terms( $id, 'location' ); is giving me the correct taxonomy (Portugal) in this strucuture array(1) { [145]=> object(stdClass…1) “0″ ["term_taxonomy_id"]=> string(3) “146″ ["taxonomy"]=> string(8) “location” ["description"]=> string… Re: Get the taxonomy associated to a post Programming Web Development by Carlos_7 …/expoff/wp-content/themes/inovve/images/flags/.png ie the taxonomy name is missing.... :/ Re: Get the taxonomy associated to a post Programming Web Development by Carlos_7 It's empty..... Why the hell $terms = get_the_terms( $recent->ID, 'location' ); doesn't get the taxonomy data?? I'm driving mad! Re: Get the taxonomy associated to a post Programming Web Development by diafol … $recent['ID'] and I'm assuming 'location' is a valid taxonomy. Are you sure it's $terms[0] and not just… Re: Get the taxonomy associated to a post Programming Web Development by Carlos_7 …(1) “0″ ["term_taxonomy_id"]=> string(3) “146″ ["taxonomy"]=> string(8) “location” ["description"]=> string… Archive page for custom taxonomy Programming Web Development by reibi Sorry there's no wordpress section. So I posted here. Need to build archive page for custom taxonomy as below: **Archive** July 2015 June 2015 Thanks in advance. Taxonomy Community Center Geeks' Lounge by Netcode 1st world countries (developed), no second world but the poor ones are called third world countries. Why? Re: Taxonomy Community Center Geeks' Lounge by nezachem AFAIK, it comes from the Cold War times. Then there were superpowers (USA and USSR), developed countries, and the third world. Re: Taxonomy Community Center Geeks' Lounge by GrimJack US and NATO countries were the first world, communism/Soviet Union was the second world, and the non-aligned countries were the third world. The first and second worlds would fight over the third worlds. Re: Taxonomy Community Center Geeks' Lounge by Netcode [QUOTE]and the non-aligned countries were the third world[/QUOTE] The non-aligned or the non-existing because many of the countries grouped in the third world never existed during the soviet Re: Taxonomy Community Center Geeks' Lounge by GrimJack You are, of course, referring to the few countries that have torn themselves loose from the old USSR. The whole of South America, Africa, and Asia with their assorted countries were the 3rd world. The UN has 193 member states - of them, about 173 were considered 3rd world. The actual count depends on when during the cold war you want to count … Re: Taxonomy Community Center Geeks' Lounge by Netcode Grim Jack, you seem to be talking from so much knowledge. I think you would be better in journalism....lol Can i have an article to read up. I love history and historic movies Re: Taxonomy Community Center Geeks' Lounge by GrimJack Go to your local used book store and pick up a copy of Howard Zinn's [U]A People's History of the United States[/U] - don't try to read it in one sitting, just keep it around and when something comes up, take a look at a 'different' point of view. [QUOTE]What happens to a dream deferred? Does it dry up like a raisin in the sun? Or … Re: Taxonomy Community Center Geeks' Lounge by Netcode Thanks alot, would check that. I really love e-books so i dont know if i can be provided with a link Re: Taxonomy Community Center Geeks' Lounge by GrimJack I would bet that your local library would have it in electronic form. Re: Taxonomy Community Center Geeks' Lounge by Netcode Got some reading to do. Thanks GrimJack Re: Wordpress custom post type with custom taxonomy slug Programming Web Development by Dani I have no WordPress experience at all so take what I say with a grain of salt, but is it possible that WordPress is doing this on purpose? In other words, they know what URL you are meaning to go to, so they’re sending you to it? What I would recommend you do is to inspect the HTML code of the multiple pages and see if WordPress has them all … Re: Get the taxonomy associated to a post Programming Web Development by diafol I'm assuming that you have DB tables. So maybe something like this: ## POSTS ## post_id ... post_body post_user_id ## USERS ## user_id ... country_id ## COUNTRIES ## country_id country_name country_image country_image = the filename of the flag of that particular country and possibly the path too. But I usually leave off the path in case I … Re: Get the taxonomy associated to a post Programming Web Development by Carlos_7 You can check it here http://inovve.net/expoff/ Re: Get the taxonomy associated to a post Programming Web Development by diafol So your `$terms[0]->slug` is empty. Do a print_r($terms[0]); In the loop to see whether it's empty or not. In fact your 'alt' attribute is also empty, so it seems that your object isn't returning what it's supposed to. If you had all this info, why didn't you show it in the first post? :) Re: Get the taxonomy associated to a post Programming Web Development by Carlos_7 OK will try that I didn't have this info when started the thread, I tried hard to solve the problem after creating original post :) Re: Get the taxonomy associated to a post Programming Web Development by Carlos_7 but get_the_terms is a wordpress function.... http://codex.wordpress.org/Function_Reference/get_the_terms Re: Get the taxonomy associated to a post Programming Web Development by diafol Yes, but not native php function. I don't enjoy looking up codices for third party apps. It's WP's udf. PS I edited my last post when you posted yours. Re: Get the taxonomy associated to a post Programming Web Development by Carlos_7 mate the problem is that on $terms = get_the_terms( $recent->ID, 'location' ); $recent->ID returns null but here http://codex.wordpress.org/Template_Tags/get_posts says: > To access a post's ID or content without calling setup_postdata(), or in fact any post-specific data (data retained in the posts table), you can use $post->… Re: Get the taxonomy associated to a post Programming Web Development by diafol OK So does $recent_posts contain anything? print_r this to see what's contained. Does it have to be called $post instead of $recent_post ? Can't see why it should, but there again I'm no WP guy. Re: Get the taxonomy associated to a post Programming Web Development by diafol Is this the $terms object? Have you tried $terms->name. I really don't like std objects :( Is it $terms[145]->name ?