Tagged: editor
-
AuthorPosts
-
February 28, 2017 at 5:29 pm #753065
I reactivate the cache plugin, delete the cache, switch the cache off, deactivate the plugin.
Still got the issue.February 28, 2017 at 5:32 pm #753069Hi,
does this happen with another WP theme as well?
Best regards,
AndyFebruary 28, 2017 at 5:43 pm #753081I discover it happens only with the child theme, not the complete one.
February 28, 2017 at 6:02 pm #753107Hi,
good step. So obviously some custom code inside your child theme is causing it. Remove any custom code one by one, until you find the one which is causing it.
Best regards,
AndyFebruary 28, 2017 at 6:31 pm #753141Ok, I found it depends on the fuctions.php file of the child theme.
I have this code inside:<?php add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; } function add_custom_target(){ ?> <style>.sort_by_cat { display: table !important; margin: 0 auto !important; }</style> <?php } add_action('wp_footer', 'add_custom_target'); add_filter('clean_url','async_js',11); function async_js($url) { if ( false !== strpos( $url, 'jquery.js' ) || false === strpos( $url, '.js' )) { return $url; } return "$url' defer='defer"; } function defer_parsing_of_js ( $url ) { if ( FALSE === strpos( $url, '.js' ) ) return $url; if ( strpos( $url, 'jquery.js' ) ) return $url; return "$url' defer "; } add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );
March 1, 2017 at 4:44 pm #753793Still need for support.
Thanks.March 1, 2017 at 5:08 pm #753807Unfollow
March 2, 2017 at 9:36 am #754209Keep on following.
March 2, 2017 at 11:05 am #754263Still need for support.
It’s a real shame.March 2, 2017 at 5:31 pm #754431unsubscribing
March 3, 2017 at 3:38 pm #755123Hi,
Please refrain from bumping or replying to your own thread because it gets pushed back to the end of the queue and moderators won’t be able to provide a response immediately. Please be patient while we go through the rest of the queue. Thank you for your understanding.
As already said: remove any custom code inside your functions.php one by one, until you find the one which is causing the issue.
Best regards,
AndyMarch 6, 2017 at 9:11 am #756253I keep on replying because I keep not having support.
The code on my function.php was suggested by you and I can’t understand what that is for, that’s why I posted here.March 7, 2017 at 6:31 pm #757173Hi,
we can’t tell you what your custom code is doing for you. If you got it from us, then I’m sure you know why you got it. Which problem did you have, which we solved for you by providing this custom code to you? can you link to the thread where we’ve provided this code to you please?
Best regards,
AndyMarch 8, 2017 at 9:52 am #757629Should I search through three years of support to find every thread?
Why can’t you just tell me what one code is for or what code I can try to delete without messing up all the website?March 8, 2017 at 5:34 pm #757936Hi,
you can always put your custom code back, so you won’t mess up all your website. However, make a backup, just in case.
So again: remove every custom code you’re currently using and check which one is causing this whole issue.Best regards,
AndyMarch 9, 2017 at 10:41 am #758281I removed everything and website seems to work perfectly. Don’t know what that code was for.
-
AuthorPosts
- You must be logged in to reply to this topic.