• Resolved Adam

    (@gourmetbooks)


    Hi all,

    Thanks for this great suite of blocks!

    I’d really like to use Post Timeline with full post content—not the excerpts. I found the code below in this forum post, for the Post Masonry block; is it simple enough to modify it for Post Timeline?

    add_filter('uagb_single_post_excerpt_masonry', function($excerpt, $id, $attr) {
    	return get_the_content();
    },10, 3 );

    Thanks so much.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @gourmetbooks,

    Yes, you have to just replace uagb_single_post_excerpt_timeline instead of uagb_single_post_excerpt_masonry.

    So, kindly use the following code:

    add_filter('uagb_single_post_excerpt_timeline', function($excerpt, $id, $attr) {
    	return get_the_content();
    },10, 3 );

    I hope this helps.

    Regards,
    Sweta

    Thread Starter Adam

    (@gourmetbooks)

    Yes, that’s great! I realize now, though, that it’s stripping out all my HTML, including line breaks. I’ve looked around for some code to address that, but I’m getting a WSOD. Would you add that to the above code for me (and anyone else that needs it)?

    Thanks so much, again.

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @gourmetbooks,

    I have tried that code at my end and it seems to be working fine.

    Could you please open a ticket with us so that we can have a closer look?

    Regards,
    Sweta

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @gourmetbooks,

    Since it’s been quite some time since I heard from you, I assume that this is resolved and therefore, I am marking it resolved for now.

    Please feel free to let us know if you need any further help.

    Regards,
    Rajkiran

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post timeline with full post text (not just excerpt)’ is closed to new replies.