Jeff K
Forum Replies Created
-
Forum: Plugins
In reply to: [HMS Testimonials] Rating with Stars not with numbersHi viperjmu,
Here is some example code for your themes functions.php file. You have to provide your own images and update their path in the code below though.
function hms_rating_override($text) { /** * Detect the current rating */ $matches = null; $getMatches = preg_match('/data-rating=\"(\d)\"/', $text, $matches); if ( count($matches) == 2 ) { $rating = $matches[1]; return '<img src="/path/to/my/star/images/' . $rating . '.png" alt="' . $rating . ' out of 5 stars" itemprop="ratingValue" />'; } return $text; } add_filter('hms_testimonials_system_rating', 'hms_rating_override');
Forum: Plugins
In reply to: [HMS Testimonials] Rich snippet issuesUnsuccessful how? Did an error occure on your site or is Google still not liking the meta data?
Forum: Plugins
In reply to: [HMS Testimonials] adding embedded video as testimonialThere seems to be some trouble with it. I will look into the issue.
Forum: Plugins
In reply to: [HMS Testimonials] Template question??
Forum: Plugins
In reply to: [HMS Testimonials] Template questionThis will add some padding to the left and right of each block.
.hms-testimonial-container .date, .hms-testimonial-container .author { display:inline-block; padding:0px 8px; }
Nope but I just sent you an email that you can reply to.
Forum: Plugins
In reply to: [HMS Testimonials] Template questionYou would need to use CSS.
Something like this:
.hms-testimonial-container .date, .hms-testimonial-container .author { display:inline; }
See the post I replied to a minute ago
Can you send me a copy of your themes functions.php file. I am guessing the filter wasn’t added in the correct spot.
For your title, you mis-spelled title in the custom field area. It’s currently “cf-titel” instead of “cf-title” like your CSS references.
Either change the custom field or change your CSS for it to work.
Forum: Plugins
In reply to: [HMS Testimonials] Can't add testimonials to existing group in overviewThis is fixed in the update I am pushing today.
Forum: Plugins
In reply to: [HMS Testimonials] Can't edit group names – suggestion for improvementThis will be in the update I push today.
This has to be done in your theme and depends on the themes structure.
For instance, if your sidebar has a class of “sidebar” you can use CSS like this to target just the sidebar:
.sidebar .hms-testimonial-container { // some styles here }
Forum: Plugins
In reply to: [HMS Testimonials] Can't add testimonials to existing group in overviewWow crazy. I am able to replicate it so hopefully I will have it fixed by the end of the weekend.
Forum: Plugins
In reply to: [HMS Testimonials] Can't edit group names – suggestion for improvementI have added this to my todo list.
No ETA on when it will be added in though!
Forum: Plugins
In reply to: [HMS Testimonials] Last testimonialTry this:
.hms-testimonial-container:last-child { border-bottom:0px; }