Support » Plugin: GC Testimonials » Adding a date in the testimonial

Viewing 7 replies - 1 through 7 (of 7 total)
  • can someone please help? thankyou

    Plugin Author devnz


    Hi there, This is not currently built into the plugin, but if you open testimonials.php and add the below at around line 306, it will display the date.

    $display .= '<div class="date">'. mysql2date(get_option('date_format'), $testimonial->post_date) .'</div>';

    You will need to manually format it in your CSS file as no styles have been added for this. We are looking at adding this into another version of this plugin.

    Hi, I’d just like to echo the desire for a date submitted/posted for a future release.

    I can edit testimonials.php as required but stuck with the CSS file and styles. It’s a foreign language to me!

    So, I’ll continue saving the date in the Company Name field for now (in Admin Screen) and displaying that as that’s irrelevant for me). NOt perfect but simple and works.



    hey. i’ve actually did it.

    Do you mean editing the testimonials.php file, or manually formatting it in your CSS file??

    I wouldn’t even know where to start :/

    editing in the testimonials.php

    The above solution posted by devnz worked for me, but the code was not on line 306 (I may have put it in the wrong place, but it still worked for me). I put it in between lines 350-385 where I wanted inside the function:

    function gct_single_testimonial($testimonial) {}

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding a date in the testimonial’ is closed to new replies.