• Resolved mvdp59

    (@mvdp59)


    Hey,

    I managed to make your plugin work (after trying several plugins). I changed the line 13 in ajax-load-more-by-bkker-theme.js to :

    $(contentSelector).append('<a id="ajax-load-more-by-bkker-theme-trigger"><div class="col-1-1 btn"><button type="button">{text}</button></div></a>'.replace('{text}', buttonLabel));

    Loading works ! Problem is, after loading page 2, if there is posts on page 3, my code isn’t loaded again and it is the code below that is loaded (default code) :

    <a id="ajax-load-more-by-bkker-theme-trigger">{text}</a>

    If there is no posts on page 3 there is no problems since I emptied the Finished Message field in wordpress admin.

    I tried changing line 23 and 25 of the same file, but it didn’t work.

    Bonus question : How can I customize the loading message the same way I did for the button label ? (I emptied the field because it was default styling).

    Thank you !

    https://www.ads-software.com/plugins/ajax-load-more-by-bkker-theme/

  • The topic ‘Customize container’ is closed to new replies.