Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #15782
    Prisca
    Participant

    Hello 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

    #20891
    Anonymous
    Inactive

    Hi 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', 'circumference' )
    #20893
    Prisca
    Participant

    Thank 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 🙂

    #20894
    Prisca
    Participant

    YEAH! All gone now. Thank you SO much again

    Have a great weekend 🙂

    #20896
    Anonymous
    Inactive

    Cool.. Have a great weekend . Did you do it from CSS or by changing the PHP code ?

    #20898
    Prisca
    Participant

    Hello 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

    #20899
    Anonymous
    Inactive

    Dear 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.

    #20904
    Prisca
    Participant

    Of 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

    #20971
    Jeremy
    Participant

    Can the php be edited in the child theme? or does it need to be changed in the main theme?

    #20972
    Prisca
    Participant

    Hello 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 🙂

    #20976
    Anonymous
    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.

    #20977
    Prisca
    Participant

    Thank 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

    #20978
    Anonymous
    Inactive

    Welcome Prisca 🙂

    #15783
    Jeremy
    Participant

    Thank 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.

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.