Created
January 28, 2014 12:19
-
-
Save spacedmonkey/8666689 to your computer and use it in GitHub Desktop.
Change wp seo markup
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
/** | |
Change the wrapper of breadcrums to span to ul | |
**/ | |
function change_breadcrumb_output_wrapper($old){ | |
return "ul"; | |
} | |
add_filter( 'wpseo_breadcrumb_output_wrapper', 'change_breadcrumb_output_wrapper' ); | |
/** | |
Change the wrapper of each breadcrum to span to ul | |
**/ | |
function change_breadcrumb_single_link_wrapper($old){ | |
return "li"; | |
} | |
add_filter( 'wpseo_breadcrumb_single_link_wrapper', 'change_breadcrumb_single_link_wrapper' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment