Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1093404
    Dosatronusa
    Participant

    Hi,

    I am using the plugin The Grid. I need to know how to remove the date, comment, and category sections on the Quito skin and change the text “read more”. I tried to contact support for The Grid but I have to have a purchase code and as you know I don’t because it came with X Theme. Can you help or do I have to purchase The Grid to get help from their support team?

    Thanks

    #1093471
    Lely
    Moderator

    Hello There,

    Thanks for posting in. The GRID doesn’t offer much in their documentation on how to edit the skins. I can’t find this option on their UI. This leaves us the option to edit the skin code that we can find on the plugin folder here: wp-content\plugins\the-grid\includes\item-skins\masonry\quito\quito.php.

    We can use CSS to hide date, comment, and category. Add this on Appearance > Customize > Custom > Edit Global CSS:

    .quito .tg-cats-holder, .quito .tg-item-footer {
        display: none !important;
    }

    Or you can remove this part from quito.php file:

    		$html .= '<div class="tg-item-footer">';
    		$html .= $content['date'];
    		$html .= (!empty($comments)) ? '<span>/</span>' : null;
    		$html .= $comments;
    		$html .= '</div>';
    

    For the read more line, you can find it on line 19:
    'read_more' => __( 'Read More', 'tg-text-domain' ), // Read more text
    Update that line to your preferred text. Unfortunately, this will not be update proof and can be replace once you update the plugin.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1093404 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>