Last active
February 16, 2019 12:58
-
-
Save adamlaki/180bb53e8720ef7ddf4f3f8d667ea082 to your computer and use it in GitHub Desktop.
Revisions
-
adamlaki revised this gist
Feb 16, 2019 . 1 changed file with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,16 +3,16 @@ function cone_change_infinite_scroll_btn_text() { if ( is_home() || is_archive() ) { ?> <script type="text/javascript"> var textCaption = ''; if ( 'en-US' == $( 'html' ).attr( 'lang' ) ) { textCaption = 'Load More Posts'; } else { textCaption = 'További bejegyzések' } infiniteScroll.settings.text = textCaption; </script> <?php } } add_action( 'wp_footer', 'cone_change_infinite_scroll_btn_text', 3 ); -
adamlaki revised this gist
Feb 16, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ <?php function cone_change_infinite_scroll_btn_text() { if ( is_home() || is_archive() ) { ?> <script type="text/javascript"> var textCaption = ''; if ( 'en-US' == $( 'html' ).attr( 'lang' ) ) { -
adamlaki revised this gist
Feb 16, 2019 . 1 changed file with 11 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,18 @@ <?php function cone_change_infinite_scroll_btn_text() { if ( is_home() || is_archive() ) { ?> <script type="text/javascript"> var textCaption = ''; if ( 'en-US' == $( 'html' ).attr( 'lang' ) ) { textCaption = 'Load More Posts'; } else { textCaption = 'További bejegyzések' } infiniteScroll.settings.text = textCaption; </script> <?php } } add_action( 'wp_footer', 'cone_change_infinite_scroll_btn_text', 3 ); -
adamlaki revised this gist
Feb 16, 2019 . No changes.There are no files selected for viewing
-
adamlaki revised this gist
Feb 16, 2019 . No changes.There are no files selected for viewing
-
adamlaki revised this gist
Feb 16, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function cone_change_infinite_scroll_btn_text() { if ( 'en-US' == $( 'html' ).attr( 'lang' ) ) { textCaption = 'Load More Posts'; } else { textCaption = 'További bejegyzések' } infiniteScroll.settings.text = textCaption; -
adamlaki revised this gist
Feb 16, 2019 . No changes.There are no files selected for viewing
-
adamlaki revised this gist
Feb 16, 2019 . No changes.There are no files selected for viewing
-
adamlaki revised this gist
Feb 16, 2019 . No changes.There are no files selected for viewing
-
adamlaki created this gist
Feb 16, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ <?php function cone_change_infinite_scroll_btn_text() { if ( is_home() || is_archive() ) { ?> <script type="text/javascript"> var textCaption = ''; if ( 'en-US' == $( 'html' ).attr( 'lang' ) ) { textCaption = 'Load More Posts'; } else { textCaption = 'További bejegyzések'; } infiniteScroll.settings.text = textCaption; </script> <?php } } add_action( 'wp_footer', 'cone_change_infinite_scroll_btn_text', 3 );