Skip to content

Commit 1af543a

Browse files
committed
Closing Filter Name
1 parent ce5095b commit 1af543a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ Standard features of the following plugins will be manipulated or extended.
143143
* Create Cannonical URLs for TootPress and Mathilda Pages
144144
* Create NEXT and PREV Links for TootPress and Mathilda Pages
145145

146+
### TootPress
147+
148+
* Add Closing Remark
149+
146150
### UpdraftPlus
147151

148152
* Fade out the annoying Message on Upgrade Page

unmus_tootpress.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@
1111
if (!defined('ABSPATH')) { exit; }
1212

1313
/**
14-
* Afterloop Filter
14+
* Closing Filter
1515
*
1616
* @since 0.9
1717
*
1818
*/
1919

20-
function tootpress_afterloop_add( $content ) {
20+
function tootpress_closing_add( $content ) {
2121

2222
$domain=get_site_url();
2323
$path='/tweets/';
2424

25-
$content='<div class="tootpress-afterloop-filter"><p>Vor Mastodon war Twitter.<br/><a style="padding-top:7px;" href="'.$domain.$path.'">Tweets lesen</a></p></div>';
25+
$content='<div class="tootpress-closing-filter"><p>Vor Mastodon war Twitter.<br/><a style="padding-top:7px;" href="'.$domain.$path.'">Tweets lesen</a></p></div>';
2626

2727
return $content;
2828

2929
}
30-
add_filter( 'tootpress_afterloop_filter', 'tootpress_afterloop_add', 99, 1 );
30+
add_filter( 'tootpress_closing_filter', 'tootpress_closing_add', 99, 1 );
3131

3232
?>

0 commit comments

Comments
 (0)