tushargohel
Forum Replies Created
-
Hi @sibbo100
Sorry for the delay reply and could you please show me the exact fatal error so team will be help quickly
Thanks,
TusharForum: Plugins
In reply to: [WordPress Ajax Load More and Infinite Scroll] Error in Safari and FirefoxHi @zerobathory,
I apologize for the delayed reply.
I have investigated the issue and this problem is related to cache. you have any cache plugin installed or might be cache enabled from the server, please disable that and see if that solves the issue.
If that works, you will have to exclude this URL from the cache.
https://wortev.capital/blog/Thanks`
Forum: Plugins
In reply to: [WordPress Ajax Load More and Infinite Scroll] Error in Safari and FirefoxHi @zerobathory,
The plugin is fetching data with nonce so the session must be started, but you can share the URL and my team will check the issue further
Forum: Plugins
In reply to: [WordPress Ajax Load More and Infinite Scroll] Custom Taxonomy LoopYou can find more parameters here.
https://plugins.blacktheme.net/cpt-ajax-load-more/docs/shortcode-parameters/
Forum: Plugins
In reply to: [WordPress Ajax Load More and Infinite Scroll] Custom Taxonomy LoopHi @trondan,
Please add a category option that is shown below code
<?php $args = array( 'post_type'=> 'recept', 'init_load' => 12, 'scroll' => 'true', 'posts_per_page' => 8, 'post_staus' => 'publish', 'template’ => 'content-recept', 'category' => 'skippa-sockret', ); echo cpt_alm_render($args); ?>
- This reply was modified 3 years, 8 months ago by tushargohel.
Hi @ukmgranger,
The plugin doesn’t provide to set any limit and it will render posts until load all post.
If possible can you please provide a public link to the page, so our team can look into that and fix.
Thanks,
TusharForum: Plugins
In reply to: [WordPress Ajax Load More and Infinite Scroll] load post RandomHi @dmorton2,
If we allow random ordering then it will repeat some of the post in the next load of the page, that’s a problem so it’s better to use another ordering.
Thanks,
TusharForum: Plugins
In reply to: [WordPress Ajax Load More and Infinite Scroll] offset postsHi @dmorton2,
Shortcode is correct and can you try to change the custom template to default.
If still getting issue then deactivate other related plugins like post ordering.
Thanks,
TusharForum: Plugins
In reply to: [WordPress Ajax Load More and Infinite Scroll] offset postsHi @dmorton2,
Can you please put the shortcode here or describe more so our team can find solution.
Thanks,
TusharHi @dabert3,
Yes, it’s possible with this filter.
https://plugins.blacktheme.net/cpt-ajax-load-more/docs/filters/#cpt_alm_query_argsYou can use the standard parameters of WP_Query(WordPress).
Hi @dabert3,
Right now there are no facilities to load specific post or single post
Your suggestion is great so our team makes planning to load a single post.
Thanks,
TusharHi @johnsig,
Thank you for the great help to solve the issue. and We will add this line next version.
Thanks,
TusharForum: Plugins
In reply to: [WordPress Ajax Load More and Infinite Scroll] Load more button gives errorHi @albanotoska,
Thank you for your great suggestion and actually this the bug that you face the problem
We have no plan to remove the main wrapper but the user can another class via shortcode and the main wrapper(cpt-alm-wrapper) must be there.
So in the next version, you can add another class and the main wrapper will not overwrite.
Thanks,
TusharHi @katarinakety,
It looks like you need an infinite scroll in the category(Archive) page.
Using the below code you can load current category posts only with infinite scroll, and you can change the structure of the code as per the theme.
archive.php
<?php // archive.php get_header(); ?> <div class="container"> <?php $cat = get_query_var('cat'); $category = get_category ($cat); $slug = $category->slug; echo do_shortcode('[cpt_ajax_load_more post_type="post" template="template-2" grid="2" scroll="true" category="'.$slug.'"]'); ?> </div> <?php get_footer(); ?>
Hi @katarinakety,
The plugin provides a parameter to filter by a category, so you can try this shortcode and I hope it will work for you
[cpt_ajax_load_more post_type=”post” template=”template-2″ grid=”2″ scroll=”true” category=”slug-of-categroy”]
Best Regards,
Tushar