Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Ajax Press – Easily Enable Fast Ajax Navigation

Descrição

If you need to load your site faster and without any page reloads, then Ajax Press is the right tool for you. Your site will appear faster and more impressively using the Ajax Press plugin.

Ajax Press uses Ajax (XmlHttpRequest) and pushState deliver a fast browsing experience to your site users.

It allows you to completely transform the user experience of standard websites to make users feel like they are browsing an app, especially for those with low bandwidth connections.

No more full page reloads. No more multiple HTTP requests.

Ajax Press Features

  • Ajax Page Load – Loads your site using AJAX without any page refresh.
  • Ajax Search – Users can search your site without any page reload.
  • Ajax Comments – Users can post comments on your site without any page reloads.
  • Ajax Login – Users can login to your site without any page reloads.
  • Ajaxify Forms – You can make any form ajaxify on your site that has an internal action link.
  • Page Transition Animatio – Multiple page transition animation is available to add a more attractive page switching mode.
  • Preloader – Multiple preloader available to show before the ajax page is loaded.
  • Custom JavaScripts – You can execute custom JavaScripts, after every ajax page is loaded.
  • Multiple Content Selectors – You can replace multiple content parts/ selectors of your page.

Basic Usage

After activating the plugin, you have to configure the Ajax Press settings from the Ajax Press > Settings page.

If your theme is listed on our predefined list, then you will see an admin notice with a button to install the default settings for your theme.

If your theme is not listed on our predefined list, then you have to set the settings manually for your theme on the Ajax Press > Settings page.
Generally, you have to set the main content container selectors (not header navigation) which will be replaced on every page change. You have to set the main content selector in the Main content selector input box. You can use any valid CSS selector (ID, Class) in the input box.
Example: – #content, #main and .site-content etc.

Developer Tips

  1. The vanilla js DOMContentLoaded and jQuery ready event runs every time the ajax request is completed.

  2. When the ajax request is start the javascript pjax:send event is fired. You can use this event to execute javascript at the start of the ajax request.

    Example : document.addEventListener('pjax:send', function(){...your codes});

  3. When the ajax request is completed the javascript pjax:complete event is fired. You can use this event to execute javascript when the ajax request is completed.

    Example : document.addEventListener('pjax:complete', function(){...your codes});

  4. Use jQuery ready event instead of the ready function to initialize your jQuery codes.

    Example : $(document).ready(function(){...your codes});

    Not: $(document).ready(...your codes);

Ecrãs

  • Ajax Press Settings

Avaliações

5 Outubro, 2023
I was looking for this plugin .It’s awesome.please continue to update it
6 Dezembro, 2022
I wish it would support language switching soon. When I switch from LTR to RTL language (using polylang), I need to do a refresh manually to load RTL CSS. I tested many plugins for ajaxify my website and found this is the best one. many thanks to the developer.
Ler todas as 4 avaliações

Contribuidores e programadores

“Ajax Press – Easily Enable Fast Ajax Navigation” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Registo de alterações

1.0.1

  • Fix: Fixed JSON parse error issue.

1.0.0

  • Initial release