Cannot Create a new Post [closed]

You can try each one of these: Go to WordPress Dashboard > Settings > Permalinks and simply hit Save Changes. Make sure there’s no index.html in your website’s root directory (i.e. the directory in which WordPress files are located). Create an .htaccess file in your wp-admin directory with the following contents: <IfModule mod_security.c> SecFilterEngine Off … Read more

Is the only way to add taxonomy terms via an admin panel?

I think you are looking for wp_insert_term(). An example from the Codex: $parent_term = term_exists( ‘fruits’, ‘product’ ); // array is returned if taxonomy is given $parent_term_id = $parent_term[‘term_id’]; // get numeric term id wp_insert_term( ‘Apple’, // the term ‘product’, // the taxonomy array( ‘description’=> ‘A yummy apple.’, ‘slug’ => ‘apple’, ‘parent’=> $parent_term_id ) );

Custom template pagination

If you’ve created a Custom Post Type, then WordPress should be able to handle this for you automagically. Check the Template Hierarchy. Instead of creating a “Page” and trying to paginate that, create archive-{post_type}.php instead. That file will be used as the index file for your CPT, and will show up automatically at http://yoursite.com/news. You’ve … Read more

Number of unpublished comments for each post

I wonder if you’re looking for the wp_count_comments() function. To retreive comment count statistics for the whole site, you can use: $comments_count = wp_count_comments(); or for a given post ID: $comments_count = wp_count_comments( 123 ); It will return an object with the following attributes: $comments_count->moderated $comments_count->approved $comments_count->spam $comments_count->trash $comments_count->total_comments Check the Codex for more information … Read more