Notice: wp_deregister_script was called incorrectly. اسکریپتها و شیوهنامهها نباید پیش از wp_enqueue_scripts
، admin_enqueue_scripts
و login_enqueue_scripts
ثبت یا فراخوانی شوند. Please see Debugging in WordPress for more information. (این پیام در نگارش 3.3 افزوده شده است.) in /home/ronakweb/domains/ronakweb.com/public_html/wp-includes/functions.php on line 3190
Warning: Cannot modify header information - headers already sent by (output started at /home/ronakweb/domains/ronakweb.com/public_html/wp-content/themes/ronakweb2/functions.php:289) in /home/ronakweb/domains/ronakweb.com/public_html/wp-includes/feed-rss2-comments.php on line 8
ممنون از مطلب کاربردیتون
موفق باشید
همچنین از طریق Developer Tools (یا Inspector) مرورگر و قسمت Console میتونید خطاهای جاوااسکریپت رخ داده رو مشاهده کنید و رفعشون کنید!
موفق باشید.
]]>wp_enqueue_script( 'jquery' );]]>
wp_enqueue_script( 'avia-compat', $template_url.'/js/avia-compat.js', array('jquery'), 2, false ); //needs to be loaded at the top to prevent bugs wp_enqueue_script( 'avia-default', $template_url.'/js/avia.js', array('jquery'), 3, true ); wp_enqueue_script( 'avia-shortcodes', $template_url.'/js/shortcodes.js', array('jquery'), 3, true ); wp_enqueue_script( 'avia-popup', $template_url.'/js/aviapopup/jquery.magnific-popup.min.js', array('jquery'), 2, true); wp_enqueue_script( 'jquery' ); wp_enqueue_script( 'wp-mediaelement' ); if ( is_singular() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); }]]>