Quantcast
Channel: WordPress gallery 'post_gallery' filter doesn't work with feeds? - WordPress Development Stack Exchange
Browsing all 4 articles
Browse latest View live

Answer by kaiser for WordPress gallery 'post_gallery' filter doesn't work...

It should be as simple as this...function wpse63980_gallery_shortcode( $html, $attr ){ // We don't want to intercept non feed galleries if ( ! is_feed() ) return ''; extract( shortcode_atts(...

View Article



Answer by Otto for WordPress gallery 'post_gallery' filter doesn't work with...

Without knowing what your post_gallery filter function does, there's no way to give a proper answer.However, if you are using the post_gallery filter, and returning new markup, then yes, it will be...

View Article

Answer by its_me for WordPress gallery 'post_gallery' filter doesn't work...

Based on Otto's suggestions, I modified my function as such (see below), and it worked!// Custom Gallery Code For Flipboard/Pulse/Google Currents Feedsadd_filter('post_gallery',...

View Article

WordPress gallery 'post_gallery' filter doesn't work with feeds?

We can use the post_gallery filter to modify/replace the default WordPress gallery template (AKA output code) to suit our needs. But this doesn't seem to affect the markup in RSS feeds.No matter what I...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images