How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support translation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18452
    Angel 35
    Participant

    Hello! Where can I translate (rename) the loadmore button (pokatheme v4.1.0)?

    • This topic was modified 6 months ago by Angel 35.
    #18456
    admin
    Keymaster

    Hello Angel!

    We missed to include the “Load More” in the translatable strings, sorry for that, it will be fixed in the next version release. But for the time being you could use the following code snippet (add it in your child theme’s functions.php).

    For Affiliates Tables:

    function poka_load_more_button_fn() {       ?>
    		<a href="#" class="btn btn-primary btn--full jsLoadMoreButton load-more-btn"><span>Load More<span class="spinner"></span></span></a>
    		<?php
    	}
    

    For Affiliates Lists:

    function poka_load_more_button_list_fn() {
    		?>
    		<a href="#" class="btn btn-primary btn--full jsLoadMoreButtonList load-more-btn"><span>Load More<span class="spinner"></span></span></a>
    		<?php
    	}
    
    #18460
    Angel 35
    Participant

    Thanks!

    #18463
    admin
    Keymaster

    You’re welcome!

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