Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jdmbaldwin

    (@jdmbaldwin)

    Plugin Contributor dansod

    (@dansod)

    Well that´s an old thread. There is now filter and hooks built in so you don´t need to hack the plugin on every new version for that kind of customizing.

    I recommend you to use the filter and hooks described on this page.
    https://ww.wp.xz.cn/plugins/subscribe-to-category/installation/

    Thanks,
    Daniel

    And for those of us who aren’t fully competent in code.

    I can see the line I want to use to get the full posts sent out, but where do I put that line?

    In my Themes functions.php file? (tried that, didn’t work).
    Do I add it to the plugin code? What happens when you update, that’ll be overwritten surely?

    Or is this going to be a checkbox in the admin screen in the future?

    richethic

    (@richethic)

    Hi gordnmclean,

    It’s been two months but you or someone else may need the code for this. This worked for us:

    // Force Subscribe to Category Plugin to email full post
    function stc_message_length_sum_of_words(){
        return -1;
    }
    add_filter( 'stc_message_length_sum_of_words', 'stc_message_length_sum_of_words', 10, 1 ); //set return value to a negative number to show the full content

    Hope it helps.
    Rich

    rarcher30

    (@rarcher30)

    How about use the post excerpt text as the email body content instead? I’d like to know how to get this feature to work. I think it would be much neater than limiting the word count of the content or posting the full article in an email.

    Right now I am going to have a shot at hacking the plugin to use the excerpt instead. I can’t see that option in the available filters and hooks (which I presume a developer would add to their functions.php file.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Send full posts?’ is closed to new replies.