icakeov
Forum Replies Created
-
Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not rotating in dynamic modeSolved it! I found the jquery call in the header file.
Many thanks again for your help.Forum: Plugins
In reply to: [Polylang] Erase a translated post and start over?I figured out the categories part actually.
I guess the only question I have left is where the files are physically stored. But I have a feeling I’ll figure out that one soon too πForum: Plugins
In reply to: [Polylang] Tracking google analytics?perfect, thanks Chouby.
Forum: Plugins
In reply to: [Polylang] The tab Menus missingGreat, thanks Chouby!
I assume I can use the get_locale function basically for anything that is custom coded on the website?Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not rotating in dynamic modeHi Aman,
I downloaded all the plugins that I’m using and searched for any file that has ‘jquery’ in it and every plugin that is active was calling wp_enqueue_script(‘jquery’);
It seems, it is not coming from the plugins.Then I looked through the custom php files and in the footer, I found this:
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.dlmenu.js"></script>
So I took that out and it didn’t fix the problem.
I’m a bit unsure how to track down where the double jquery is being called. If you have any other thoughts on this, I would appreciate the helpForum: Plugins
In reply to: [AdRotate Banner Manager] Ads not rotating in dynamic modeWhat I am doing is downloading all the plugins with FTP and then I’ll search through each of the files and see which one of them loads jquery, and then I’ll edit the plugin directly. And keep a log so if I update the plugins in the future, I’d need to go back and edit the code again.
Does this sound like a valid approach?
I’m not fully sure what exactly what to look for though. Find anywhere where jquery() function is loaded and take that code out?In the meantime I added this to my functions.php (I found this on one of the forums)
function init_myscript() { wp_enqueue_script('myscript', get_bloginfo('template_directory') . '/myscript.js', array('jquery'), false ); } if( !is_admin() ) add_action('template_redirect', 'init_myscript');Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not rotating in dynamic modeAnd just to confirm, if some of the plugins are loading jquery, short of having them update it and release the new version, the only other way this problem to be solved is to not use the plugins that load the jquery?
Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not rotating in dynamic modeThanks again Aman, I’ll look for where it is being called from.
Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not rotating in dynamic modeI see. So I shouldn’t use that function then?
I’m still at a bit of a loss on how to prevent the jquery from loading twice. The previous code is not mine and jquery is somewhat new to me so I’m unsure where to even start.Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Only month view showing in calendarMy issue turned out to be a missing wp_footer() function in the footer.php file. Previous developer had taken it out for some reason.
Once I put that back in, the problem was fixed.Forum: Fixing WordPress
In reply to: Tracking (google) analytics of a multilingual websiteActually, I am likely to install Polylang so I am wondering what the answer above would be for this plugin?
Forum: Fixing WordPress
In reply to: change my forum display nameAh never mind, it changed I see just as I posted this π
Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not rotating in dynamic modeThanks for pointing that out Aman
This is a website that I just started working on plus I’m not super familiar with scripts in wp.
I found online that all I have to do to prevent from a script loading twice is to insert this code into functions.php: wp_enqueue_script (βjqueryβ);
Doesn’t seem to have fixed it.
Not sure if this is your domain (or the domain of this post for that matter) but if you have any suggestions, that would be great.Forum: Plugins
In reply to: [AdRotate Banner Manager] Ads not rotating in dynamic modeThanks for your response Aman.
I have the ad in Dynamic mode and also both jQuery checkboxes are checked.
I did have W3 Cache active but I had disabled the plugin. Should I still have that checkbox checked?Great, it worked! I just had to add “>” into “$post->ID;” above.
Thanks again so much for this solution alchymyth.
And for the reference link too.