WordPress – Add a Page Title to All Page/Post Types
There are times when you may need a shortcode to add the current page or post title somewhere on your site.
There are times when you may need a shortcode to add the current page or post title somewhere on your site.
A “published date” shortcode can be created and placed in your functions.php document to be used in various places in your pages, posts, or site sections.