• Resolved ali7e

    (@ali7e)


    Hello,

    If I use {post_content} in the template, the content of the post gets cut off if the post is long. Is there any way to make it post the full content?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Manzoor Wani

    (@manzoorwanijk)

    Hello,
    The content is stripped only if you have enabled Single Message option, because that way the text is sent as the caption to the featured image and Telegram has a limit of 1024 characters for image caption.

    If you wish to send the whole content, you may disable Single Message option. Also, there is a limit of 4096 characters for a text message. If a text message crosses that limit, it will be split and sent in parts to make sure it’s not rejected by Telegram.

    Thread Starter ali7e

    (@ali7e)

    Hello,
    Thanks for the quick reply. So when strips the content and adds “…” at the end, is there a way to also have it insert a “Read More” link? Otherwise I have to have the read more link in the template even if the content was not shortened.

    Manzoor Wani

    (@manzoorwanijk)

    Adding a Read More link with full control will require little bit of custom code.
    Here are a few options to solve this issue without custom code:

    Solution 1

    • Use {post_excerpt}
    • Set Excerpt Length to less than 100
    • Set Formatting to Markdown
    • Add this to Message Template after {post_excerpt}: [Read More]({full_url})

    Solution 2

    • With Single Message enabled
    • Set Image Position to After the text
    • Use {post_excerpt} as mentioned in Solution 1

    Solution 3

    • Disable Single Message
    • Use {post_content}

    `

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

The topic ‘Long content gets cut off’ is closed to new replies.