{"id":55,"date":"2018-04-15T04:50:46","date_gmt":"2018-04-15T04:50:46","guid":{"rendered":"https:\/\/www.holithemes.com\/plugins\/wca\/?p=55"},"modified":"2018-04-15T04:50:46","modified_gmt":"2018-04-15T04:50:46","slug":"pre-filled-message","status":"publish","type":"post","link":"https:\/\/holithemes.com\/plugins\/click\/pre-filled-message\/","title":{"rendered":"Pre-Filled-Message"},"content":{"rendered":"<p>Pre-filled Message \/ Initial Text<\/p>\n<p>If return type is &#8216;Chat&#8217;, WhatsApp will navigate to WhatsApp Chat page.<\/p>\n<p>In order to enable the user to start the conversation, You can pre-fill some text, to make your visitors easy to start the chat and when user clicks on style to chat, the pre-filled message will automatically placed in WhatsApp chat &#8211; text field.<\/p>\n<h2>Placeholders<\/h2>\n<p>{{url}}\u00a0 \u00a0&#8211;\u00a0 \u00a0to add the Web page URL<\/p>\n<hr \/>\n<p>WooCommerce, in a single product page that can replace the initial text, ( It this\u00a0 WooCommerce plugin options page in order to load the WooCommerce option page just check the &#8216;<a href=\"https:\/\/holithemes.com\/plugins\/click\/enable-woocommerce\/\" target=\"_blank\" rel=\"noopener noreferrer\">Enable WooCommerce options<\/a>&#8216;\u00a0 )<\/p>\n<hr \/>\n<h2>More Placeholders\u00a0 ( Beta Feature )<\/h2>\n<p>This placeholders won&#8217;t work, with shortcodes.\u00a0 If Shortcode is added, this placeholder value become empty.<\/p>\n<p>{{path}},\u00a0{{hostname}},\u00a0{{origin}}<\/p>\n<p>e.g:\u00a0 https:\/\/www.example.com\/hello-world<\/p>\n<p>{{path}}\u00a0 \u00a0 \u00a0 &#8211;\u00a0 hello-world<\/p>\n<p>{{hostname}}\u00a0 \u00a0 &#8211; example.com<\/p>\n<p>{{origin}}\u00a0 \u00a0 &#8211;\u00a0 \u00a0https:\/\/www.example.com\/<\/p>\n<p>For Shortcodes:<\/p>\n<p>e.g:\u00a0 in a page &#8211;\u00a0 example.com\/hello-world<\/p>\n<p>{{hostname}}\u00a0 &#8211; example.com<\/p>\n<p>{{hostname}}, how are you\u00a0 \u00a0&#8211;\u00a0 return the hostname as empty, final return value is\u00a0 \u00a0how are you<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pre-filled Message \/ Initial Text If return type is &#8216;Chat&#8217;, WhatsApp will navigate to WhatsApp Chat page. In order to enable the user to start the conversation, You can pre-fill some text, to make your visitors easy to start the chat and when user clicks on style to chat, the pre-filled message will automatically placed &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/holithemes.com\/plugins\/click\/pre-filled-message\/\"> <span class=\"screen-reader-text\">Pre-Filled-Message<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","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":"","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":"","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-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-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-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-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-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-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}