Support » Plugin: WP Telegram (Auto Post and Notifications) » Can html mode filter other images except featured images?

  • Resolved sunreal

    (@sunreal)


    it cant auto post to telegram,if the post have other images except featured image when i chose html mode
    then i chose markdown, auto post is work,filter other images,but filter urls too
    i need the urls of the post to view in telegram
    is there a way to keep featured image and urls of the post,and filter the other images with html mode?

Viewing 5 replies - 1 through 5 (of 5 total)
  • if the post have only one images,and it’s featured image
    auto post is work well
    featured image
    title
    url in content
    all is view well

    Plugin Author Manzoor Wani

    (@manzoorwanijk)

    Hi, Can you please show me your Message Template from Post to Telegram settings.

    thx for your replay
    Message Template:
    {post_title}
    {post_content}
    {short_url}

    when the post content like this

    <img src="http://exmple.com/a.jpg" />
    

    AAA

    only one image,so the “a.jpg” is Featured Image,and Parse Mode is HTML style
    then telegram view all right

    but if the post content like this

    <img src="http://exmple.com/a.jpg" />
    

    <img src="http://exmple.com/a.jpg" />
    

    AAA
    more the one image,and Parse Mode is HTML style
    telegram view nothing,it’s not work

    • This reply was modified 5 months, 3 weeks ago by sunreal.
    Plugin Author Manzoor Wani

    (@manzoorwanijk)

    Avoid using {post_content} when Parse Mode is set to HTML. Use {post_excerpt} instead.

    i test well now
    there is something wrong with the post Source code
    thx for your kind reply
    have a nice day

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.