• Resolved selvarajah

    (@selvarajah)


    Hi Ben,

    I’m setting up a blog over @ commpraxis.com using the Verbo theme. There’s a meta function that outputs the date / poster / comments. The theme, itself, allows me to remove the entire meta section, but not just the date.

    I’ve poked around the .php files and since I’m not a dev, so I can’t seem to find this function to try and drop in some code. Any ideas?

    Thanks so much,
    Ian

    https://www.ads-software.com/plugins/wp-old-post-date-remover/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    Hey Ian,

    Verbo doesn’t put the date into any span or div to make it hideable. That’s the bad news.

    The good news is that by making a simple modification to the meta.php file, you get your desired result.

    find the meta.php file at themes/verbo/cfg/templates/meta.php

    Line 10 currently starts like this:

    <time datetime="<?php echo get_post_time(

    add a class of “entry-date” to make it look like this:

    <time class="entry-date" datetime="<?php echo get_post_time(

    Save the file, and you should be good to go!

    Keep in mind that theme changes get overwritten by theme updates, so every time Verbo comes out with a new one you’ll need to go and make this change again. And you should always install updates to themes. Always. The way to keep from having to do it over and over is to make a child theme with your customizations.

    Also, never update php files from within the WordPress dashboard. Always use a text editor and FTP or SSH to connect to your server.

    Hope that helps!

    Also, I noticed that for a reason I don’t fully understand, the developer for Verbo put lots of “min-height” declarations in the theme. That means that even though the time div is hidden, it won’t shift the other elements left, because there’s a div with a min-height of 1px declared. That’s mildly annoying for me, so I dug in to figure out how to make that div actually hide. in the bootstrap.min.css file at themes/verbo/media/css, I took out the only reference to “min-height:1px;” and it did the trick. Since it’s a minified CSS file, it’s really tough to see everything going on there, but that’s the only 1px min-height in the file.

    Keep in mind that things might be different on my local development install, so your milage may vary on that change, but I thought it was worth mentioning.

    Thread Starter selvarajah

    (@selvarajah)

    Awesome, worked like a charm – and a special thank you for going the extra mile with the CSS!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dates Still Showing on Verbo Theme’ is closed to new replies.