wordpress - How to Remove Date From Posts -
I have the date of all my posts and I want to remove them both from home page and individually. Sweat the site is TheBigStuff.com.
I think the code to see it is in the index.php file and there is something similar in the single php file.
& lt ;? Php ob_start (); ? & Gt; & Lt ;? Php $ icons = array (); ? & Gt; & Lt ;? Php if (! Is_page ()):? & Gt; & Lt ;? Php ob_start (); ? & Gt; & Lt ;? Php the_time (__ ('FJS, Y', 'Kubrick'))? & Gt; & Lt ;? Php $ sign [] = ob_get_clean (); ? & Gt; & Lt ;? Php endif; ? & Gt; & Lt ;? Php if (! Is_page ()):? & Gt; & Lt ;? Php ob_start (); ? & Gt; & Lt ;? Php _e ('by', 'kubarik'); ? & Gt;: & lt; Title = "& lt ;? php _e ('by', 'kubarik') ;? gt;" & Gt; & Lt ;? Php the_author ()? & Gt; & Lt; / A & gt; & Lt ;? Php $ sign [] = ob_get_clean (); ? & Gt; & Lt ;? Php endif; ? & Gt; & Lt ;? Php if (=! = Count ($ sign)):? & Gt;
WordPress uses the function called the_time to display time and time information .
Turn it on:
& lt ?? Php if (! Is_page ()):? & Gt; & Lt ;? Php ob_start (); ? & Gt; & Lt ;? Php the_time (__ ('FJS, Y', 'Kubrick'))? & Gt; & Lt ;? Php $ sign [] = ob_get_clean (); ? & Gt; & Lt ;? Php endif; ? & Gt;
In:
& lt ?? Php if (! Is_page ()):? & Gt; & Lt ;? Php ob_start (); ? & Gt; & Lt ;? Php // the_time (__ ('FJS, Y', 'Kubrick'))? & Gt; & Lt ;? Php $ sign [] = ob_get_clean (); ? & Gt; & Lt ;? Php endif; ? & Gt;
Or just & lt ;? Php // the_time (__ ('FJS, Y', 'Kubrick'))? & Gt;
Delete all together.
Comments
Post a Comment