• 08-12-2016, 16:49:56
    #1
    Siteye girilen her makale'nin sitedeki kayıtlı kullanıcıya bildirimini yapan bir uygulaması veya metodu var mıdır?
  • 08-12-2016, 16:56:15
    #2
    Selamlar,
    https://wordpress.org/plugins/notify-users-e-mail/
    bakabilir misiniz?
  • 15-12-2016, 05:51:26
    #3
    Merhaba hocam istediğiniz özelliği eklentisizde yapabilirsiniz.
    Aşağıdaki kodu functions.php dosyanıza eklemeniz yeterlidir.
    function post_published_notification( $ID, $post ) {
        $author = $post->post_author; /* Post author ID. */
        $name = get_the_author_meta( 'display_name', $author );
        $email = get_the_author_meta( 'user_email', $author );
        $title = $post->post_title;
        $permalink = get_permalink( $ID );
        $edit = get_edit_post_link( $ID, '' );
        $to[] = sprintf( '%s <%s>', $name, $email );
        $subject = sprintf( 'Published: %s', $title );
        $message = sprintf ('Congratulations, %s! Your article “%s” has been published.' . "\n\n", $name, $title );
        $message .= sprintf( 'View: %s', $permalink );
        $headers[] = '';
        wp_mail( $to, $subject, $message, $headers );
    }
    add_action( 'publish_post', 'post_published_notification', 10, 2 );
    Daha detaylı için bkz. https://codex.wordpress.org/Plugin_A...e/publish_post
  • 15-12-2016, 09:52:21
    #4
    @B2medya adli arkadasin verdigi kod yazinin sahibine yazisiyla ilgili mail atiyor. (yayinlandigi, editlendigi zaman vs.)

    bu gibi ozellikler icin functions.php yerine direkt eklenti kullanmanizi oneririm. functions.php'yi sadece temanizla ilgili gelistirmeler/ozellestirmeler icin kullanin derim(ozet uzunlugu, thumbnail boyutu vs. gibi)