{"id":486,"date":"2017-12-20T19:12:19","date_gmt":"2017-12-20T13:42:19","guid":{"rendered":"https:\/\/holithemes.com\/whatsapp-chat\/?p=486"},"modified":"2017-12-20T19:12:19","modified_gmt":"2017-12-20T13:42:19","slug":"pre-filled-message","status":"publish","type":"post","link":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/pre-filled-message\/","title":{"rendered":"Add pre-filled Message"},"content":{"rendered":"<p>Add pre-filled message,<\/p>\n<p>From Plugin Settings ( &#8220;Click to Chat&#8221;&nbsp; &#8211; &#8220;Initial Message&#8221; field )<\/p>\n<p><a href=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1924.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-491\" src=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1924.png\" alt=\"\" width=\"820\" height=\"136\" srcset=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1924.png 820w, https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1924-300x50.png 300w, https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1924-768x127.png 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<p>here pre-filled message added&nbsp; &#8216; sales team:&#8217;<\/p>\n<p>so&nbsp;this pre-filled message returns in WhatsApp chat box.<\/p>\n<p><a href=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1925.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-492\" src=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1925.png\" alt=\"\" width=\"986\" height=\"81\" srcset=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1925.png 986w, https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1925-300x25.png 300w, https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/2017-12-20_1925-768x63.png 768w\" sizes=\"(max-width: 986px) 100vw, 986px\" \/><\/a><\/p>\n<hr>\n<p>For style-1, it return both pre-filled message + user entered text.<\/p>\n<p>e.g.<\/p>\n<pre>[chat style=1&nbsp; text=\"for testing style-1: \"]<\/pre>\n<div class=\"ccw_plugin\"><img decoding=\"async\" class=\"img-icon-sc sc_item pointer style-3-sc\" src=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/plugins\/click-to-chat-for-whatsapp\/.\/new\/inc\/assets\/img\/whatsapp-logo.svg\" alt=\"WhatsApp chat\" onclick=\"window.open('https:\/\/api.whatsapp.com\/send?phone=&text=for testing style-1: ', '_blank', 'noreferrer')\" style=\"height: 50px;  \" ><\/div>\n<p>&nbsp;<\/p>\n<hr>\n<h2>Add Web page URL in pre-filled message<\/h2>\n<p>( since version 1. 5 )<\/p>\n<p>In the Initial text filled, add any text as pre-filled text in WhatsApp chat box.<\/p>\n<p>To add the page URL in the pre-filled message &#8211; add <strong>{{url}} <\/strong>placeholder<\/p>\n<p>{{url}} ( open double curl braces and then &#8216;url&#8217; and then close double curl braces )<\/p>\n<p>the {{url}} placeholder will be replaced with the Web page URL.<\/p>\n<p>Can add {{url}} placeholder at any place<\/p>\n<p>e.g.<\/p>\n<p>{{url}}: Hello, How are you<\/p>\n<p>Hello, I am planning to buy this plan &#8211; {{url}}<\/p>\n<p><a href=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/url_placeholder.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-683\" src=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/url_placeholder.png\" alt=\"\" width=\"834\" height=\"175\" srcset=\"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/url_placeholder.png 834w, https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/url_placeholder-300x63.png 300w, https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-content\/uploads\/2017\/12\/url_placeholder-768x161.png 768w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/a><\/p>\n<p>{{url}} will be replaced with the Web page URL<\/p>\n<hr>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add pre-filled message, From Plugin Settings ( &#8220;Click to Chat&#8221;&nbsp; &#8211; &#8220;Initial Message&#8221; field ) here pre-filled message added&nbsp; &#8216; sales team:&#8217; so&nbsp;this pre-filled message returns in WhatsApp chat box. For style-1, it return both pre-filled message + user entered text. e.g. &nbsp; Add Web page URL in pre-filled message ( since version 1. 5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2,4],"tags":[],"class_list":["post-486","post","type-post","status-publish","format-standard","hentry","category-docs","category-settings"],"_links":{"self":[{"href":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-json\/wp\/v2\/posts\/486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-json\/wp\/v2\/comments?post=486"}],"version-history":[{"count":0,"href":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-json\/wp\/v2\/posts\/486\/revisions"}],"wp:attachment":[{"href":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-json\/wp\/v2\/media?parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-json\/wp\/v2\/categories?post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/whatsapp-chat\/wp-json\/wp\/v2\/tags?post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}