Created: 10/01/2013
By: LeafColor.com
Email: leafcolor.com@gmail.com
Thank you for purchasing the plugin. If you have any questions that are beyond the scope of this help file, please feel free to email. Thanks so much!
The installation file can be found in [your download package]/installation/wp-ajax-query-shortcode.zip
Go to Plugins --> Add New --> Upload --> browse for the installation file --> click Install Now
Super simple: go to any place which accepts shortcode, for example Post or Page. Click on the "Quick Ajax button" in the editor.
The following shortcode will be added to the content
[wpajax]
That's all. All default settings have been set. It will display the latest 12 posts on your site using thumbnail-size images
To go to Quick Ajax Settings page, click on "Quick Ajax" menu item.
Remember to "Update" the settings!
<?php echo do_shortcode('[wpajax]'); ?>
<?php echo do_shortcode('[wpajax global_query=1]'); ?>
<?php echo do_shortcode('[wpajax related_query=1]'); ?>
If you use more than one Quick Ajax in a single page, probably you want to have different settings for each Ajax query. To do that, you need different shortcode for each Ajax query.
To do that, using "Generate Shortcode" button in the bottom of the Quick Ajax setting page. The shortcode is generated based on the above settings. But remember, DO NOT CLICK UPDATE!. You just need to change the settings, and click "Generate Shortcode". Clicking "Update" will save the settings for default [wpajax] shortcode
'author' = '',
'author_name' = '',
'cat' = '',
'category_name' = '',
'tag' = '',
'tag_id' = '',
'p' = '',
'name' = '',
'page_id' = '',
'pagename' = '',
'post_parent' = '',
'post_type' = '',
'post_status' = 'publish',
'posts_per_page' = 10,
'posts_per_archive_page' = '',
'offset' = 0,
'order' = DESC,
'orderby' = 'date',
'ignore_sticky_posts' = true,
'year' = '',
'monthnum' = '',
'w' = '',
'day' = '',
'meta_key' = '',
'meta_value' = '',
'meta_compare' = '',
//plugin param
'layout' = 'modern',
'col_width' = 225,
'ajax_style' = 'button',
//button
'button_label' = 'Load more',
'button_text_color' = '',
'button_bg_color' = '#ffffff',
'button_font' = 0,
'button_size' = 14,
'button_icon' = 'icon-search',
'loading_image' = 1,
'thumb_size' = 'thumbnail',
'post_title_color' = '',
'post_title_font' = '',
'post_title_size' = '',
'post_excerpt_color' = '',
'post_excerpt_font' = '',
'post_excerpt_size' = '',
'post_meta_color' = '',
'post_meta_font' = '',
'post_meta_size' = '',
'thumb_hover_icon' = '',
'thumb_hover_color' = '',
'thumb_hover_bg' = '',
'thumb_hover_popup' = '',
'popup_theme' = '',
'border_hover_color' = '',
'border_hover_width' = '',
//extra param
'full_post' = '0',
'global_query' = '0',
'related_query' = '0',
Masonry - by David DeSandro (MIT License)
Font Awesome - by Dave Gandy (GPL License)
prettyPhoto - by Scaron (GPLv2 & Creative Commons 2.5 license)
jscolor - by Jan Odvarko, http://odvarko.cz (GNU-GPL License)