Home › Forums › WordPress Themes – Premium › Circumference › Date on posts
- This topic has 13 replies, 31 voices, and was last updated 8 years, 10 months ago by
Jeremy.
-
AuthorPosts
-
January 16, 2015 at 11:59 am #15782
Prisca
ParticipantHello Roshan
Please could you tell me where/how I can remove the POSTED ON date on the blog page – not the author though – just the date: http://www.theportwebdesign.com/our-blog/ – I managed to remove it on the single post but not on the main page above.
Thank you so much 🙂
Cheers, Prisca
January 16, 2015 at 6:35 pm #20891Anonymous
InactiveHi Prisca,
There are two ways to hide. Either hide that element using following CSS :
.posted-on { display:none; }
or
remove the whole element by going into circumference_posted_on() function of inc/template-tags.php file. Here is the code which has it :printf( __( 'Posted on: %1$s by: %2$s', 'circumference' )
January 16, 2015 at 8:00 pm #20893Prisca
ParticipantThank you so much Roshan
I did do the display none in the the css for posted on but it did not work. Worked on the single post but not on the general blog.
I removed what you said and the date is gone – good – but the POSTED ON is still there. I am not good with php so I don’t dare to remove something else that would put my site down ..ha..
Thank you again 🙂
January 17, 2015 at 3:10 am #20894Prisca
ParticipantYEAH! All gone now. Thank you SO much again
Have a great weekend 🙂
January 17, 2015 at 6:36 pm #20896Anonymous
InactiveCool.. Have a great weekend . Did you do it from CSS or by changing the PHP code ?
January 18, 2015 at 9:47 am #20898Prisca
ParticipantHello Roshan
I changed the php code and also I already did the css so I left it there.
BUT…bad news – actually weird news: on Chrome when I open the blog – the date is there – I refresh and it’s gone. On IE same. On Firefox the date is always there – still there after cleaning cache and all.
Sorry to bug you but please would you mind to have a look and tell me if you see the posted on date and on which browser?
Thank you so much 🙂
Cheers, Prisca
January 18, 2015 at 4:34 pm #20899Anonymous
InactiveDear Prisca,
There is some sort of cache in your WP which is causing this ? Do you use any caching plugin for WordPress ? If yes just disable it so cache is invalidated. To test it properly, open the Incognito mode of Google chrome which doesn’t store the Cache and it was not showing posted by there.
January 18, 2015 at 11:07 pm #20904Prisca
ParticipantOf course you are right!!!
I am still totally lost with these cache plugins – when I used Wc3 cache it slowed down my site enormously so I use another: wp fastest cache. Do we really need a cache plugin??? Tell me what you think.
Thank you anyway for the suggestion. I should think about that but seems that I think the wrong way – I think that when I clean the cache plugin it should refresh but seems that it is doing the contrary…
Cheers, Prisca
January 28, 2015 at 1:44 am #20971Jeremy
ParticipantCan the php be edited in the child theme? or does it need to be changed in the main theme?
January 28, 2015 at 2:09 am #20972Prisca
ParticipantHello Jeremy
What I did is: I created a folder inc in the child theme and uploaded the edited file there: inc/template-tags.php – so if I update the main theme this will be saved anyway.
That’s my 2 cents – hope this helps 🙂
January 28, 2015 at 9:53 am #20976Anonymous
Inactive@Jeremy – You should only edit the files of child theme not of parent theme.
@Prisca – I hope your cache problem is not troubling you at the moment. I forgot to reply you last time about your question. Using cache plugin is good as it can lower the page serving time and server overhead in WordPress but make sure the right checkbox are checked as I’ve seen many plugin are not compatible with all the features of the cache plugin.January 28, 2015 at 10:24 am #20977Prisca
ParticipantThank you Roshan. I think the wp fastest cache is the less dangerous but you are right – I always check when I use the minimize js and css.
Thank you for the reply 🙂
Cheers, Prisca
January 28, 2015 at 10:39 am #20978Anonymous
InactiveWelcome Prisca 🙂
January 28, 2015 at 6:39 pm #15783Jeremy
ParticipantThank you both for your input! I have been editing the child theme files, but this particular file didn’t seem to have an impact when changed in the child theme folder. Even after flushing the cache.
I’ll start from scratch and try to edit the child theme again, see if I can’t get it to work.
-
AuthorPosts
- You must be logged in to reply to this topic.