Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mgibbs189
Created August 2, 2018 13:50
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 mgibbs189/92d8caf65579513f542ae984a37930da to your computer and use it in GitHub Desktop.
Save mgibbs189/92d8caf65579513f542ae984a37930da to your computer and use it in GitHub Desktop.
FacetWP replace double arrows (<<) with pointers (←)
<?php
// Add this to functions.php
add_filter( 'facetwp_pager_html', function( $output, $params ) {
$output = str_replace( '&lt;&lt;', '&larr;', $output );
$output = str_replace( '&gt;&gt;', '&rarr;', $output );
return $output;
}, 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment