WordPress post carousel

This code is taken from another answer but slightly modified to load your posts from the portfolio post type. This shows you how to load several posts and includes them in a slider. With some modification to the Loop you could out put the first X posts and cycle them using an offset parameter. JavaScript … Read more

https and wordpress breaks posts

My best educated guess is to perform a checklist on the following: Take a look at the virtual host configuration files for your domains, if you have access to them. Ensure that they agree with the corresponding WordPress installations on your machine(s). If your Virtual Host configurations are written correctly and as intended, then the … Read more

Display specific posts on home page

You have to know the ID/s of the category/categories you wish to show. Then add ‘category’ => ‘X’ in the array. X is the ID of your category. Example: $args = array( ‘numberposts’ => ‘5’, ‘category’ => ‘3’ ); or if you wish more then one category: $args = array( ‘numberposts’ => ‘5’, ‘category’ => … Read more

Scheduling posts via sql

The closest thing I can think of is a plug-in which will periodically take a draft and publish it for you. http://wordpress.org/plugins/drafts-scheduler/ Maybe that will help you. Update: above plugin has some issues so I wrote another one for this purpose. http://www.superblogme.com/auto-post-scheduler/

Current and next month posts

try this query_post for up to 3 posts for the current month: $current_year = date(‘Y’); $current_month = date(‘m’); $args = array( ‘year’ => $current_year, ‘monthnum’ => $current_month, ‘order’ => ‘DESC’, ‘posts_per_page’ => 3 ); query_posts( $args );

The loop does not show users

You need to add this code to the file functions.php. function custom_post_author_archive($query) { if ($query->is_author) $query->set( ‘post_type’, array(‘post-type’, ‘post’) ); remove_action( ‘pre_get_posts’, ‘custom_post_author_archive’ ); } add_action(‘pre_get_posts’, ‘custom_post_author_archive’);