Question:
How can I grab the next n number of day’s entries starting on the current day?
Answer:
Start on for recent content - related article.
<?php
global $LOC;
$current_time = gmdate('Y-m-d H:i A' , $LOC->now);
?>
{exp:weblog:entries weblog="{master_weblog_name}" display_by="day" limit="7"
sort="asc" show_future_entries="yes" start_on="<?php echo $current_time; ?>"}
You’ll need the template containing this to have PHP set to Input.
Category:Templates Category:Entries Category:PHP
