tibewww
Forum Replies Created
-
HI and thanks for the reply,
I dont have the export value in my plugin ??
see screenshot: https://prnt.sc/iqm8n5
is there something am i missing ??
Thanks for all !
its not working for me, do you i am not able to change any string ( even simple text) on my csv being export. I add this function to replace a word ni the settings / function editor area:
function replace_text($text) { $text = str_replace('oldword', 'replace-with-this-string', $text); return $text; } add_filter('the_content', 'replace_text');
But nothigng change in the csv . . . . am i missing a step or anything else ?
Thanks for all . .
- This reply was modified 6 years, 8 months ago by tibewww.
Thanks Dcooney,
unfortunateyl ti stll remaining even if i put images_loaded to false ?? ??
Working so much better !!!
Just one thing now, when reaching the number of post and arriving to the button, it’s taking quite some time to load the new posts ?
I have setup transition speed to zero but it doesn’t change anything.. I also tried to remove the scroll distance without success ?? IF you have any other idea ?? ? I’ll stop to bother you after that ehehe
[ajax_load_more
preloaded=”true”
preloaded_amount=”6″
images_loaded=”true”
posts_per_page=”6″
pause=”false”
pause_override=”false”
max_pages=”0″
transition=”none”
transition_speed=”0″
scroll=”true”
orderby=”menu_order”
container_type=”div”
transition_container=”false”
scroll_distance=”500″
]`Thanks for all !
Hi,
Really appreciate the fast reply, thanks.
I added destroy_after=”5″ in the shortcode . . .
With that it stop to load all the post ( Stopping after a while):( ??
If will be incredible if you can help out, I’m quite late in a project delivery due to this unfortunately.
Thanks a lot !
PS: I think the formatting gproblem is coming from your previous post and not mine ?
Hi Dcooney,
Thanks for the fast reply, really appreciate !
I’m changing the shortcode to dispaly only 3 post by 3 and it keeps hapenning:
<?php echo do_shortcode ('[ajax_load_more preloaded="true" preloaded_amount="3" images_loaded="true" posts_per_page="3" pause="false" pause_override="false" max_pages="0" transition="none" transition_speed="10" scroll="true" orderby="menu_order" container_type="div" transition_container="false" scroll_distance="500" ] ')
I believe the issue is due to the button like you are mentioning
How can this be fixed ?my page look like below:
<div id="blog"> <?php // the query $the_query = new WP_Query( array( 'posts_per_page' => -1, )); ?> <?php if ( $the_query->have_posts() ) : ?> <?php echo do_shortcode ('[ajax_load_more preloaded="true" preloaded_amount="3" images_loaded="true" posts_per_page="3" pause="false" pause_override="false" max_pages="0" transition="none" transition_speed="10" scroll="true" orderby="menu_order" container_type="div" transition_container="false" scroll_distance="500" ] ') ?> <?php wp_reset_postdata(); ?> <?php endif; ?> </div>
my repeater template like:
<li id="post-<?php the_ID(); ?>" <?php post_class('animation-element'); ?>> <?php the_post_thumbnail ('full'); ?> </li>
I really appreciate your help on this, it will save my a hudge amount of time !
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] nothing appear<li> <?php global $post; if( get_row_layout() == 'images' ): echo'<div class="wrapper-for-images">'; $image = get_sub_field('image', $post->ID); $class = get_sub_field('alignement', $post->ID); echo '<img src="' . $image['url'] . '" class="' . $class . '" />'; echo'</div>'; elseif( get_row_layout() == 'videos' ): //while ( have_rows('videos') ) : the_row(); echo'<div class="wrapper-for-iframe">'; the_sub_field('video', $post->ID); echo'</div>'; // endwhile; endif; ?> </li>
I tried the above without success ?
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] nothing appearHi,
Ok, the js is workign now but I’m confuse, I get the button loadnig being dipslay, but no custom fields are being fetched . . .
I use this in my page template:
<ul class="media_grid_repeat"> <?php echo do_shortcode ('[ajax_load_more preloaded="true" preloaded_amount="4" posts_per_page="-1" pause="true" pause_override="true" scroll="true" button_label="Load More" button_loading_label="Loading..." acf="true" acf_field_type="flexible" acf_field_name="grid" container_type="ul" transition="fade" images_loaded="true" post_type="any"]') ?> </ul>
this in my repeater template:
<li> <?php if( get_row_layout() == 'images' ): echo'<div class="wrapper-for-images">'; $image = get_sub_field('image', $post->ID); $class = get_sub_field('alignement', $post->ID); echo '<img src="' . $image['url'] . '" class="' . $class . '" />'; echo'</div>'; elseif( get_row_layout() == 'videos' ): //while ( have_rows('videos') ) : the_row(); echo'<div class="wrapper-for-iframe">'; the_sub_field('video', $post->ID); echo'</div>'; // endwhile; endif; ?> </li>
Below is the html output:
<ul class="media_grid_repeat"> <div id="ajax-load-more" class="ajax-load-more-wrap default alm-0 alm-loading" data-alm-id="0" data-canonical-url="https://staging-four23.net/peak/" data-slug="home" data-post-id="0"><ul class="alm-listing alm-ajax media_grid " data-acf="true" data-acf-field-type="flexible" data-acf-field-name="grid" data-acf-post-id="0" data-repeater="default" data-post-type="any" data-sticky-posts="" data-post-format="" data-category="" data-category-not-in="" data-tag="" data-tag-not-in="" data-taxonomy="" data-taxonomy-terms="" data-taxonomy-operator="" data-taxonomy-relation="" data-meta-key="" data-meta-value="" data-meta-compare="" data-meta-relation="" data-meta-type="" data-year="" data-month="" data-day="" data-author="" data-post-in="" data-post-not-in="" data-exclude="" data-search="" data-custom-args="" data-post-status="" data-order="DESC" data-orderby="date" data-offset="0" data-posts-per-page="-1" data-lang="" data-scroll="true" data-scroll-distance="150" data-max-pages="0" data-pause-override="true" data-pause="true" data-button-label="Load More" data-button-loading-label="Loading..." data-button-class="" data-destroy-after="" data-transition="fade" data-images-loaded="true"></ul><div class="alm-btn-wrap"><button id="load-more" class="alm-load-more-btn more loading">Loading...</button></div></div> </ul>
Is it possible to get any help with that ?
It will be really super helpfull ??
Thanks you for your time and help, it is highly appreciate ??
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] nothing appearok now the js is working but no post display from the shortcode ?
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] nothing appearThanks, I can see it’s commented, but it’s pretty weird as I have just install the plugin, where is this being generated from ?
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] nothing appearany idea for my issue ?? ?? ? sorry to cut the conversation ??
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] nothing appearwhere is this ?
is it okay If iremove the link ?
Thanks ??
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] nothing appearit should appear below the spotify playlist but currently i have only thsi being output in the html:
<div id="ajax-load-more" class="ajax-load-more-wrap default" data-alm-id="" data-canonical-url="https://staging-four23.net/peak/" data-slug="home" data-post-id="0"><ul class="alm-listing alm-ajax media_grid " data-acf="true" data-acf-field-type="flexible" data-acf-field-name="grid" data-acf-post-id="0" data-repeater="default" data-post-type="any" data-sticky-posts="" data-post-format="" data-category="" data-category-not-in="" data-tag="" data-tag-not-in="" data-taxonomy="" data-taxonomy-terms="" data-taxonomy-operator="" data-taxonomy-relation="" data-meta-key="" data-meta-value="" data-meta-compare="" data-meta-relation="" data-meta-type="" data-year="" data-month="" data-day="" data-author="" data-post-in="" data-post-not-in="" data-exclude="" data-search="" data-custom-args="" data-post-status="" data-order="DESC" data-orderby="date" data-offset="0" data-posts-per-page="5" data-lang="" data-scroll="true" data-scroll-distance="150" data-max-pages="0" data-pause-override="false" data-pause="false" data-button-label="Load More" data-button-loading-label="Loading..." data-button-class="" data-destroy-after="" data-transition="fade" data-images-loaded="true"></ul></div>
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] nothing appearno worries,
yes i have the advance custom field extension installed.
Im not able to share the link unfortunately . . . is there anything else I can help with ??
Thank so much
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] nothing appearhmmm,
i’m not using any post this is the thing,
all the flexible content / repeater filed are in a (same) page.
This is what i m trying to ‘ajax load more”, is this the right path ?
the code you put should go to my page template ?
What should i use in the repeater template from ALM ?
Thanks your quick answer, that’s awesome !
- This reply was modified 7 years, 3 months ago by tibewww.