Hal Gatewood
Forum Replies Created
-
Forum: Plugins
In reply to: [Awesome Weather Widget] Does Pro Version Show C?If it’s doing that in the FREE version it will probably be doing that in the PRO version.
Can you post your whole shortcode, so I can test?
Forum: Plugins
In reply to: [Awesome Weather Widget] Weather not displayingFinding your City ID is much more reliable. Try this approach: https://halgatewood.com/docs/plugins/awesome-weather-widget/finding-city-id
Forum: Plugins
In reply to: [Awesome Weather Widget] Conditions are… well wrong.Please check the widget against your city in this form: https://openweathermap.org/find?q=
There is also a button to clear cached in the admin under ‘Settings’ -> ‘Awesome Weather’
Forum: Plugins
In reply to: [Awesome Weather Widget] Does Pro Version have Ajax Refresh?Hello again, I just added AJAX to the PRO version today. v2.0+
Forum: Plugins
In reply to: [Awesome Weather Widget] Does Pro Version have Ajax Refresh?The FREE and PRO do not have Ajax by default. Here is a code snippit that perhaps will get you going:
https://gist.github.com/halgatewood/bd3add0be01e4a3cde9365dddee55c1c
The ‘use_user_location’ attribute is not in the FREE version, however.
Can you try modifying my plugin on the file:
/wp-content/plugins/testimonial-rotator/testimonial-rotator.php
Line 685 it says
wp_reset_postdata();
can you change that towp_reset_query();
Forum: Plugins
In reply to: [Testimonial Rotator] Navigation DotsHere is the filter:
function hg_add_rotator_pager() { echo '<style>'; echo '.cycletwo-pager { text-align: center; }'; echo '.cycletwo-pager span { font-size: 40px; cursor: pointer; cursor: hand; }'; echo '.cycletwo-pager-active { color: red; }'; echo '</style>'; echo '<div class="cycletwo-pager"></div>'; } add_action('testimonial_rotator_after', 'hg_add_rotator_pager');
I included the CSS in the filter. But you should remove that and move it into your theme’s CSS file. The elements are:
.cycletwo-pager
.cycletwo-pager span
.cycletwo-pager-active
You create custom templates for the pager too. Here is the documentation on that:
https://jquery.malsup.com/cycle2/demo/pager.phpJust make sure any reference you have to
data-cycle
change it todata-cycletwo
- This reply was modified 6 years, 1 month ago by Hal Gatewood.
- This reply was modified 6 years, 1 month ago by Hal Gatewood.
- This reply was modified 6 years, 1 month ago by Hal Gatewood.
Forum: Plugins
In reply to: [Testimonial Rotator] Post Type for this PluginThere are two:
testimonial
andtestimonial_rotator
Forum: Plugins
In reply to: [Testimonial Rotator] Read More for ExcerptsHi Heidi,
Check out the two attributes
show_link
andlink_text
for the shortcode:https://halgatewood.com/docs/plugins/testimonial-rotator/full-list-rotator-attributes#show_link
These should help you out.
HalForum: Plugins
In reply to: [Testimonial Rotator] randomiser not refreshing each page loadPerhaps you have some caching or something going on. Here is a way to hopefully bypass any caching. Add this filter to your
functions.php
in your theme:function hg_testimonial_rotator_randomize( $current, $template_name, $rotator_id ) { return ' data-cycletwo-random="true" '; } add_filter( 'testimonial_rotator_data_attributes' , 'hg_testimonial_rotator_randomize', 10, 3 );
Been out of town for a while. Just submitted version 2.5.2 that should fix this.
Thanks,
HalForum: Plugins
In reply to: [Testimonial Rotator] Division by zero in testimonial-rotator.php on line 547Thanks! I just pushed version 2.5.1 with your fix!
Forum: Plugins
In reply to: [Testimonial Rotator] Average Star RatingJust released version 2.5. Here is some info about this:
https://halgatewood.com/docs/plugins/testimonial-rotator/show-an-aggregate-ratingThanks.
Forum: Plugins
In reply to: [Testimonial Rotator] Excess Whitespace/Padding above and below the rotatorHere is some CSS that could help:
.testimonial_rotator_wrap { margin: 10px 0px -20px 0px !important; }
- This reply was modified 6 years, 2 months ago by Hal Gatewood.
Forum: Plugins
In reply to: [Testimonial Rotator] False average rating in Schema mark-upIt’ll be in the next release. Thanks for your work on this!