Created
December 8, 2023 23:23
-
-
Save zackeryfretty/aa386c18003ba4602d7940b30f959f0c to your computer and use it in GitHub Desktop.
Allows you to customize the Left/Right arrows on the carousel in the 'Content Grid' module using Beaver Builder PowerPack.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function zf_cg_carousel_nav_arrows_custom($nav_arrows){ | |
$nav_arrows['left'] = '<i class="wpbff wpbff-caret-left"></i>'; | |
$nav_arrows['right'] = '<i class="wpbff wpbff-caret-right"></i>'; | |
return $nav_arrows; | |
} | |
add_filter('pp_cg_carousel_nav_arrows','zf_cg_carousel_nav_arrows_custom'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment