startecommerce2
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: guid field is empty for attachment in wp_posts‘gui’ => ” means it should take the default value and the default URL/GUID format
Forum: Fixing WordPress
In reply to: Update/Control the Post data that appears in search pageThat does not help, I have resolved that by calling the required post data on search page by editing content.php file
Hi Guys,
First of all I want to thank you all for this golden and great thread.
I implemented something to show my Taxonomies in dropdown list in submit form.
Now when the user select taxonomy, this taxonomy will be saved in variable as string (e.g. Blue)
But how I can add this selected taxonomy with specific post_id?
what is the function that sync the taxonomy to the current post id or to any post id?
also can i do that if i have the taxonomy name/slug?
Please advise
Forum: Fixing WordPress
In reply to: How to show custom taxonomie instad of category on this?I am not sure if you resolved this or not yet.
but for now you can define the taxonomy array as below
<?php $args = array(
‘show_option_all’ => ”,
‘show_option_none’ => ”,
‘orderby’ => ‘ID’,
‘order’ => ‘ASC’,
‘show_count’ => 0,
‘hide_empty’ => 1,
‘child_of’ => 0,
‘exclude’ => ”,
‘echo’ => 1,
‘selected’ => 0,
‘hierarchical’ => 0,
‘name’ => ‘cat’,
‘id’ => ”,
‘class’ => ‘postform’,
‘depth’ => 0,
‘tab_index’ => 0,
‘taxonomy’ => ‘category’,
‘hide_if_empty’ => false
); ?>and then call <?php wp_dropdown_categories( $args ); ?>