Is it possible to post with Word 2007 via XML-RPC and limit categories by user?

As per comment it is hard to answer this without knowing specifics of setup. In general there are two generic approaches to this: Prevent unwanted terms from being returned by filtering get_terms_args or other available hooks. Prevent unwanted terms from being saved (or cancel them right after) by hooking somewhere in wp_insert_post(). The more complex, … Read more

Listing Parent, Child and GrandChild Categories and then the PostTitles on Page Template !

This would be the way I’d do it. Add the following to your functions.php; class Walker_Category_Posts extends Walker_Category { function start_el( &$output, $category, $depth, $args ) { parent::start_el( $output, $category, $depth, $args ); if ( $category->parent ) return $output; if ( $posts = get_posts( ‘posts_per_page=-1&no_found_rows=1&update_term_cache=0&cat=” . $category->term_id ) ) { $output .= “<ul>’; foreach ( … Read more

Allow contributors to add categories, but not delete

Since the category widget on the post page only lets you create categories and not delete them, you could just hide access to the main category editor page for this user type, and allow them to still create categories within the post editor. You could do this with CSS or javascript, something like $(‘ul.wp-submenu a[href=”https://wordpress.stackexchange.com/questions/14060/edit-tags.php?taxonomy=category”]’).hide(); … Read more

Creating archive pages for children categories

Create 2 pages category-news.php & category-video.php & put this code in them. Then customize the markup for both as you like <?php $children = get_categories(‘child_of’=>get_query_var(‘cat’)); $cat = array(get_query_var(‘cat’)); foreach($children as $child) $cat[] = $child->term_id; $catPosts = new WP_Query( array( ‘category__in’ => $cat, ‘posts_per_page’ => 5, ‘orderby’ => ‘date’, ‘order’ => ‘DESC’ ) ); while ($catPosts->have_posts()) … Read more

Previous/next link to post in category, NOT tag?

Defaults First, you don’t have to put ‘&laquo; %link’ in, as this is already the default value. WPDB Query Your “Problem” is, that the underlying funtion adjacent_post_link() uses get_adjacent_post() if it’s not querying an attachment. This then builds the following JOIN part for the query: INNER JOIN $wpdb->term_relationships AS tr ON p.ID = tr.object_id INNER … Read more