php - Removing Date/Time/Author Name in WordPress Posts -
I currently have a WordPress site have been developed and what changes in the template file tags.php it would like to know the date in , Time and the author's name
This is the code that I believe I need to change, though every time I welcome the deadly screen of death.
if (! Function_exists ('makewp005_posted_on')): / ** * Prints HTML with the current post-date / time and meta information for the author. * / Function makewp005_posted_on () {$ TIME_STRING = '& lt; Time class = "Publish date of entry" datetime = "% 1 $ s" & gt;% 2 $ s & lt; / Time & gt; '; If (get_the_time ('U') == get_the_modified_time ('U')!) $ TIME_STRING = '& lt; Time class = "update" datetime = "% 3 $ s" & gt;% 4 $ s & lt; / Time & gt; ; $ TIME_STRING = sprintf ($ TIME_STRING, esc_attr (get_the_date ( 'C')), esc_html (get_the_date ()), esc_attr (get_the_modified_date ( 'C')), esc_html (get_the_modified_date ())); printf (__ ( '& lt; span class = "post on" & gt;% to 1 $ s & lt; / span & gt; & lt; span class = "byline" & the gt;% 2 $ s & lt; / span & gt; ',' makewp005 '), sprintf (' & lt; a href = "% 1 $ s" rel = "bookmark" & gt;% 2 $ s & lt; / a & gt; ' , esc_url (get_permalink ()), $ TIME_STRING), sprintf ( '& lt; span class = "author vcard" & gt; & lt; a class = "url fn n" href = "% 1 $ s" & gt; % 2 $ s & lt; / a & gt; & lt; / span & gt; ', esc_url (get_author_posts_url (get_the_author_meta (' ID '))), Esc_html (get_the_author ()))); } end if;
Thanks!
Why do not you use CMS / API to remove them?
I believe this post is an option to delete information;
Comments
Post a Comment