Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @skromta – As noted in my original post, I ended up doing some actual SQL updates in the WP database to make the dates appear the way that I wanted. Not ideal, but it worked fine. I backed up the entire site first. I took a very cautious and careful approach to avoid any unfortunate oops moments.

    As a long-time technology industry guy [multi-vocational along with my Pastor duties], I had enough experience to write the queries to read the records and make prudent updates to the right ones. I still did a little research on the fields in the posts tables and so on, so this is not necessarily the best approach for everyone.

    It might be an opportunity to look for a plugin that is designed to help you update those values through the WordPress admin interface rather than through brute force SQL commands. 🙂

    Thread Starter skromta

    (@skromta)

    Before I started to look into the SQL part, I decided to look at the generated HTML, the CSS and the PHP code (I’m don’t know much about any of these three). And ended up with an another type of solution.

    I changed the following lines in the CSS file

    .published:not(.updated) {
    display: none;
    }

    to

    .updated{
    display: none;
    }

    .published:not(.updated) {
    /* display: none; */
    }

    And yes, I know that until I can move this CSS code out of the theme CSS then it will disappear when the theme is updated. But for the time being it seems to work. Another possible solution would be to modify the amble_posted_on function in the template-functions.php file but modifying the CSS file seemed easier.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.