Tag Info

Hot answers tagged

2

As stated in a comment, your get_posts parameters are wrong. There is no such parameter as term_id. You should make use tag which uses the tag slugs as a string or tag__in which uses the tag ids in an array This will work $posts = get_posts('numberposts=6&tag='. $tags->slug); or this will work $posts = get_posts('numberposts=6&tag__in=' . ...


2

include the conditional tag is_paged() within your if statement; example: if ( $i == 1 && !is_paged() ) :


1

Okay, got a temporary solution, suggested by one of my non-WP colleague, Mr. Shamim. And tested in WP 4.0 with success — It's the bulk publish from drafts. The idea is, whatever the series of posts or bunch of posts are to publish, first save 'em as a draft. Then on the time, when it's time, check all of them in a bunch, choose Edit from the Bulk ...


1

Here's a sketch of another idea, where we create scheduling shortcuts to make it easier for the users: We can use the post_submitbox_misc_actions to add extra fields to the submit box: /** * Scheduling-Shortcuts fields. * * @see http://wordpress.stackexchange.com/a/168748/26350 */ add_action( 'post_submitbox_misc_actions', function() { if( ! ...



Only top voted, non community-wiki answers of a minimum length are eligible