Adding Updated Post Date PHP Custom Theme

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 … Read more

What $handle does WordPress use for a theme’s implicit style.css?

Themes’ style.css files are not enqueued for printing automatically (see the developer handbook) – instead this responsibility is left to the theme developer. As such, you’ll need to delve into the parent theme’s source files to determine the appropriate handle. That said, developers sometimes default to using ‘theme’ or ‘style’ handles. Note that the developer … Read more