Two changes in post-meta

Home Forums Gillion Theme Two changes in post-meta

Home Forums Gillion Theme Two changes in post-meta

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • avalidusername
    Participant

    Hi there, Shufflehound.

    I would like to change two annoying things in post-meta section.

    1. There is annoying black-fade when I’m moving mouse over date or post author. Normally it’s gray, but on mouse-over it turns nearly black. It looks bad when background is black. So I would like to get rid ot this effect.
    2. Date of the post is always date of newest version. I would like to leave it as date of first publish. Unfortunately, I’ve tried to find a solution for this and every function always shows the date of the latest version of the post, not the date of the first publication. There is such a function in WordPress – it shows in the post panel, but the date in the post is always shown as the date of the latest version.

    Post in private field was posted 31 january 2024 and date in post-meta should be like that, but it’s always newest date (last update). I’ve edited post-meta slightly to include Wonderpush and last update there, but date of publish should be changed. Is it possible to change this in Gillion to achieve this effect – first publication date instead of current date?

    Attachments:
    You must be logged in to view attached files.

    Shufflehound
    Moderator

    Hi there, thanks for reaching out.

    For the hover effect, you can add this custom CSS to remove the nearly black fade on mouse-over:

    .blog-slider .post-meta a:hover { 
       color: #ffffff !important; 
       opacity: 0.8 !important; 
    }

    Regarding the publication date, Gillion currently displays the latest update date by default, and there isn’t an option in the theme settings to switch this to the original publish date. To show the first publish date instead, you would need to override the theme’s template files using a child theme so that it calls the function that outputs the original publish date. Keep in mind that updating the date is generally beneficial for SEO as it indicates that your content is fresh.

    Let us know if you need further assistance with these changes! 🙂

     

    Best regards,

    Shufflehound team

    avalidusername
    Participant

    Thank you, it worked as it should 🙂
    I also added some border and shadow to the header title, so it’s not messing with white background. Looks way better.

    About publish date.
    My website is about history, so date of publish is quite important – theme should show when article was published and when it was updated. AFAIK Google is able to check out if WordPress page is using “updated” word and SEO is able to “catch” that. So I’m usind Last Modified plugin for that, but sadly I can’t get call the function for publish date.

    As you see on linked website: there’s author avatar, name, date and “Last update: X”. But sadly if I have to “call a function” to get publish date there, it is a little above my skills in coding 😀

    Shufflehound
    Moderator

    Hello,

     

    Great to hear that the changes worked! 🙂

     

    Regarding the publish date issue, could you please clarify where you’re seeing the problem? Is it just on the single post page, or are there other areas where the date is displayed incorrectly?

     

    Best regards,

    Shufflehound team

Viewing 4 posts - 1 through 4 (of 4 total)