Forums
(@khal3d)
13 years, 5 months ago
I’m using root directory for another thing! Can’t use it for installing wordpress!
13 years, 8 months ago
I found the solution to get custom posts By category “term” Not ID
$posts = new WP_Query(array('taxonomy' => 'portfolio-categories', 'term' => $category->slug)); while ( $posts->have_posts() ) { $posts->the_post(); // Dot somethings } wp_reset_query();
14 years, 2 months ago
I found a solution to enable tags in custom post types by adding this code to register_post_type 'taxonomies' => array('post_tag')
'taxonomies' => array('post_tag')
by the way i’m looking for another solution because some plugin doesn’t have this code and tags working fine … i don’t know why ??
And this solution use tags for post and make it available for posts and my custom post!
This is my code and every thing is working fine but unfortunately tags not working with me!
'supports' => array('title', 'thumbnail', 'excerpt', 'comments', 'custom-fields', 'tags')