Hello, for my website, I needed to be able to choose 1, 2 or 3 days between posts, instead of hours or minutes.
So I modified these lines and it works perfectly. In case someone is worth:
<select id="queue-posts-minimum-interval-type" name="minimum-interval-type">
<option value="h"><?php echo _('hour(s)'); ?></option>
<option value="m"><?php echo _('minute(s)'); ?></option>
</select>
Add option:
<option value="d"><?php echo _('day(s)'); ?></option>
RESULT:
<select id="queue-posts-minimum-interval-type" name="minimum-interval-type">
<option value="h"><?php echo _('hour(s)'); ?></option>
<option value="m"><?php echo _('minute(s)'); ?></option>
<option value="d"><?php echo _('day(s)'); ?></option>
</select>
iN 187 LINE APROX:
if ( $iMinimumIntervalType === 'h' ) {
/* Convert hours to minutes. */
$iMinimumInterval = $iMinimumInterval * 60;
$iAddRandomInterval = rand(0, (60 * 60)); // Minutes
}
}
else {
$iAddRandomInterval = rand(0, ($iMinimumInterval * 60) * 0.2) + rand(0, 60); // Minutes + seconds
}
add between if and else:
else if($iMinimumIntervalType === 'd' ){
/* Convert hours to minutes. */
$iMinimumInterval = $iMinimumInterval * 1440;
$iAddRandomInterval = rand(0, (60 * 60)); // Minutes
RESULT:
if ( $iMinimumIntervalType === 'h' ) {
/* Convert hours to minutes. */
$iMinimumInterval = $iMinimumInterval * 60;
$iAddRandomInterval = rand(0, (60 * 60)); // Minutes
}
/* A?ADIDO DAVID PARA QUE FUNCIONE CON DIAS */
else if($iMinimumIntervalType === 'd' ){
/* Convert hours to minutes. */
$iMinimumInterval = $iMinimumInterval * 1440;
$iAddRandomInterval = rand(0, (60 * 60)); // Minutes
}
else {
$iAddRandomInterval = rand(0, ($iMinimumInterval * 60) * 0.2) + rand(0, 60); // Minutes + seconds
}
sorry for my bad english and my code, i’m a novice coder.
Thanks for the plugin!!
]]>Before anything else congratulations on the plugin, I had already tested several plugins for automatic scheduling and none had complied as yours.
Now I’m just having a little problem, which has to do with the posting interval. Although you put 1 hour or 60 minutes in the settings, when the calendar plugin always puts more time than defined. Do you have any suggestions for overcoming this?
]]>Is there a way to avoid weekends?
]]>This app seems useful. But there’s no pm-time available (except from 12 pm) in the “publish between” setting.
]]>Hello,
Is there an option to queue draft custom post types?
Thank you in advance!
Best Regards,
Stan
Hello,
I hired a team to developed a website using WordPress for a newspaper client of mine. Now my client has a team of editors who post close to 120 to 160 Posts that need to be published at 00:00 the next day.
So achieve they we implemented this plugin, but it doesnt work in the way I mentioned above. So before 00:00, the editor click on the ‘Queue’ button. But once clicking Queue, the time set on each article keep getting set to forward date and months.
Now my development team is not there to help anymore. Please could you tell me, how to modify the code to achieve the following:
– All posts done on the current day should be assigned the schedule publish time of 00:00 the next day when the Queue button is used.
Phil
]]>Hello. I really like this plugin however the interval seems to be too long between posts. Even if I set it to 5 minutes minimum between posts, it will usually always schedule around 1 hour ahead of the previous post. We post a lot more than 24 posts a day so we can’t do one an hour otherwise we’d hit the threshold and end up in the next day.
Is it possible to set it to be like 15 mins- half hour
Thanks
Ash
Hi,
love the idea of the plugin. Got the most recent version but it does not post any posts. I have set it to ?between 4 and 5“ (I suppose a.m.?) and minimum time between posts to 45 minutes because I want 2 posts to be posted every morning.
Something I might have missed or misunderstood?
Thanks very much
]]>