hm… what is the name of your theme?
ich can’t reproduce this with twenty eleven.
oh, ok it’s not a free theme. So can you please send me a link to your blog?
Thank you. And can you please write me where I can find the gallery?
Do you think it’s possible to send me your theme files? My mailadress is info “at” bmo-design.de
And one more question. What happen if you uncheck use description ?
I find the gallery on WordPress.org in Plugin section.
If I check ‘Use Desc’ it’s the same of unchecked: there are no changing.
I send you the theme files.
Thank you.
Thanks.
I know, where I can download the gallery 😉 I mean, were can I find the gallery at your site http://www.sintergi.it ?
I find the problem, but it is not my fault.
Your theme replace the custom wordpress content filters.
Look at:
functions/theme-functions.php line 83-86
/**
* Disable Automatic Formatting on Posts
* Thanks to TheBinaryPenguin (http://wordpress.org/support/topic/plugin-remove-wpautop-wptexturize-with-a-shortcode)
*/
function theme_formatter($content) {
$new_content = '';
$pattern_full = '{(\[raw\].*?\[/raw\])}is';
$pattern_contents = '{\[raw\](.*?)\[/raw\]}is';
$pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE);
foreach ($pieces as $piece) {
if (preg_match($pattern_contents, $piece, $matches)) {
$new_content .= $matches[1];
} else {
$new_content .= wptexturize(wpautop($piece));
}
}
return $new_content;
}
remove_filter('the_content', 'wpautop');
remove_filter('the_content', 'wptexturize');
add_filter('the_content', 'theme_formatter', 99);
If you remove this lines, it will work.
Great!
Thank you very much!!!!
Now, the gallery it works good!
Thank you.
If you like the plugin, please rate it at wordpress.org <http://wordpress.org/> and I would be happy if you donate me something or recommend me.
problem is the 99, because it change the content after the do_shortcode function.
Hi, how do I modify this plugin so that captions are displayed below the image instead of overlapping the image and also how do I display multiple lines instead of just one?