Hi,
Thanks for the awesome plugin
but while click the button the posts are not loding, following is my code
<?php
$btn_name = 'Load More';
$color_name = 'blue';
$loop = 'loop-event';
$query = array('post_type' => 'event','posts_per_page' => '3');
?>
<?php get_template_part( 'loop', 'event' ); ?>
</div>
<!-- <a href="#" id="nav-below a:first" class="btn pull-right"> Show More </a> </div> -->
<?php
if(function_exists('genarate_ajax_pagination'))
genarate_ajax_pagination($btn_name, $color_name, $loop, $query );
?>
what is the problem here? what i did wrong?
]]>Posts are not loading when I click on the ‘Read more’ button. Just a black border appears.
]]>Doesn’t work with mulitple meta_key in ‘meta_query’
<?php $date = date('Y-m-d H:i');
if(function_exists('genarate_ajax_pagination'))
genarate_ajax_pagination('Load More', 'blue', 'event', array('post_type' =>'event',
'showposts' => 5,
'meta_query' => array(array('key' => 'event_date',
'value' => $date,
'compare' => '>'),
array('key' => 'event_date',
'value' => $date,
'compare' => '<=')),
'orderby'=> 'meta_value',
'order' => 'DESC')); ?>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
]]>Hello,
Your plugin seems exactly what I need, however I can’t get it to work on the site I am currently building for a friend. It’s a site with a quite heavily edited version of the Sampression theme and uses WPML for multilingual purposes. I would like to use your plugin to magically load new blocks on the index page. ??
https://wp-themes.com/sampression-lite/?TB_iframe=true&width=1181&height=664
Do you have any idea whether this combination can possibly work and if so, would you be willing to troubleshoot with me?
Thanks,
Marloes
I would like to use your plugin in a custom theme that makes use of different post types. I’m having difficulty understanding how to to edit the $query from the description in the FAQ section. Would you be able to point me to the correct way to enable the plugin.
The custom post type is job.
The loop file is loop-seeker_nofeatured.php
This is the index page code:
<?php
$have_posts = false;
$posts = query_posts( array(
'post_type' => 'job',
'meta_key' => 'tgt_featured_job',
'meta_value' => 'yes'
) );
if ( have_posts() )
{
$have_posts = true;
?>
<div class="box_text">
<div class="jobs">
<div class="latest_header_sub2"><?php _e('Featured Jobs','jobpress');?></div>
<p>
<?php
//echo $jobtype_links;
?>
</p>
</div>
<?php get_template_part('loop', 'seeker_featured');?>
</div>
Pagination :
<?php get_template_part('loop', 'seeker_nofeatured');?>
Any help would be much apreciated.
]]>Hi !
First of all, I wanted to thank you for this Plugin!
It works very well and it was exactly what I needed to do!
However, I have still a little problem I can’t fix.
I use other js scripts that use jQuery, so I load the jQuery Library “jquery-1.8.2.min.js” to make them work, but when the jQuery Library is loaded, Ajax Pagination plugin no longer works.
I don’t know a lot about jQuery Ajax, I tried lots of things but nothing works, so I was wondering if you got any idea to fix it?
Maybe something I have to add/delete in Ajax Pagination’s script, or in my own scripts?
Thank you for your time!
]]>Installed ajax pagination (twitter style) plugin and can’t get it to work properly. Using buddypress custom community theme and also tried on on ifeautre wordpress theme. https://dwtechsolutions.com/blog/ and https://dwtechsolutions.com/32bow/
It knows how many posts are in the loop cause it will only show the button if there are more posts to load, but only displays the ajax separation bar when clicked. Please Help!!! Thanks.
]]>I’m using 3.3.1 and when I click on “more”, it returns this error message.
thanks
Warning: include(D:\temp\projects\newbala122011/wp-content/themes/default/loop.php) [function.include]: failed to open stream: No such file or directory in D:\temp\projects\newbala122011\wp-content\plugins\ajax-pagination\ajax-query.php on line 20
Warning: include() [function.include]: Failed opening ‘D:\temp\projects\newbala122011/wp-content/themes/default/loop.php’ for inclusion (include_path=’.;C:\php5\pear’) in D:\temp\projects\newbala122011\wp-content\plugins\ajax-pagination\ajax-query.php on line 20
]]>I’ve tried implementing it in newer versions of WP but it doesn’t work. Just wanted to let folks & developer know.
]]>Ajax Pagination (Twitter Style) Doesn’t work with qTranslate. Get error .
]]>Doesn’t work, no instructions, author’s page doesn’t come up. ??
]]>This plugin does not do anything for page navigation in WordPress 3.0.4 using the Arras theme.
]]>When I click the Read More button the following error shows up:
]]>Warning: include(/home/nandawri/public_html/wp-content/themes/v5/loop.php) [function.include]: failed to open stream: No such file or directory in /home/nandawri/public_html/wp-content/plugins/ajax-pagination/ajax-query.php on line 20
Warning: include() [function.include]: Failed opening ‘/home/nandawri/public_html/wp-content/themes/v5/loop.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/nandawri/public_html/wp-content/plugins/ajax-pagination/ajax-query.php on line 20
hi ??
please tell me how to implement this function with mystique theme by digitalnature…it has a function inside the loop called mystique_post…this theme already uses jquery…maybe conflict? how to call the function avoiding conflict and where(exact location…) or what else? thank you
The plugin seems to work but I get the following error on each page with the pagination:
“Invalid argument supplied for foreach() in [the directory of my web site]”
I’ve tried placing <?php if(function_exists('genarate_ajax_pagination')) genarate_ajax_pagination($wp_query, 'Read More', 'blue'); ?>
in multiple pages on different templates, but all to no avail.
Any ideas would be great.
Thanks!
Doron
]]>