In the template, right after the echo get_the_date()
, add
$before = " Modified: " ; // note spaces before and after string
$after = " ";
the_modified_date( $d, $before, $after, $echo );
See https://codex.wordpress.org/Function_Reference/the_modified_date for date formatting options. One of those examples might be what you want to see.
Of course, you’ll want to use a Child Theme, so that theme updates don’t overwrite your changes. Once you create the Child Theme structure, copy your template into the Child Theme folder, then make the changes.
Related Posts:
- Function to return true if current page has child pages
- How to determine if WP_DEBUG is enabled? [duplicate]
- List of all theme customizer control types?
- Get author full name
- How to export/import theme customizer settings?
- Is it possible to get a theme customizer setting from wp.customize using jquery?
- How to get the registered sidebar’s name by its id?
- is there a simple way to list every templates / php files used to generate a specific page?
- One button to change all settings in theme customizer?
- How to use copy() function and paste file in /wp-content/themes directory
- Dynamically loaded Theme components based on Customizer Settings values : changes not appearing in Customizer preview – (Workaround found)
- How can I add a class to a single menu item?
- Show different Customizer Settings on Page-Tamplates
- I think emoji are killing my WordPress site… How can I debug?
- How do I list the_tags() into HTML data-attribute
- Am I not understanding plugins?
- Using Font Awesome as post thumbnail
- Custom Logo URL | Help me print the URL of the custom logo I inserted into my theme
- Why is this Ajax not working?
- How do I access the media settings
- How do themes render caption texts in extended markup (e.g. “wp-caption” paragraphs)
- custom shortcode will not display the wrapped content
- Displaying theme options in css
- max_input_vars: how many am I using?
- Using a variable in is_page(array())
- Trigger popup in a php if/else statement
- Anyway to output the registration form like the login form with wp_login_form()?
- How to load a template-part based on a url wildcard?
- Where to edit the template that is generating the code for dynamic_sidebar left-sidebar in the Understrap theme? [closed]
- Multiple WordPress Menus that will only display all pages
- How can I create a list of page titles from custom meta values?
- Custom theme: Alternatives to long list of ‘include’ in functions.php
- How to show part of the_content?
- Wp-login appears White Screen, Error: Cannot modify header information
- get_the_tags() not iterating through for/while loop, but will with foreach
- Hide categories that are not used in the post type
- I have a problem in the order of enqueues while enqueuing stylesheets and scripts for a specific page in my function.php
- Need Help Fixing My Iframes [closed]
- post created but no permalink
- Catchable fatal error: Object of class stdClass could not be converted to string after WP 4.7
- Menu jumping when calling it via PHP
- Trying to retrieve post meta
- can i fetch a custom metabox data in another page or post type?
- Is there a way to conditionally check whether a WordPress post title is empty?
- ‘Post-thumbnails’ feature does not seem to register
- Use .php file as page instead of wordpress page & template file?
- Use WordPress function in php file
- How to set up a If is_singular statement?
- Underscore – Self hosted fonts
- Get title attribute from galleries
- Why in my theme I can’t see all the statics content under the posts?
- Theme not calling Jquery properly
- How can I use a sliced image As banner? [closed]
- Double Curly Brackets in Php
- How to make function appear in sentence?
- Widgets not showing on custom theme
- Get post categories
- Get all posts as an array ID => Name
- How to Update an old theme for the latest wordpress version
- How to modify mobile nav menu text in theme
- Search only working on front page (index) , not working on other pages
- How to get my [shortcode] rendered on the home page, other pages are fine
- Using php inside javascript [closed]
- Why in this WordPress theme I can’t see the Main Menu?
- Toolbar Hidden in a Virtual Page
- Ajax URLs without #!, how to prevent falling into single.php on load or reload?
- Get options from database using php class
- How do I edit the terms output args or array data?
- WordPress single.php get_header not working
- When I click for the redirect link it is showing the content of index.php instead of single_assignment_page.php
- How can I prevent a shortcode div from extending beyond its boundaries?
- Unable to retrieve get_author_posts_url
- Should I set a page as “No-index” if I include it’s content within the front-Page.php via this method?
- Store user form submitted information in post type
- Warning: count(): syntax problem of the count () function
- WordPress files break if I edit them, but adding a closing PHP tag fixes it
- WordPress child theme, creating a custom php template page
- Menu to the right of screen on desktop using Bootstrap 4
- Custom theme admin-ajax.php 400 (Bad Request)
- How to send Ajax Call from frontend without using wp_localize_script in Theme
- Add Text Area To Child Theme’s Home Page
- How to add thumbnails from recent posts to owl-carousel in wordpress automatically?
- Custom theme: adding unwanted tags in the content
- Relative post date in recent posts list
- Not able to get the exact URL of the file on server located in active wordpress theme
- Extend the WP_Customize_Image_Control class to change its non-frame $button_labels
- append links with unique number string
- need help to arabic text in wordpress
- Adding Media button to only pages
- How to implement conditional PHP in Footer
- Adding php within a return statement [closed]
- Using is home to get content [closed]
- How I can give a php page a style from my theme
- Pagination not working properly
- How can I fix my pagination?
- How to store the_post_thumbnail() value in a variable
- How to customize content-video.php file in wordpress as is in html file?
- orderby property of query on pre_get_posts returns incorrect value
- Woocommerce Convert existing order to the cart
- WordPress PHP8 Critical Error in class-wp-widget.php