Most probably off-topic question…
You can use:
$var = date("D");
to get the current day of the week. Then make a switch
or a series of if-else
to choose which posts you’ll want to display for that day.
Related Posts:
- How to get WordPress Time Zone setting?
- Converting timestamps to local time with date_l18n()
- PHP function showing wrong time in WordPress
- How to get year, month and hour in WordPress?
- Why does this echo values in the wrong order?
- WordPress returns a wrong date
- How to check for WordPress timezone type?
- Unable to set right time in admin and frontend template
- Convert a date to ISO8601 date format
- wrong php date()?
- display month in french in wordpress/php?
- Displaying the Month and Year that a page was Created?
- Get date numerical and separate?
- Print last modified date only on posts
- Find hours between post_date and post_date_gmt
- 3 different times on my WordPress website
- How to get User Time Zone in WordPress?
- Check If Post Was Published More Than 6 Months Ago Using get_the_date
- How do I check or test a WordPress Auto Year Change Script?
- Shortcode function doesnt work without caption
- Comparing Dates from custom field
- Get date function not working
- PHP time function ($today) for GMT +1
- Hide publish date when update date
- If Post Published Date or Modified Date is 1 Year or Older, Display Notice on Post Page
- How to detect and handle the time difference between server and user in WordPress?
- No more get_option(‘date_time’) in WordPress 5.5?
- WordPress wrong dates bug
- How to pull date/time in french format for wordpress post?
- Can’t add to time? [closed]
- Ordering / grouping posts by datepicker ACF
- Array sorting assistance
- Adding a number to a date
- Display Year and Month from custom field + Age Calculator
- Display Current Time using shortcode
- How do I convert a custom field to a php date format? [closed]
- Change date/time format in custom plugin
- Convert custom field date format to “WordPress default”
- Undefined variable in functions.php file [closed]
- load/require specific php files for specific pages/templates/post types
- How to correct schedule my event weekly with wp_schedule_event()
- Execute a shortcode when clicking on a image
- get_the_content if it contains multiple lines it results in SyntaxError
- How can I add a class to a single menu item?
- How to enlarge the media file upload size in wordpress admin
- How do I hardcode a WordPress shortcode into my theme?
- Debugging PHP object during Ajax call in WordPress
- Display Post co-authored in Author Page
- Include Class File in WordPress
- How can I use a $wp_customize to edit my homepage image slider?
- WordPress override bloginfo variable
- How do I display a user’s previous orders as a select box option on a product?
- How to Highlight unread WordPress posts?
- Echo a hierarchical list of post data from custom fields
- ajax, right way to do it and make it works?
- How to combine wordpress_logged_in cookies in one cookie?
- Automated Cart Update With Alert Box Each Time
- Need help with Google drive API [closed]
- Is it possible to increase php memory without directives in wp-config.php, .htaccess or php.ini?
- Adding widgets to my plugin page instead of WordPress dashboard
- How to escape attachment image caption text?
- WordPress admin is incredibly slow [closed]
- Archive post by meta value + 24hours
- Different post styles depending on category
- Configure Php server with ISAP
- Shortcode to show the code
- db converts decimal number wrong
- How to keep empty fields from appearing in php?
- Include Parent Term in wp_list_categories
- Can I make get_users() query global?
- Add product to cart for user – WC()->cart->add_to_cart [closed]
- preg_replace regex problem
- iframe not showing in content on blog page
- What’s wrong with this piece of code? [closed]
- Where to copy woocommerce files to in my custom theme to avoid editing the core plugin?
- Attaching images to posts manually (i.e. with custom code, without the use of an API)
- How do I add my PHP app to a WordPress page whilst keeping semantic URLs?
- Cascading dropdown select search based on Parent Page & Child Page
- WordPress cascading dropdown selection search based on Parent Page & Child Page
- I can’t go to the page archive-{post_type}.php
- Loading Widgets Via Child Theme
- WordPress 5.6 Application Passwords
- (solved) WordPress Site not loading properly
- Class ‘WP_Privacy_Requests_Table’ not found
- Use Search Term in html link and redirect
- register_block_type is not working properly
- WordPress creating a compund query or using data from one post type to access another
- AJAX numerical pagination problem in TwentyFifteen-child theme
- Store data from JavaScript object to custom table in user account
- Permalink doesn’t navigate to post (changes only url)
- Javascript Tab Gallery with Advanced Custom Fields
- Generate a radius search of custom post type locations
- If input field has value Require another field – PHP
- Snapshot Theme from WooThemes — empty ‘alt’ attribute
- Determine if only one image attached to a post/page
- get_avatar from user id
- How do I change the Go To Categories link in the term_updated_messages
- wp_mail vs mail functions and header arrays
- How can I change the URL via add_rewrite_rule()
- How can I change the location where the custom field is displayed in the Quick Edit tab in WordPress