Skip to content

Instantly share code, notes, and snippets.

@halgatewood
Created May 15, 2014 06:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halgatewood/cc5a7ba97d4b2a93acba to your computer and use it in GitHub Desktop.
Save halgatewood/cc5a7ba97d4b2a93acba to your computer and use it in GitHub Desktop.
Changing the Prev/Next Font Awesome Icons for my Testimonial Rotator
// HORIZONTAL SCROLLING AND FADING
function hg_change_next_icon()
{
return 'fa-arrow-circle-o-right';
}
add_filter('testimonial_rotator_fa_icon_next', 'hg_change_next_icon');
function hg_change_prev_icon()
{
return 'fa-arrow-circle-o-left';
}
add_filter('testimonial_rotator_fa_icon_prev', 'hg_change_prev_icon');
// VERTICAL SCROLLING
function hg_change_vert_next_icon()
{
return 'fa-arrow-circle-o-up';
}
add_filter('testimonial_rotator_fa_icon_next_vert', 'hg_change_vert_next_icon');
function hg_change_vert_prev_icon()
{
return 'fa-arrow-circle-o-down';
}
add_filter('testimonial_rotator_fa_icon_prev_vert', 'hg_change_vert_prev_icon');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment