Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterIt’s all right 🙂 This is more a database “feature”, I had to google a lot to find what exactly is happening. Luckily it is very specific, only a few exceptions exist.
If you don’t mind, I will close this topic soon and mark it as resolved, feel free to open another one if you have other questions or issues.
If you like the plugin and have not rated already, feel free to leave a rating on your codecanyon downloads page and on the wordpress plugin repository, it’s greatly appreciated.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterGreat 🙂 Let me know if anything.
Ernest Marcinko
KeymasterYou cannot access this content.
July 5, 2023 at 11:23 am in reply to: Trigger unchecking of filter option via jQuery/Java Script #44599Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterOkay! Let me know if there is anything I can do afterwards, I am curious why these extra tags were added.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterIf this didn’t work, then there is a very high chance that it’s not possible. The paragraphs are added after this code, during the pageview. If they are added just randomly and not because of white space, then that has to be solved on the page builder side.
You can try a different variation, mabe something like this:
add_shortcode( 'wd_asp_wrap', 'asp_wrap_shortcode' ); function asp_wrap_shortcode() { $output = do_shortcode('[wd_asp id=1]'); $search = array( '/(\n|^)(\x20+|\t)/', '/(\n|^)\/\/(.*?)(\n|$)/', '/\n/', '/\<\!--.*?-->/', '/(\x20+|\t)/', # Delete multispace (Without \n) '/\>\s+\</', # strip whitespaces between tags '/(\"|\')\s+\>/', # strip whitespaces between quotation ("') and end tags '/=\s+(\"|\')/'); # strip whitespaces between = "' $replace = array( "\n", "\n", " ", "", " ", "><", "$1>", "=$1"); $output = preg_replace($search,$replace,$output); return $output; }This is a bit more aggressive with whitespace removal. If the paragraph around the button is added for some other reason by the page handler, then it is going to be still there.
July 5, 2023 at 9:33 am in reply to: Trigger unchecking of filter option via jQuery/Java Script #44587Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts