Forum Replies Created
-
AuthorPosts
-
more specifically how do I remove avia_animate_when_visible only on galleries
@ Lol5tar thanks that script worked.
I am updated to 3.6.
Errors with padding/margins with default editor shortcodes. – Fixed by using advanced layout editor
Errors Layer slider did not load – Fixed with lol5tar post
Errors with EasySlider – Changed to a gallery :/ (did not test after lol5tar script)
Error with default layout button position: https://www.dropbox.com/s/b2lkikt5n4gswu7/Voila_Capture366.png
other than that everything seems to work ok.
Devin,
I have tried this with my Issue and still have the same result.
[raw]Unformatted code[/raw]
would this affect any of your short codes?
function my_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', 'my_formatter', 99);
code did not work. still have the added <p>
What’s up Dude, i talked to the plugin author and he said:
“…JavaScript is being wrapped in paragraph tags. This is something that WordPress does when it is processing content. Normally this isn’t an issue with shortcode content however I have seen it happen with several “premium” theme frameworks and plugins which attempt to do cache. Essentially what happens in the content gets rendered and saved to the cache then it gets re-rendered when it is read from the cache and WordPress interprets line breaks and paragraphs and then adds paragraph tags. Obviously this creates unexpected consequences. The themes that I have encountered this with offered a [raw][/raw] shortcode which needed to wrap around our shortcode to prevent this from happening. Take a look at the “wpauto” filter (http://codex.wordpress.org/Function_Reference/wpautop).”
Does enfold have such a raw short code?
this helped thank you. I still have some formatting issues, but this is caused by the plugin
bump
Any indication on how to fix the display issues?
http://spresd.com/pacific-beach/ – nested
http://spresd.com/homes-sold-pacific-beach-last-60-days/ – not nested
I also commented out the lines below from avia.js, the result was positive on my home page however not on any other page. here is a link to the green dot I am speaking of. https://www.dropbox.com/s/v8e6codz94hi3il/Voila_Capture214.png
//activates the hover effect for image links
//if(jQuery.fn.avia_activate_hover_effect)
//jQuery(container).avia_activate_hover_effect();
So I added the code below and it removes the hover effect of the theme an allows the Justified Image Grid plugin hover effect default, but i still have the animated green dot and can not find a way to disable it. Please advise
.image-overlay.overlay-type-extern .image-overlay-inside {
display: none !important;
}
.image-overlay {
background: none !important;}
.image-overlay .image-overlay-inside:before {
content: “” !important;}
-
AuthorPosts