{"id":6959,"date":"2025-10-08T10:30:21","date_gmt":"2025-10-08T05:00:21","guid":{"rendered":"https:\/\/holithemes.com\/plugins\/click-to-chat\/?post_type=docs&#038;p=6959"},"modified":"2025-10-08T10:30:24","modified_gmt":"2025-10-08T05:00:24","slug":"greetings-2","status":"publish","type":"docs","link":"https:\/\/holithemes.com\/plugins\/click-to-chat\/docs\/greetings-2\/","title":{"rendered":"Greetings-2 Content Specific"},"content":{"rendered":"\n<p>The purpose of Greetings-2 Content Specific is to solely exhibit the data elegantly. When the primary focus of the greetings dialog is to show a lot of data, Greetings-2 is recommended.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"607\" height=\"343\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-12-1.webp\" alt=\"\" class=\"wp-image-2981\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-12-1.webp 607w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-12-1-300x170.webp 300w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#Main-content\" data-type=\"internal\" data-id=\"#Main-content\">Main content<\/a><\/li>\n\n\n\n<li><a href=\"#bottom-content\" data-type=\"internal\" data-id=\"#bottom-content\">Bottom content<\/a><\/li>\n\n\n\n<li><a href=\"#call-to-action\" data-type=\"internal\" data-id=\"#call-to-action\">Call to Action<\/a><\/li>\n\n\n\n<li><a href=\"#background-color\" data-type=\"internal\" data-id=\"#background-color\">Background color<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>Customize Greetings-2 Content specific at \u2018<strong>Click to Chat<\/strong>\u2019 <strong>\u2014&gt;<\/strong>\u2019<strong>Greetings<\/strong>\u2019 and select \u2019<strong>Greetings-2 Content specific\u2019.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"158\" height=\"153\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/G-NAV-1.webp\" alt=\"\" class=\"wp-image-6264\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"671\" height=\"150\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-3.webp\" alt=\"\" class=\"wp-image-2986\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-3.webp 671w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-3-300x67.webp 300w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The greetings dialog has 3 rich text editor blocks to construct the text with its toolbar widgets.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>  Header content<\/li>\n\n\n\n<li>  Main content<\/li>\n\n\n\n<li>  Bottom content<\/li>\n<\/ul>\n\n\n\n<p>Click to Chat variables like <strong>{site}, {title}<\/strong>, and <strong>{url} <\/strong>can also be used in these text editors. The values of these variables are replaced dynamically:<\/p>\n\n\n\n<p><strong>{site}<\/strong> &#8211; changes to the current website name.<br><strong>{title}-<\/strong> changes to the title of the current page. (If it\u2019s the home page, then changes to the website name.)<br><strong>{url}<\/strong> &#8211; replaces with the current page URL.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p id=\"Main-content\"><strong>Main Content:<\/strong> The content present in the main content appears inside the message box of the greetings dialog body.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"454\" height=\"299\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-1.webp\" alt=\"\" class=\"wp-image-2987\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-1.webp 454w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-1-300x198.webp 300w\" sizes=\"(max-width: 454px) 100vw, 454px\" \/><figcaption class=\"wp-element-caption\">Here, {title} is replaced with the current page title.<\/figcaption><\/figure>\n\n\n\n<p id=\"bottom-content\"><strong>Bottom Content:<\/strong> The content present in the Bottom Content appears at the bottom part of the greetings dialog.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"457\" height=\"297\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-2.webp\" alt=\"\" class=\"wp-image-2988\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-2.webp 457w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-2-300x195.webp 300w\" sizes=\"(max-width: 457px) 100vw, 457px\" \/><\/figure>\n\n\n\n<p id=\"call-to-action\"><strong>Call to Action:<\/strong> This text appears on the WhatsApp button of the greetings dialog.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"476\" height=\"111\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-19.webp\" alt=\"\" class=\"wp-image-2989\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-19.webp 476w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-19-300x70.webp 300w\" sizes=\"(max-width: 476px) 100vw, 476px\" \/><\/figure>\n\n\n\n<p>Style-1 is allotted for the Call to Action button of the Greetings-2 dialog. To customize this Call to Action button, navigate to \u2018<strong>Click to Chat\u2019 \u2014&gt; \u2019Customize\u2019<\/strong> and select <strong>\u2019style-1\u2019<\/strong>.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p id=\"background-color\"><strong>Greetings dialog-2 Color customization: <\/strong>To change the background color of the greetings dialog, either enter a hexadecimal color value or select any color from the palette. Click on &#8216;Default&#8217; to apply the default color.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"485\" height=\"553\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-13.png\" alt=\"\" class=\"wp-image-2961\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-13.png 485w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/image-13-263x300.png 263w\" sizes=\"(max-width: 485px) 100vw, 485px\" \/><\/figure>\n\n\n\n<p>With the default colors, the Greetings dialog-2 appears like this:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"315\" height=\"368\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-27.webp\" alt=\"\" class=\"wp-image-2990\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-27.webp 315w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-27-257x300.webp 257w\" sizes=\"(max-width: 315px) 100vw, 315px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Display:<\/strong> This feature displays a greetings dialog based on the type of device. It has 3 attributes.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"439\" height=\"214\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-20.webp\" alt=\"\" class=\"wp-image-2991\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-20.webp 439w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-20-300x146.webp 300w\" sizes=\"(max-width: 439px) 100vw, 439px\" \/><\/figure>\n\n\n\n<p><strong>Desktop and Mobile:<\/strong> This is the default attribute. The greetings dialog appears on all desktop and mobile devices.<br><strong>Desktop Only:<\/strong> Greetings dialog is displayed only on desktop devices.<br><strong>Mobile Only:<\/strong> Greetings dialog is displayed only on Mobile devices.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Greetings Dialog Initial Stage:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"939\" height=\"237\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Greetings-intial-stage-1.webp\" alt=\"\" class=\"wp-image-5664\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Greetings-intial-stage-1.webp 939w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Greetings-intial-stage-1-300x76.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/Greetings-intial-stage-1-768x194.webp 768w\" sizes=\"(max-width: 939px) 100vw, 939px\" \/><\/figure>\n\n\n\n<p><strong>Open:<\/strong> Greetings dialog appears by default. Whenever a user closes the greetings dialog on any page in the website, the greetings dialog automatically gets hidden on all the pages of the website. Greetings reappear only after the user clicks on WhatsApp.<br>Here, User Action is the key. If user closes greeting dialog, then it is closed on all the pages. If a user opens on any page, it will open by default on all the pages that user visits.<\/p>\n\n\n\n<p><strong>Close:<\/strong> The greetings dialog is hidden by default. Greetings appear only when a user clicks on the WhatsApp button.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\"><strong>Greeting Actions<\/strong><\/h4>\n\n\n\n<p>Actions are useful to promote the Greetings message at a particular Time, Page scroll and Click.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>&nbsp;\ud83d\udd17&nbsp;Included in the PRO plan \u2014&nbsp;<a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/pricing\/\">View Pricing<\/a><\/em><\/p>\n<\/blockquote>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the Initial stage is set to Open, the greetings dialog appears immediately. But if a user closes the greetings dialog on any page, then it will re-appear based on &#8216;Actions&#8217;<\/li>\n\n\n\n<li>To display the greetings dialog only after a particular time and scroll delay or any click actions, please set the initial stage to &#8216;<strong>close<\/strong>&#8216;.<\/li>\n<\/ul>\n\n\n\n<p><strong>Time Action:<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"460\" height=\"166\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-22.webp\" alt=\"\" class=\"wp-image-2993\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-22.webp 460w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-22-300x108.webp 300w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/><\/figure>\n\n\n\n<p>The Greetings dialog appears on the web pages after completion of the specified time in &#8216;Time action&#8217;. The value of &#8216;Time Action&#8217; is in seconds.<\/p>\n\n\n\n<p>If the initial stage is set to &#8216;Open&#8217;: By default, the greetings dialog appears immediately on the webpage for the first time. Afterwards, greetings appear only after completion of the given time action value.<\/p>\n\n\n\n<p>If the initial stage is set to &#8216;Close&#8217;, the greetings dialog appears after completion of the given time action value. When Greetings is closed on any page, it reappears after completion of the given time action value.<\/p>\n\n\n\n<p><br><strong>Scroll Action:<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"461\" height=\"113\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-23.webp\" alt=\"\" class=\"wp-image-2994\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-23.webp 461w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-23-300x74.webp 300w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><\/figure>\n\n\n\n<p>The value entered in the scroll action is taken as the percentage value. The greetings dialog appears after scrolling down the webpage to this value. From the above image, greetings appear after the user scrolls down to 50% of the webpage.<\/p>\n\n\n\n<p>If both time and scroll action values are given at once, then whichever value finishes first will be executed. <\/p>\n\n\n\n<p><strong>Click Action: <\/strong><br><\/p>\n\n\n\n<p>Add the&nbsp;<strong>\u2018ctc_greetings\u2019<\/strong>&nbsp;class name to any element. When the user clicks on that element, the greetings dialog appears. <\/p>\n\n\n\n<p>Click this button to see the Greetings Click Action Demo <\/p>\n\n\n\n<div class=\"wp-block-buttons ctc_greetings is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button #ctc_greetings\"><a class=\"wp-block-button__link wp-element-button\">Demo \u2013 Click Action<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-black-color has-text-color\"><strong>Text Editor Tips:<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Toolbar Toggle:<\/strong> To explore all the menus in the text editor, click on the toolbar toggle and customize accordingly.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"820\" height=\"139\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-12-1.webp\" alt=\"\" class=\"wp-image-2995\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-12-1.webp 820w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-12-1-300x51.webp 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-12-1-768x130.webp 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Visual\/Text<\/strong>: In these text editors, we can customize the text either visually or by HTML code in the tab \u201cText\u201d.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"479\" height=\"94\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-13.webp\" alt=\"\" class=\"wp-image-2996\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-13.webp 479w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/04\/Untitled-13-300x59.webp 300w\" sizes=\"(max-width: 479px) 100vw, 479px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Explore More Greetings<\/strong><\/h5>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/greetings-2\/\">Greetings-1: Customizable Design<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/greetings-form\/\">Greetings Form<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/multi-agent\/\">Multi Agent<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The purpose of Greetings-2 Content Specific is to solely exhibit the data elegantly. When the primary focus of the greetings dialog is to show a lot of data, Greetings-2 is recommended. Customize Greetings-2 Content specific at \u2018Click to Chat\u2019 \u2014&gt;\u2019Greetings\u2019 and select \u2019Greetings-2 Content specific\u2019. The greetings dialog has 3 rich text editor blocks to [&hellip;]<\/p>\n","protected":false},"featured_media":0,"parent":0,"menu_order":0,"template":"","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":"set","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":""}},"_htd2_assets":[]},"class_list":["post-6959","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/docs\/6959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/types\/docs"}],"wp:attachment":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/media?parent=6959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}