SWT not working with Genesis Slider
-
Here’s where I’m at (The Fun Times Guide):
WP 3.5
Themes
– Genesis Framework 1.8.2
– Lifestyle Child Theme 2.0.2
Plugins
– WordPress MU Sitewide Tags Pages 0.4.2
– Genesis Responsive Slider 0.9.2After digging through these forums (I’m not a wiz with PHP), I added this code functions.php of my child theme to make SWT post show on the index page categories:
// Sitewide tags thumbnail function function my_swt_thumb_filter( $thumb, $args, $post ) { if( function_exists( 'sitewide_tags_thumbnail_link' ) ) $thumb = sitewide_tags_thumbnail_link( $thumb, $post->ID ); return $thumb; } add_filter( 'genesis_pre_get_image', 'my_swt_thumb_filter', 10, 3 );
All appears to work well there. Except on the Genesis Slider the image URLs are broke – producing this HTML code:
<img src="<img width=" 110"="" height="110" class="attachment-thumbnail" alt="roof-gutters"> "" alt="4 Tips for Getting Your Roof Gutters Ready for Spring Snowmelt" />
Of course that’s not correct HTML –
Is that being produced by SWT or the slider? Can anyone direct me to the fix? If I pull just a local category (a category at the main blog that does NOT use SWT for content) the pictures work fine. But if I pull from a SWT category across the network – that’s what I get.
Help is greatly appreciated.
Jim
https://www.ads-software.com/extend/plugins/wordpress-mu-sitewide-tags/
- The topic ‘SWT not working with Genesis Slider’ is closed to new replies.