[Support request] Excerpts under featured image

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Excerpts under featured image

This topic contains 1 reply, has 2 voices, and was last updated by  Tom 4 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7670

    John
    Participant

    can you have a custom description there?

    is this a feature?

    Say i wanted it to say “if you want to find out more about x y and z, read this post” or something

    #7705

    Tom
    Keymaster

    Hey John,

    You can likely use the hooks for this.

    For example, if you had a custom field for each post, you could output that field like this:

    add_action( 'wpsp_before_content', function() {
        $text = get_post_meta( get_the_ID(), 'your_custom_field', true );
    
        if ( $text ) {
            echo $text;
        }
    }, 20 );

    Let me know 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.