DZS Ajaxer Lite - Ajaxify Your WordPress Site and Comments

By : unknown

Demos - https://0.s3.envato.com/files/182575275/index.html

Setup is done in the admin page accessible from the WP Dashboard. Ajaxer Page.

If the button saying Install Default Settings for {{your_theme}}, is there , then you should click that. Those are our recommeded settings. You can change transition and preloader after.

If there is no such button, it means that your theme is not in our predefined books and require some manual adjustment. Generally, it means to primarely just set the content container and the menu selector, which we will show you how to do by explaining each setting.

Enable Ajax?

Setting this to off will disable the plugin functionality, so it's mandatory that it's left to ON. Use OFF only for testing purposes.

Content Selector

This is the content selector. If you have basic html knowledge, it's easy to find out. If not, it's no problem, we'll explain below how to setup.

Tip! - the basic HTML / CSS selectors are . for class and # for id. First we need to go to our frontend and right click on a element from the content and click Inspect.

Next, the DOM tree will appear. We need to go as high as possible and look for an element that covers the content area ( in the blue area ) .

if it's not possible to select only the content, and the header gets selected too, we can remove it from the content with the Move Menu on Top of Content option

This is the element we selected in the tree. We need to go higher.

This element looks like a good match. It covers the whole content area. In this case, we can either select it by id and input in the Content Selector field - #content . Or select it by class and input in the Content Selector field - .site-content. It will be the same outcome in this case, but in other cases only the id or only the class might be present. Generally, id is prefered.

If we go a little higher in the tree we will see that the parent element contains all of the site which is not what we want, we want only the content to load:

This should be all the setup for the Content Selector field.

Menu Selector

This is the menu selector. We follow the same steps to find it out. We inspect a item in the menu and find the highest menu parent. In this case, the twentyfifteen theme it's #site-navigation that should be entered in this field.

Move Menu on Top of Content

If there is no way to select the container without the menu, you can use this option to place the menu on top of the content. It can work in some themes.

Transition

Choose from No Transition, Fade, Scale Down or Slide.

No Transition and Fade are direct transitions. These provide maximum compatibility.

Scale Down and Slide are more complex transitions and might not work in all themes and with all plugins.

We cannot guarentee compatibility with all 3rd party plugins. As long as the 3d party plugin is properly coded, it should work with this plugin, but otherwise it might not.

A properly coded plugin should load all their scrips via wp_enqueue functions. And it should apply functionality via a inline scripts like this format targeting a unique class :

[...]

jQuery(document).ready(function ($){ dzsap_init_functionality(".ap_idx_2",settings_ap); });

Preloader

Choose from No Preloader, Bar or Fullscreen Bars.

Extra Items to be Replaced

These selectors will be searched in the new ajax loaded content and replaced in the current page accordingly, in the same order.

Extra Items to be Added

This is similar to the .. to be Replaced setting, but the difference is that each selector will be queried in the page. If it does not exist, then the element found in the ajax content will be added to the current page. If it is found, then the contents will be replaced.

This is useful for example for a footer player outside the content, like seen in the demo.

Scripts Execute after Ajax Call ?

Select this if javascript scripts in the page should execute after the ajax call is completed. This might increase 3rd party plugins compatibility.

Scripts to Reload

these scripts will be discarded and loaded again when the new page loads

If some scripts have some special initialization inside them you can choose to have them discarded and loaded again on page load. Demo input:

scripts.min.js,owl.slider.js

These will unload and reload on page load any scripts that contain scripts.min.js or slider.js

Script Call on Page Load

javascript call on page change . - warning

Only to be modified if you know what you are doing. - might break the change. - javascript call on each page load. Example input:

jQuery('.carousel-wrap .carousel-items,.blog-masonry .masonry-items .blog-item').css('opacity',1);

This will unhide the elements specified in the jQuery selector.

How to Ajaxify Search Form

Ajaxer tries to ajaxify the search form by default. First try to search something, and if the search is not done ajaxified, then proceed to this simple setup.

Right click the search field, click Inspect

Then you will need to search for the form element that contains it. In this case it's .searchform . After you found it, you can just to Ajaxer Settings and input it in the Search Form Selector field.

How to Ajaxify Comments

Ajaxer tries to ajaxify the comments form by default. First try to comment something, and if the comment is not done ajaxified, then proceed to this simple setup.

Right click the search field, click Inspect

Then you will need to search for the form element that contains it. In this case it's .comment-form . After you found it, you can just to Ajaxer Settings and input it in the Comment Form Selector field.

Developer Tips

Note: this is for advanced users only. Changes to any topic covered here can break the portal.

Recommended Programs

You can generally use any text editing software [ like notepad ] to edit content/code but this is what I recommend:

.js, .php, .scss - phpStorm SASS

If you are a developer you will notice there are some .scss files included too. This is the language for a css preprocessor which makes a developer's life easier. This is optional but if you want to try it here is the site.

Ajaxify WordPress

Apply ajax to load your wordpress pages Without refresh. Just Put your Main content Id ( Main div) Choose your link class to ajaxify (For example .menu a) Choose your Gif loader and your theme will be converted to ajax....

Similar: 43%

HTML5 pushState

Ajaxify wordpress with HTML5 pushState based on History.js by Benjamin Lupton. Support for HTML5 modern browser only, focus on mobile and not breaking SEO rank. Take an advantages from History.js, visited contents saved into browser's so it will find and display it directly, no repeating request to.........

Similar: 40%

Ajax Pagination and Infinite Scroll

Load paged content with Ajax throughout your WordPress site. This plugin works where you'd usually display paged content including on posts, pages, custom post types and WooCommerce. There are 3 paging types to choose from; infinite scroll that automatically loads new posts as the user reaches the .........

Similar: 12%

Unlimited

Inifinite scrolling plugin. Choose from Load on scroll, Load more button and Ajax Pagination. Visitor can disable auto load (useful to get to footer). Doesn't break browser Back/Forward buttons. Includes Scroll to Top button (Optional). Works out of the box for default WP themes. ** Translations **.........

Similar: 12%

WordPress Accurate Geolocation

Get accurate geolocation based on GPS, WiFi and other modern techniques to identify latitude, longitude, altitude, accuracy, speed, heading of visitor and if logged in, user id. The triggers of getting the information are on page/window load and/or through the click of a button, link, etc. These ar.........

Similar: 8%

Cotton Framework

This is a public beta. Cotton Framework comes with a complete XHTML / CSS Theme for designers to style using Child Themes. W3C Standards Compliant XHTML and CSS Mobile / Handheld device ready Print Friendly Cross Browser Compliant Google Web Site Verification Bing Web Site Verification Google Ana.........

Similar: 8%

Easy Albums - Buddypress users create and share images, video and audio albums - the easy way.

One professional plugin handles all your multimedia needs Visit Plugin website >> : Your Buddypress users will be able to upload and view media in a new customized tabs : * Add Image galleries * Add Slideshows and photo albums * Add Video * Add Music playlists * Add Podcast and mp3 * C.........

Similar: 5%

WI Games widget Plugin

WI Games Widget plug-in is created to simplify installation of a widget which will allow your users to play hundreds of fascinating games without leaving your site as much as possible, and at the same time to gain additional income having placed in it the advertizing codes. (More info http://wi-gam.........

Similar: 4%

Files.fm File Upload Form

How does it work? Install the plugin at your WordPress website (for instructions see the tab „Installation”). Your customer visits your website where the Files.fm File Upload Form is embedded. Customer fills the information form and uploads files. The files are stored on Files.fm cloud storage. Yo.........

Similar: 4%

Plug-N-Edit Full Drag & Drop HTML Visual Editor with Web Page Builder WYSIWYG

New Users - Full Drag And Drop! PlugNedit has a more powerfull free version just released in BETA please take a look if you would prefer the newer editor. In Theme Live Editing. Mobile and Full size views with preview. Video Backgrounds. More Stable. Greater Options. Use theme CSS. Adaptive Resp.........

Similar: 3%