I have no idea what a ‘block number’ is, but when themes output the date for a post they will use either the_date()
or the_time()
(or both). You can replace the output using the filters the_date()
or the_time()
:
add_filter(
'the_date',
function( $the_date, $format ) {
$block_number="whatever a block number is";
return $block_number;
},
10,
2
);
Related Posts:
- Cannot save CPT meta box
- Custom Form / Search with Custom Post Type Data
- what is the correct way to compare dates in a WP query_posts meta_query
- don’t publish custom post type post if a meta data field isn’t valid
- Search multiple custom fields by using meta_query
- Custom post status not working
- clients list using wordpress
- echo value from ‘select’ field type into page template using cmb2?
- Add custom field to media attachment image attribute in post editor
- Detect meta value changes when post is updated (post_updated)
- Search everything (posts, pages, tags, cpt, meta)
- White screen error for a custom theme
- How to sort CPT by custom meta value (date), and return posts month by month
- Custom Post Type with Custom Title
- Automatically assign a custom post to a custom taxonomy based on custom field value
- Saving multiple Metabox contents
- How can I customize “Pages” admin (edit.php) and “Edit Page” admin (post.php) for bulk edit of custom content type?
- How do you output custom code between posts in the loop?
- Community and User Generated Content Website: Have been thinking about Drupal but leaning on WordPress heavily
- How to get Custom Post ID by adding filter to child theme’s function
- Related links – from other sites
- Saving repeated option values in a custom query
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- Assigning the same custom meta box to multiple post types
- Dynamically add / duplicate custom meta in custom post types
- How to insert content from another Custom Post type into Post?
- Create a post in custom post type using field in registration form after users submit form
- Copy custom field value to post title
- How to structure a site with product variations pages?
- How to customize a permalink (URL) structure?
- get_post_meta not working on publishing
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Meta Query posts not showing on ending date of custom field
- Allow users to create posts without logging in?
- don’t publish custom post type post if a meta data field isn’t valid
- Redirect to another page using contact form 7? [closed]
- Warning: Invalid argument supplied for foreach() [closed]
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- custom post data – how to
- How to customize work area / admin area in a custom post type without plugins?
- ACF in wordpress
- How to display custom field value on page?
- Add an Outside Wrapper to my Header and Make it Full Width
- How to inherit field value from parent post into in child / sub post
- Sort custom post type by most current date picker
- Custom post type’s posts are not showing anywere but in xml sitemap
- Display custom post type for specific user
- post_content is stripping HTML when adding a new post? [closed]
- Custom post type in Custom widget – $listItem
- How to display a WordPress Custom Field only on a specific day of the week?
- Need to have an archive widget which organizes and displays a custom post type using a custom date field
- Let users upload image(s) to the post from front end
- How to hide a custom field from admin?
- Post visibility option to theme front-end for author to select?
- Excerpt length: get first paragraph
- How to keep a record of changes to a custom field?
- Function to add custom HTML into head in custom post-type list page
- Problem with date comparison for custom fields
- Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate [closed]
- How do I ensure that post_type and Taxonomy use the same slug?
- How to sort WP_Query by a custom text field (written as a date dd/mm/yyyy)
- Adding a location field to buddypress activity
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- How can I fetch all the dates from custom fields from various different custom post types and show / list them at one place in ascending order?
- How to convert Post Object Custom Field into Tags
- Problem with multi checkboxes value in metabox?
- Displaying posts inside table having issues
- Automatic Set Category For A Custom Post Type
- How to Disable option of meta field if that option is selected for any other post in custom post type?
- Stored meta from attachment, video length?
- Populate custom post type/custom fields from an external database
- Custom Field to post_title
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Pre_get_posts comparison with custom field doesn’t work
- Get month and day from a Date Picker custom field
- How to get past and upcoming post by defining date in custom field?
- Function not pulling image or text from custom post type
- How to display custom post type ordered by a custom field date
- I want to split this into two functions
- Select Menu for Custom post Type does not save
- Generate daily archive whenever any post type is added
- How can i display on front page a movie that is atached in a post type
- Allow authors to create article image
- Custom post type functions.php if statement on action
- Exposing custom fields to the user in custom type post
- Creating post custom field text area
- Is it possible to specify a time interval (from, to) in ACF with date picker, or other custom field?
- Sort CPT by taxonomy AND THEN by custom field
- Set post date before 1970
- Using custom field as custom post title
- Having trouble with custom date field for CPT query (WordPress)
- How to retrieve custom field types for all posts in WordPress/PHP?
- Need functionality with all post list available at edit.php
- create a new page from a custom post type similar to an authors page
- How can I sort the order of multiple custom field values in a custom post type?
- My post loop needs to have 8 different post templates
- How to properly set a value to meta fields of a custom post type in WP-API/node-wpapi REST API?
- How to string lines from the_content() hook in WordPress?