Khal3d
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Networking WordPress
In reply to: How can I create blogs on different path?I’m using root directory for another thing!
Can’t use it for installing wordpress!Forum: Plugins
In reply to: How can I get custom posts by category?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();Forum: Fixing WordPress
In reply to: How do i add "Tags" to custom post types?I found a solution to enable tags in custom post types by adding this code to register_post_type
'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!
Forum: Fixing WordPress
In reply to: How do i add "Tags" to custom post types?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')
Viewing 4 replies - 1 through 4 (of 4 total)