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 );

Programmatically add posts from specific category to menu

I’m not 100% sure if I get you right, but maybe this will solve your problem: add_filter( ‘wp_nav_menu_items’, ‘fx_user_menu’, 10, 2 ); function fx_user_menu( $items, $args ) { if ($args->theme_location == ‘primary’) { $myposts = get_posts( array( ‘category’ => <YOUR CATEGORY ID GOES HERE>, ‘posts_per_page’ => 5 ) ); foreach ( $myposts as $post ) … Read more

Showing recent post of category in page

Here is a start. This is how I display related posts from the category the post are in. You will just need to add your own loop and CSS Create a template called content-related.php Inside that paste the following code <?php /** * The default template for displaying realted posts * * @package WordPress * … Read more