[Support request] Option to change the text and css of 'Load More' button

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Option to change the text and css of 'Load More' button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14861
    Gad
    Participant

    There is no option to change the css and the text of the ‘Load More’ and ‘Loading…’ buttons.
    I need them in a different language and a different layout.
    I changed it manually in the php file, but of course, it should be configurable per each gallery and not a global configuration as I did.

    #14884
    Tom
    Keymaster

    Hi there,

    You can change the text like this:

    add_filter( 'wpsp_ajax_load_more', function() {
        return 'Your load more text';
    } );
    
    add_filter( 'wpsp_ajax_loading', function() {
        return 'Your loading text';
    } );

    As for the CSS, it should inherit your Read more button options. If that doesn’t work for you, you’ll need to use CSS to change it up.

    Let me know if you need more info 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.