Tagged: x
-
AuthorPosts
-
September 21, 2016 at 4:55 pm #1185467
nolanplantParticipantI’m trying to add the same URL/link at the end of the breadcrumb on all posts that are a specific custom post type. I was playing with woocommerce filters, but then I realized the breadcrumb is being replaced by x-theme (I’m running integrity). Below is as far as I got and unfortunately I couldn’t find specific documentation on x-theme filters. Any help appreciated.
add_filter( 'woocommerce_breadcrumb_defaults', 'custom_woocommerce_breadcrumb' ); function custom_woocommerce_breadcrumb() { if ( ( get_post_type() == 'maplist' ) && is_singular() ) { return array( 'after' => '<a href="https://website.com/locations">Locations</a>' ); } }September 21, 2016 at 10:39 pm #1185887
FriechModeratorHi There,
Thanks for writing in! Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.
Thanks for understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1185467 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
