Sample Blog Post One

Sample Blog Post H2 Title Suscipit taciti primis tempor sagittis euismod libero facilisi aptent elementum felis blandit cursus gravida sociis eleifend lectus nullam dapibus netus feugiat curae curabitur. Curae fringilla porttitor quam sollicitudin iaculis aptent leo ligula euismod dictumst penatibus …

Sample Blog Post Two

Sample Blog Post H2 Title Suscipit taciti primis tempor sagittis euismod libero facilisi aptent elementum felis blandit cursus gravida sociis eleifend lectus nullam dapibus netus feugiat curae curabitur. Curae fringilla porttitor quam sollicitudin iaculis aptent leo ligula euismod dictumst penatibus …

Sample Blog Post Three

Sample Blog Post H2 Title Suscipit taciti primis tempor sagittis euismod libero facilisi aptent elementum felis blandit cursus gravida sociis eleifend lectus nullam dapibus netus feugiat curae curabitur. Curae fringilla porttitor quam sollicitudin iaculis aptent leo ligula euismod dictumst penatibus …

Sample Blog Post Four

Sample Blog Post H2 Title Suscipit taciti primis tempor sagittis euismod libero facilisi aptent elementum felis blandit cursus gravida sociis eleifend lectus nullam dapibus netus feugiat curae curabitur. Curae fringilla porttitor quam sollicitudin iaculis aptent leo ligula euismod dictumst penatibus …

Reload Content in Masonry with jQuery append

jQuery(‘.leads’).click(function(){ jQuery(‘.blogspace’).html(”); var pagel = 1; var data = { action: ‘my_getlatestleads’, page: pagel, } jQuery.post(ajaxurl, data,function(response) { var mediaItemContainer = jQuery( ‘#blog-masonry’ ); mediaItemContainer.masonry( { columnWidth: 200, itemSelector: ‘#post’ } ); jQuery(mediaItemContainer ).prepend(response); jQuery( mediaItemContainer ).masonry( ‘reloadItems’ ); jQuery( …

Load Post with jQuery and sort them with buttons

Code to insert on a page I want… eCom A Competitive Edge More Leads Code to Insert in your function files add_action( ‘wp_ajax_my_getlatest’, ‘get_latestresults’ ); add_action(‘wp_ajax_nopriv_my_getlatest’, ‘get_latestresults’); function get_latestresults($sresult) { global $wpdb; wp_reset_postdata(); $args = array( ‘posts_per_page’ => 10 ); …