Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Chris Dillon

    (@cdillon27)

    Hi J,

    Good idea.

    I am working on a template editor where you can select which fields are displayed and where, e.g. client name above the testimonial, company website below, etc. I can add the timestamp field with some formatting options like “{month} {date}, {year}”, “{mm} {Y}”, etc.

    The template editor is still 2-3 weeks away so in the meantime would you like to try it in your version? I can give you some code to add that would immediately fork your version and therefore not be overwritten by any patches between now and when the template editor is ready.

    And if so, do you know some PHP or would you need the timestamp code too?

    Chris

    Thread Starter capitalismclown

    (@capitalismclown)

    hi, thanks for that i will see what i can do, i know the wordpress timestamp stuff, its quite easy really.

    yes go ahead and send and i will see what i can do.

    one thing i might suggest is some better styling, CSS is my forte really, also have you considered using bootstrap to keep these responsive?

    J

    Plugin Contributor Chris Dillon

    (@cdillon27)

    To disable plugin update notices, add this to the top of strong-testimonials.php:

    /**
     * Disable plugin update notice.
     */
    function remove_update_notification( $value ) {
      if ( $value )
        unset( $value->response[ plugin_basename( __FILE__ ) ] );
      return $value;
    }
    add_filter( 'site_transient_update_plugins', 'remove_update_notification' );

    CSS is NOT my forte so I welcome any suggestions. Strong was forked from GC Testimonials and I kept the original layout so I could focus on the nuts and bolts of adding features. I plan to make that original layout optional and to allow users to contribute their layouts that others could download and install from my website.

    I will look into using Bootstrap. If you want to take the lead, feel free to make pull requests at https://github.com/cdillon/strong-testimonials. I will gladly share the credit.

    Plugin Contributor Chris Dillon

    (@cdillon27)

    I have not worked with Bootstrap but it seems like overkill unless a site is already using it. And you can make a site responsive without it.

    I will add it to the feature voting list (which is coming soon) to gauge interest. Maybe it should be an add-on module instead.

    For those already using Bootstrap, the best option may be disabling the Strong stylesheets on the Settings page so you can fully style the testimonials in your theme, ensuring their responsiveness.

    Plugin Contributor Chris Dillon

    (@cdillon27)

    Fast-forward almost a year.

    If you have found this topic looking for a way to display the date in the testimonial, the current solution is to create a custom template file. Until I can write a tutorial, contact me for help.

    If you have found this topic wondering about responsiveness, I am not aware of any responsive issues other than the testimonials may not shrink properly when resizing the screen. Since that is not a real-life use case (only something developers and designers do) I don’t feel the need to address it.

    If you want bulletproof responsiveness, disable the plugin stylesheets and make your theme do the work. (I have yet to use a plugin that outputs anything to a page without having to tweak the style. Mine included ;))

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘display date / time of submission’ is closed to new replies.