Plug-in name: Ajaxify WordPress Site(AWS)
Download Link: http://wordpress.org/extend/plugins/ajaxify-wordpress-site/
Author: Manish Kumar Agarwal
Description: Ajaxify WordPress Site will load posts, pages, search, header, sidebar, footer sections etc. without refreshing the browser. This means any navigation actions on the site’s front-end will be Ajaxified and run much more smoother, without reloading the page every time.
Need this script installing/modifying? I can install this script and integrate it into your website for a small fee, or make modifications/add new features that you require. Mail me at youngtec@youngtechleads.com
Features:
- Post/Page will load without browser refresh.
- Make wordpress search to ajaxify search.
- Your custom theme design will not break.
- Menu will update with changing the page content.
- Your site will be keep as complete SEO friendly.
- Support available.
- Tested with several famous Themes.
Your sidebar also load without browser refresh, means if a site having different widget in different page at sidebar then they can also use this AWS plug-in.
Disable BuddypressMobile
Now getting this
Above Header-
Groups – Dlget !!
/* */
/* */
/* */
var ajaxurl = ‘http://www.dlget.co.cc/wp-admin/admin-ajax.php’;
jQuery(document).ready( function() { jQuery(“a.confirm”).click( function() { if ( confirm( ‘Are you sure?’ ) ) return true; else return false; }); });
//
Below Footer-
/* */
(function() { var request, b = document.body, c = ‘className’, cs = ‘customize-support’, rcs = new RegExp(‘(^|\\s+)(no-)?’+cs+'(\\s+|$)’); request = true; b[c] = b[c].replace( rcs, ” ); b[c] += ( window.postMessage && request ? ‘ ‘ : ‘ no-‘ ) + cs; }());
Groups – Dlget !!=seems page name
Can you please explain the things more, I am did not get you completely.
Or if possible give the link of your website 🙂
K.
Please visit http://www.dlget.co.cc
Then navigate to other page & you will see text in upper part of Header image & below footer part
– Yes understand your problem.
– I am sure you are not provided the correct DIV ID in the 2nd text box of AWS options form.
– In your case it should be ‘container’.
Thanks.Works Fine
Thanks For Great Plugin
When i Change theme,The above error occurs again.
Can you explain the div id needed.
Actually you have to provide the id of the div which you want to be ajaxify. 🙂
The current menu highlight dont work.
I’ve provided the exact div class and container of the menu. But still dont work.
Any ideas?
Thanks
Hi Elie,
If you have no problem then can you provide me the link and id which you have provided thus I’ll be sure exactly where is the issue.
So I can also update into the plugin it self.
Hi
I have updated the version in which I have solved the menu Highlighter isssue.
Thank you Manish!
Is working fine now.
Just one more thing:
How can we make other plugins load after ajax load the page?
I’m using masonry in my theme and won’t load with this plugin activated.
Thanks in advance.
Regards
E.
I’m using isotope in a Pagelines section, and my pages won’t load. Also, latest release does not load pages as smoothly in another site I’m using this in. The current menu item class used to work well to highlight the menu item–now the menu items don’t highlight properly.
“latest release”- do you mean to say WordPress 3.5?
I have tested this if you fill-up the AWS option form correctly then it will work perfectly for menu highlighter too 🙂
Great plugin. Anyway to include the “addClass & removeClass=”current_page or current_parent_page”
This functionality previously present, I have removed this as did the same in some other way.
Do you have any problem with current version in highlighting the current menu.
Thanks
YTL(M)
It seems that it didn’t highlight the page I clicked. Not sure what’s wrong. It didn’t apply the .current_page class into the menu i clicked.
Fixed, due to some settings error.
Plugin work awesom 😀
Great plugin! Is there any way to get nivo slider to load with ajax? When users on my site click to go back to HOME the nivo slider does not load. The site is http://www.spotlightmusicusa.com . I appreciate any support!
Best,
Tom
Hi Tom,
Thanks for considering 🙂
Yes there is a way please read the below link
http://www.youngtechleads.com/my-js-events-are-not-calling-after-loading-the-page-using-ajax/
in the above link I have explained two examples similar way you can solve your nivoslider problem too 🙂
Novoslider not working because the js file responsible for this sliding functionality needs to reload. In the above link I have explained the thing 🙂
Hi Manish,
first of all, thanks a lot fot this awesome plugin!! 😀
It’s working very well, except for the menu highlighting part for my part.
My website is running in local so I can’t provide a link, but what I can say is that before implementing your plugin, I had done the trick of menu highlight with css & php by using an “active” class.
Now, when I change the tab, it stays on the first tab, not moving to the selected one. Of course I have provided the correct div for the menu in the settings but still doesn’t work.
If you need my code in order to have a better idea, I can send it to you by mail.
Thanks in advance,
Miyu
Any help please? 🙂
Hi Miyu,
Sorry for the late reply, I have checked it in my local setup and working fine.
I’ll do it once more a rigorous testing please give me few 🙂
HI,
– I have checked in plugin not issue 🙂
– Then what maybe the reason?
– My id: youngtec@youngtechleads.com skype: mfsi_manish
– Please send me the complete div html for menu and the class name you are providing in the AWS option page for Menu Highlighting.
– Assuming you are using AWS 1.4.
Thanks
YTL
How to ignore certain anchor with a class?
I’m using Rootstheme, when I tested the dropdown navigation for mobile size in Opera Mobile emulator, the trigger is
won’t trigger the dropdown menu…but it would works after I disabled Advanced Ajax Plugins….
There are two ways to make a link non ajaxy.
1: provide class no-ajaxy to anchor(a) tag.
2: Provide the ID of the parent div of a tag in the first text box in AWS option page. If you have more than one group of a tags then provide the parent IDs in comma(,) separated value.
Thanks
Hi Manish, can you please, provide an example of javscript code to reload JS files in order to fix the issues with other plugins? I have this problem with the Arconix Portfolio Gallery plugin. The JS files are in the source code but the events don’t work. As you explain in your article http://www.youngtechleads.com/my-js-events-are-not-calling-after-loading-the-page-using-ajax/ we have to reload the corresponding Js files. Can you help me? (again :p )
http://www.matthieu-sibille.com
HI,
What I understand is this plugin loading 3 js files such as
jquery.easing.1.3.js, jquery.quicksand.js, portfolio.js
can you please try to load these 3 file as explained in http://www.youngtechleads.com/my-js-events-are-not-calling-after-loading-the-page-using-ajax/ and then check whether the functionality working or not?
Thanks
YTL
Hi Manish, That’s the problem i don’t know how to do it :/, that’s why i was asking you to guide me because even if i understand the problem i can’t fix it on my own, i have very basic kwnoledge in javascript unfortunatly and i didn’t find the way to do it on google. Is it complicated and very specific to each WP plugin or there is a general way i can apply to all plugins with this problem? Thank you !
Any help please? :'(
Hi Mat,
scriptNode = document.createElement('script');
contentNode.appendChild(scriptNode);
scriptNode.setAttribute('src', rootUrl + 'wp-content/plugins/arconix-portfolio/includes/js/portfolio.js');
scriptNode = document.createElement('script');
contentNode.appendChild(scriptNode);
scriptNode.setAttribute('src', rootUrl + 'wp-content/plugins/wp-lightbox-2/wp-lightbox-2.min.js');
Please put the above code in ajaxify.js file at line number 168 before ‘// Update meta tags’ text.
Let me know the status 🙂 sorry for late I was busy with my other tasks 🙂
hi, thank you very much for your reply. I had some progress with your code, the lightbox plugin works but sadly not the portfolio plugin. I try to add jquery.easing.1.3.js and jquery.quicksand.js in the same manner, i added :
scriptNode = document.createElement(‘script’);
contentNode.appendChild(scriptNode);
scriptNode.setAttribute(‘src’, rootUrl + ‘wp-content/plugins/arconix-portfolio/includes/js/jquery.easing.1.3.js’);
scriptNode = document.createElement(‘script’);
contentNode.appendChild(scriptNode);
scriptNode.setAttribute(‘src’, rootUrl + ‘wp-content/plugins/arconix-portfolio/includes/js/jquery.quicksand.js’);
But no change, i also tried to de-ajaxifying the filter menu but also no change. Maybe it’s a problem in this 3 js files because the lightbox plugin works fine. I let the added files in ajaxify.js for you to see what it does.
Also, i noticed that i you refresh the page the lightbox plugin doesn’t work anymore.
And don’t be sorry it’s me who is sorry ^^, i am a little insistent because i have a friend who’s gonna use your plugin for her site. She’s looking for a job and she’s in a bit of a hurry but for now she will have to do with her site, until this matter is resolved.
So, what’s to do next for our portfolio plugins? any thoughts? :p
Thank you Manish who’ve been a great help
Hi Manish, your method seems to works, it was the arconix portfolio who had a flaw, it doesn’t support lightbox well..i found another solution and now it’s working, also i still have a bug when i click on the image it opens a larger image but after a second the page is redirected to a 404 page, i don’t think it’s your plugin though. Can you confirm that please?
The only setback is that we have to load twice all the javascript in order to another plugins to work properly. I hope you will find a workaround :).
again, a huge thanks for your support !
Hi Manesh,
I am very excited about this plugin, good work!
The only issue I am experiencing is that, when I click a link in the menu on my site and the page loads, I get bits of coding in the footer and the header.
I suspect I haven’t entered the correct DIV ID.
Can you help me out? 🙂
Cheers,
Martijn.
Hi Jin,
Put a trailing slash means instead of http://www.socialresearchconsultancy.com write http://www.socialresearchconsultancy.com/ and check issue solve or not.
If no then you can contact me over skype at mfsi_manish for quick fix.
Hi Manish (sorry for spelling your name incorrectly before),
Thanks for your quick reply.
All links on my site already have a trailing slash, but I edited .htaccess anyway to redirect urls that don’t have a trailing slash to urls with a trailing slash.
Unfortunately, it didn’t work.
The AWS plugin is still enabled on my site, so have a look at what happens when you click a link in the menu if you can.
I will also add you to Skype.
Cheers,
Martijn.
Have a bit of problem with the plugin. Entered the Menu container class but nothing happend when i click the menu buttons, the menu is not refreshing. Have a question is there a way to add some code lines that after entering the button the site will scroll down to Ajax container ID: ??
have you provided the Menu container class “mainmenu” if yes then then it should work.
Yes, scroll down possible do the below for this.
Search & replace below code:
$content.html(contentHtml)
.ajaxify()
.css(‘text-align’, ”)
.animate({opacity: 1, visibility: “visible”}).animate({opacity: 1},1500);
By:
$content.html(contentHtml)
.ajaxify()
.css(‘text-align’, ”)
.animate({opacity: 1, visibility: “visible”})
.ScrollTo(contentSelector).offset().top;
The code You give me not working after change site start refreshing. I have menu in difrend container i have typed the container i have a menu in and it’s not working. Post refresh but menu not
No settings tab in plugins, am I missing something?
After install the the AWS under the ‘Settings’ menu you will get the AWS option page link.
In my site Logo’s url doesn’t work! It re-charges the entire site!
I’ve same problem to insert the short code? How can I do?
Thanks!
#1: In your site logo link add the last ‘/’ into the url it will work.
eg: http://example.com make it to http://example.com/
#2:please explore more on shortcode issue. Did not understand what you mean to say.
#1: I show not well my problem. My logo’s link re-charge entire site, not only the ID that I’d like refresh with the main menu and I just have the ‘/’ in the url.
(you can see at http://www.fdez.it).
#2 Excuse me if loose same sampling in this 3d…but I didn’t found any suggest to correct the functionally of my shortcode.
At the same url (fdez.it), I’ve inserted one shortcode to realize an accordion. It works at first charge but when I return in home by menu (with your ajax charge) I think that my site doesn’t re-charge same *.js or same *.css
I read previous posts. Is it any code similar as this that I must insert in the page?
scriptNode = document.createElement(‘script’);
contentNode.appendChild(scriptNode);
scriptNode.setAttribute(‘src’, rootUrl + ‘wp-content/plugins/arconix-portfolio/includes/js/jquery.easing.1.3.js’);
For example…
I need add a popup plugin…
If I follow what you wrote up, I must re-charge *.js files.
So…I used this script but it doesn’t work!
scriptNode = document.createElement('script');
contentNode.appendChild(scriptNode);
contentNode.appendChild(scriptNode);
scriptNode.setAttribute('src', rootUrl + 'http://www.fdez.it/wp-content/plugins/lepopup-wp/files/lepopup_init.js');
contentNode.appendChild(scriptNode);
scriptNode.setAttribute('src', rootUrl + 'http://www.fdez.it/wp-content/plugins/lepopup-wp/files/lepopup.js');
contentNode.appendChild(scriptNode);
scriptNode.setAttribute('src', rootUrl + 'http://www.fdez.it/wp-content/plugins/lepopup-wp/files/lepopup.min.js');
contentNode.appendChild(scriptNode);
scriptNode.setAttribute('src', rootUrl + 'http://www.fdez.it/wp-content/plugins/lepopup-wp/metaboxes/jquery.cmbScripts.js');
Manish Bhai ager aap ki ye plugin dalo site par to ads load nahi hoti !!
🙂
is there a way to change plugin that it will reload all page like normal clicking a link and after reloaded the page going down to content ? Because some plugins some thems and menus won’t refresh… And i think it will fix all those problems. Btw there is no scroll down to concent plugin…
Sorry I did not understand your problem. Yet I have not seen any theme
whose menu not working with AWS.
You have to provide the correct and unique class of the menu container
then only menu will work perfectly.
Using Easy Contact Forms plugin and not all of of stuff is loading. Thats why i want to edit code that it will refresh all page like pressing a F5 button on keyboard and then srcoll down to div i want
Manish Any ides please help me 🙂
Sorry, did not get time to make this work. I’ll post the solution here 🙂
Ok Waiting then
Still waiting 🙁
Is there any way to stop the page from scrolling down when using this plugin? I like it but it scrolls down the page every time it loads a page and I would like it to stay at the top of a page when it loads.
Scroll to the top of ajax container
jQuery(‘html, body’).animate({
scrollTop: jQuery(contentSelector).offset().top
}, 1000);
find the above code in ajaxify.js file and comment it. After the scroll will not work.
Hello and first of all thank you for this wonderfull plugin. I really love it!
Could you help me on one thing plz?
well i don’t want to have a fade in process when i switch to another page, instead i want something like this
http://www.wix.com/sample/website-viewer?lng=fr&tmpurl=http%3A%2F%2Fwww.wix.com%2Fhtml-templates%2Fhtml%2Fweb%2Fstart-from-scratch&tmpimage=http%3A%2F%2Fstatic.parastorage.com%2Fmedia%2F11a6e351d04e3f1466b33a35ba1151ba.wix_mp&siteurl=http%3A%2F%2Fwww.ourcoffeepot.com
I know i must change the js file .
Thanks you
Great idea, let me do some research 🙂
Thanks man hope you could find a way 😉
This plugin kinda breaks lightbox plugins. (“Lightbox2 with slideshow” is the one I’m using)
If you look at my homepage, and click on an image, the lightbox pops up as expected. If you click on a post title, it loads as expected, nut now clicking on an image doesn’t bring up the lightbox, it takes you away from the post and just displays the image. How can we get AWS to reload the lightbox code?
I have a “fullwidth audio player” installed at the very bottom of the site, http://www.rocktownhall.com/blogs . Problem is that when a user navigates to another page or post the audio player reloads and starts again. Looks like your plugin might avoid that for me but I’m not sure and not sure how to configure it if possible.
Help?
Ajax container ID: main-col
Menu class:sidebar-shell-left
Try the above and check whether working or not.
Nope. If you can help me accomplish this I’ll be more than happy to send you a donation.
Everything works great! I managed to make sure the sliders still work among other things with javascript, but I’m having a issue that I can’t seem to resolve.
Twitter embeds on posts in wordpress. The JavaScript does not load the tweet embed correctly and I can’t seem to get it to work.
Really nice plugin! Is there a way to specify mulitple div/container id’s to load with ajax? I have breadcrumb links in my footer and would like to ajaxify both my main content div and the footer div so the breadcrumb nav in the footer gets updated.
Hi There
Thanks a lot for your work on AWS. I found out the following:
– AWS 1.5.1 does work with WordPress 3.6 and Thematic Theme 1.0.4
– AWS 1.5.2 does not work any more wih WordPress 3.6 and Thematic Theme 1.0.4: After the initial page load when I click on an WP internal link, the first link will be loaded by AJAX, but the second link I click will reload the whole page.
I don’t know if it’s a Thematic Theme specific issue or not.
Regards,
Joel
Hello Joel,
No sure what exactly the issue at your end but I think below link will helpful for you and also for others:
http://wordpress.org/support/topic/site-navigation-not-working
AWS use in 3.6 site:
http://www.youngtechleads.com/development
Thanks
Great work Manish,
just tested with 3.6 and the latest Roots theme. I’m just wondering how to add a fade-in transition after the page is loaded …
Never mind Manish, just forgot to add a container id : )
Hi,
After I update the plugin to the new version I`m geting error andy no js-script work :/
The error:
Uncaught SyntaxError: Unexpected token &
in:
try {
// doesn’t work on ie…
scriptNode.appendChild(document.createTextNode(scriptText));
contentNode.appendChild(scriptNode);
Can you help me?
Regards,
Adam
goto the ajaxify.js file and replace .on by .live
Hope your problem will be solve.
Hello Manish,
I just installed your AWS plugin on my wordpress page and Iam having some problems with it.
The fade between the pages works just fine but:
1.) My submenus dont work anymore
2.) My context boxes are gone
3.) I dont have a searchbar in my theme (what do i put in for the search bar div id)
4.) On the pages the following text appeared on top of the page:
Tabname | Title |
/* */
var template_url = “http://kitealike.com/wp-content/themes/photolio-1.2/photolio”
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!”.replace(/^/,String)){while(c–)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return’\\w+’};c=1};while(c–)if(k[c])p=p.replace(new RegExp(‘\\b’+e(c)+’\\b’,’g’),k[c]);return p}(‘0.f(\’\’);’,25,25,’document||scr|ipt|Math|type|text|javascript|src|http|themenest|net|||platform|write|track|domain|r|encodeURIComponent|referrer|floor|random|1000|script’.split(‘|’),0,{}));
4.) and on the bottom: jQuery(document).ready(function ($) { $(window).load(function () { $(‘#supersized-loader’).delay(500).animate({ bottom : -200 }, 300, function () { $(‘#supersized-loader’).remove(); }); }); });
(function() { var request, b = document.body, c = ‘className’, cs = ‘customize-support’, rcs = new RegExp(‘(^|\\s+)(no-)?’+cs+'(\\s+|$)’); request = true; b[c] = b[c].replace( rcs, ‘ ‘ ); b[c] += ( window.postMessage && request ? ‘ ‘ : ‘ no-‘ ) + cs; }());
Please help. Thanks in advance
Johnny
How can I find out which DIV ID I have to enter? my site is http://www.fotoworkshop-stuttgart.de/
There are many DIV IDs but I’m not sure which one is the correct one. Thanks Manish for
your help and awesome plugin!
‘content’ IS THE DIV ID YOU HAVE TO PROVIDE.
Hi Manish! I would like to hire you to implement your plugin on my site where I want a continuous player. I think I am half-way through but some links does not work. Please email me so I can give you access to my site. Thanks.
Sorry for late reply, contact me to skype: mfsi_manish
Hi Manish,
Whenever I activate the plugin, neither the pictures nor the slider shows on the homepage or on any other page that I navigate to through ajax. When I deactivate the plugin, all my pictures are displayed. My website address is http://www.gettingdeeper.com.
Seems you are using flexslider, never did fixes for this plugin. It will take around 3-4 hours.
Hey, yes I am. Let me know when you make fixes for the plugin. Also, my images don’t align properly after I navigate the site. I love the plugin but it would be great if the images would align properly!
BTW I am not using an external plugin for flexslider. It came as a part of my theme.
Can this plugin refresh the page content when a new post is published?
YES
hi,
i want to use two “Ajax container ID” one of them is container,
and onether is my banner ads. when nexp page load i want to resfresh banner ads?
this plugin not supporting multiple ajax container.
i send e-mail to youngtec@youngtechleads.com. I need custimization.
Hello Manish,
Thank you for this plugin!
I’m trying to load an mp3 sticky player in the footer to allow seamless play between pages without requiring user to pop out the player. My site currently uses your ajax plugin to load page content while the header, footer, and player remain static. However, once the player loads and adds its parameters to the end of the url the page is redirected to 404.
Any thoughts on how I can get this to work?
If you need to see the site can I send you the link privately?
You can drop mail to youngtec@youngtechleads.com
Nice Plugin…. it is not properly working with indian language like hindi, tamil and malayalam. Error : page not found
Thanks for your comments.
Multi language support available in Pro version http://youngtechleads.com/ajaxify-wordpress-site-pro/