Beskrivelse
Easily lazy load another page simply by adding a shortcode with its url.
The 2nd page wont load until the user scrolls to the bottom, than an ajax request is sent to get the page content.
This can help speed up large pages on your site, by not loading the stuff users don’t see until they scroll down closer to the bottom.
Installasjon
- Upload plugin to the /wp-content/plugins
- Activate the plugin through the «Plugins» menu in WordPress
- Enjoy
FAQ
-
How do I use the shortcode?
-
[ajax-load-page
url=»url of page to load»
type=»ajax or iframe (optional) (default: ajax)»
] -
How to load only a specific part of a page?
-
On a page, if you wrap specific content with «
«.
Using that class will tell the script to only load that section of the page.
You can add the «ajax-load-content» as often as you want, and each of them will be loaded one after the other, without the in between content. -
The plugin script, after getting the page data, uses jquery and attempts to find the main content.
If this does fail, you can wrap your main content in the html tag with the class «ajax-load-content».
Vurderinger
Det er ingen omtaler av denne utvidelsen.
Bidragsytere og utviklere
“AspieSoft Ajax Load Page” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.
BidragsytereOversett “AspieSoft Ajax Load Page” til ditt språk.
Interessert i utvikling?
Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.
Endringslogg
1.1
Added option to load page as iframe
1.0
Initial Commit