Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #762277

    I’m running some Javascript on our news page (displaying posts) to rearrange the order of posts Title, category and date as they appear on the page. I wondered if you could advise on how to bind this function so it runs every time the new posts are loaded into the page with Load More button?

    Here’s the code I have right now

    $('.av-inner-masonry-content-pos').each(function() {
    		$(this).find('.av-masonry-categories').insertAfter($(this).find('.avia-arrow'));
    		$(this).find('.av-masonry-entry-content').css('display','none');
    		$(this).find('.av-masonry-date').insertAfter($(this).find('.av-masonry-categories'));
    	        $(this).find('.av-masonry-date').prepend('<span style="margin-right:7px">|</span>');
    	 });

    I tried ajaxComplete(), but no luck… Any help will be greatly appreciated!

    #763878

    Hey TSC_envato,

    Unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if its really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Andy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.