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 characters
| <?php | |
| add_filter('the_content', 'post_content'); | |
| function post_content($content) { | |
| $out = '<p>Yazı sonunda gözükecek paragraf buraya.</p>'; | |
| return $content.$out; | |
| } |
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 characters
| <?php | |
| if( ! function_exists( 'possibly_redirect' )){ | |
| function possibly_redirect(){ | |
| global $pagenow; | |
| if( 'wp-login.php' == $pagenow ) { | |
| if ( isset( $_POST['wp-submit'] ) || // in case of LOGIN | |
| ( isset($_GET['action']) && $_GET['action']=='logout') || // in case of LOGOUT | |
| ( isset($_GET['checkemail']) && $_GET['checkemail']=='confirm') || // in case of LOST PASSWORD | |
| ( isset($_GET['checkemail']) && $_GET['checkemail']=='registered') || // in case of REGISTER |