downfast
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Hide Load More ButtonThis is my shortcode
<?php echo do_shortcode(‘[ajax_load_more post_type=”page” category=”Content” posts_per_page=”6″ pause=”false” scroll=”false” button_label=”+ MORE CONTENT +” ]’); ?>
The category content has only 5 posts attached to it.
So the shortcode has more than the total posts in the category and the button should disabled itself. And it doesn’t.
What has the repeater to do with that?
Thanks man
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Hide Load More ButtonIf my category has 5 posts and my posts_per_page has 6. The button won’t disabled itself. Therefore it doesn’t seem to be just the case that if the total posts is equal to the posts_per_page parameter and If posts_per_page is greater than total posts the button won’t disable itself if we are using a category. Literally, it looks like the query check it is only for the whole site and not specific to a query. e.g. for a category
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Hide Load More ButtonIf posts_per_page is greater than total posts the button will disable itself.
With
total posts
you mean TOTAL posts of the site, not total posts as per the category we are querying right? As what I noticed is that if my query looks out for a category and this has 5 posts total and my posts_per_page says 6, the button won’t disable itself. Which means it counts TOTAL POSTS of the actual site not total posts of the query. Is there any solution?
You should and could anyway, because you already gave us the opportunity to add our own classes to containers and buttons which is also great for multi instance and styling ??
That’s good to know but it is not just good for validating but I will have to use jQuery as if I hack the plugin, then each time you’ll make an update we will have to change it again. Thought might be a quick update you could do in the core.
Ok anyway I will do it via my js.
Thanks
Actually even the container has a duplicated ID with
#ajax-load-more
How can we do so that each container and button (urgent in my case) has a unique identifier?
p.s. obviously I can target the class and use
$this
but unique ids would be much better for all.Thanks
Forum: Plugins
In reply to: [Video Thumbnails] Downloading more than 1 image?yes I did get what max size was. Ok I will use the test tool to find out, thanks for the work and replies
Forum: Plugins
In reply to: [Video Thumbnails] Downloading more than 1 image?OK got it, so it is affecting the quality by compressing which obviously will affect its size.
What about Vimeo max image thumbnail size, does it have Full HD (1920×1080)?
Forum: Plugins
In reply to: [Video Thumbnails] Downloading more than 1 image?Also the max image vimeo size is 1280px x ? What’s the height, 720px? I thought it had Full HD version of 1920×1080
That means that it is better that i set in my function.php whatever max vimeo image size.
Forum: Plugins
In reply to: [Video Thumbnails] Downloading more than 1 image?It’s the word “quality” which is misleading, I thought it meant that full size image with 0-100 as image quality was meant for compression while instead you are saying it affect the size, in what way a value 0 to 100 will affect the file size then?
Forum: Plugins
In reply to: [Video Thumbnails] Downloading more than 1 image?Ok great. So in the pro version, in the quality section, it says:
Full Size Image
Other Sizes
if I have a in my function.php only
add_image_size('big', 1200, 585, true);
Does that mean I need to set
100
for best quality onlyOther Sizes
skipping theFull Size Image
as I am not using it?Forum: Plugins
In reply to: [Video Thumbnails] Downloading more than 1 image?Does it have to with different featured image I have in my function.php?
Ok I found
Taxonomies are just methods of classifying things. In WordPress, both tags and categories are part of WordPress' default taxonomy systems.
So categories should be taxonomies and your plugIn supports comma separated taxonomies..
Testing now..
Eventually this is what makes it work. Basically I am calculating the container height each time I load more content and I skip the first time with a simple if statement
if(!jQuery("body").hasClass("loadedList")) { jQuery("body").addClass("loadedList"); } else { var pos = jQuery("#container").height(); $("body, html").animate({scrollTop: pos}, 1000).offset().top; }
have you tried using the callback?
jQuery.fn.almComplete = function(alm){ ...your code... }