tchatz
Forum Replies Created
-
And thank you very much!
Yes, you have right. I found the problem. I pasted in the wrong template. I fixed it now. Sorry about this 🙁
But returns posts. I changed the offset to 10 and I set scroll to false. Both of them don’t work. You can see it here
No it has 10 but I set it to 20 to see if it works. The problem is not the value of offset. The problem is offset does not work.
I resolved this problem, but now I have another. Shortcode has a probelm. I use this shortcode
<?php
$cat = get_category( get_query_var( ‘cat’ ) );
$category = $cat->slug;
echo do_shortcode(‘[ajax_load_more category=”‘.$category.'” offset=”20″ scroll=”false”]’);
?>but plugin cannot read scroll and offset options.
Could you please tell me how I can make this a global php variable?
Unfortunately, I am not the creator of this theme, so I don’t know what is $this, but I will try to find out