{"id":2309,"date":"2024-03-05T10:34:15","date_gmt":"2024-03-05T10:34:15","guid":{"rendered":"https:\/\/wpshortcode.org\/?p=2309"},"modified":"2024-03-05T10:34:16","modified_gmt":"2024-03-05T10:34:16","slug":"cleverreach","status":"publish","type":"post","link":"https:\/\/wpshortcode.org\/cleverreach\/","title":{"rendered":"Newsletter Sign-Up for CleverReach Shortcode"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Below, you&#8217;ll find a detailed guide on how to add the <strong>Newsletter Sign-Up for CleverReach Shortcode<\/strong> to your WordPress website, including its <strong>parameters<\/strong>, <strong>examples<\/strong>, and <strong>PHP function code<\/strong>. Additionally, we&#8217;ll assist you with common issues that might cause the Newsletter Sign-Up for CleverReach Plugin shortcode not to show or not to work correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before starting, here is an overview of the Newsletter Sign-Up for CleverReach Plugin and the shortcodes it provides:<\/p>\n\n\n<p>    <div class=\"plugin-info-box\">\n        <div class=\"top-main\">\n            <!-- SVG Image -->\n            <div class=\"plugin-image\">\n                <img decoding=\"async\" src=\"https:\/\/ps.w.org\/cleverreach\/assets\/icon-256x256.png?rev=2758102\" alt=\"Plugin Icon\" \/>\n            <\/div>\n            \n            <div class=\"plugin-descriptive-part\">\n                <!-- Plugin Name with Link -->\n\n                    <a class=\"plugin-title\" href=\"https:\/\/wordpress.org\/plugins\/cleverreach\" target=\"_blank\" rel=\"noopener\">\n                        Newsletter Sign-Up for CleverReach                    <\/a>\n\n\n                <!-- Plugin Description -->\n                <p class=\"plugin-description\">\n                    &quot;Newsletter Sign-Up for CleverReach is a WordPress plugin that seamlessly integrates your site with the CleverReach email marketing service. Enable quick and easy newsletter subscriptions!&quot;                <\/p>\n            <\/div>\n        <\/div>\n\n        <!-- Rating and Additional Info -->\n        <div class=\"plugin-meta\">\n            <span class=\"plugin-rating\">\n                <span class='stars'>\u2605\u2605\u2605\u2606\u2729<\/span> (13)\n            <\/span>\n            <span class=\"plugin-active-installs\">\n                <strong>Active Installs<\/strong>: 2000+\n            <\/span>\n            <span class=\"plugin-tested\">\n                <strong>Tested with<\/strong>: 6.3.2            <\/span>\n            <span class=\"plugin-php-version\">\n                <strong>PHP Version<\/strong>: false            <\/span>\n        <\/div>\n\n        <!-- List of Included Shortcodes -->\n        <div class=\"plugin-shortcodes\">\n            <strong>Included Shortcodes:<\/strong>\n            <ul>\n                <li>[cleverreach_signup]<\/li>            <\/ul>\n        <\/div>\n    <\/div>\n    <\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Newsletter Sign-Up for CleverReach [cleverreach_signup] Shortcode<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The CleverReach Signup shortcode is a beneficial tool that allows users to register on your site. \n\n\n\nThis shortcode triggers the &#8216;register_shortcode&#8217; function, which in turn activates the &#8216;show_form&#8217; function. The form displayed is not returned immediately, but stored in a buffer using &#8216;ob_start&#8217;, and then retrieved with &#8216;ob_get_clean&#8217;. This process ensures smooth form display.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Shortcode<\/strong>: <code>[cleverreach_signup]<\/code><\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Examples and Usage<\/h3>\n\n\n<p><strong>Basic example<\/strong> &#8211; The shortcode &#8216;cleverreach_signup&#8217; can be used to display a signup form. It does not require any parameters or attributes.<\/p>\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">[cleverreach_signup \/]<\/code><\/pre>\n\n\n<p><strong>Advanced examples<\/strong><\/p>\n<p>1. Display the signup form with a specific title. The title parameter can be used to define the title of the signup form.<\/p>\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">[cleverreach_signup title=\"Join our Newsletter\" \/]<\/code><\/pre>\n\n\n<p>2. Display the signup form with a specific ID. The ID parameter can be used to load a specific form by its ID.<\/p>\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">[cleverreach_signup id=\"123\" \/]<\/code><\/pre>\n\n\n<p>3. Display the signup form with a specific ID and title. If the form with the specified ID is not found, it will try to load the form by its title.<\/p>\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">[cleverreach_signup id=\"123\" title=\"Join our Newsletter\" \/]<\/code><\/pre>\n\n\n<p>Please note that the actual functionality of the shortcode depends on the implementation of the &#8216;register_shortcode&#8217; function in your CleverReach plugin.<\/p>\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">PHP Function Code<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In case you have difficulties debugging what causing issues with <code>[cleverreach_signup]<\/code> shortcode, check below the related PHP functions code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Shortcode line<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">add_shortcode( 'cleverreach_signup', array( $this, 'register_shortcode' ) );<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Shortcode PHP function<\/strong>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; light: false; title: ; toolbar: true; notranslate\" title=\"\">\nfunction register_shortcode( $atts ) {\n\t\tob_start();\n\t\t$this-&gt;show_form( false );\n\n\t\treturn ob_get_clean();\n\t}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Code file location<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">cleverreach\/cleverreach\/includes\/Form\/class-form.php<\/code><\/pre>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you&#8217;ve learned how to embed the <strong>Newsletter Sign-Up for CleverReach Plugin shortcode<\/strong>, understood the parameters, and seen code examples, it&#8217;s easy to use and debug any issue that might cause it to &#8216;not work&#8217;. If you still have difficulties with it, don&#8217;t hesitate to leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below, you&#8217;ll find a detailed guide on how to add the Newsletter Sign-Up for CleverReach Shortcode to your WordPress website, including its parameters, examples, and PHP function code. Additionally, we&#8217;ll assist you with common issues that might cause the Newsletter Sign-Up for CleverReach Plugin shortcode not to show or not to work correctly. Before starting, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"name":"Newsletter Sign-Up for CleverReach","slug":"","version":"2.3.4","author":"<a href=\"https:\/\/www.cleverreach.com\">CleverReach GmbH & Co. KG<\/a>","icons":"https:\/\/ps.w.org\/cleverreach\/assets\/icon-256x256.png?rev=2758102","plugin_tags":"{\"campaign\":\"campaign\",\"cleverreach\":\"cleverreach\",\"email\":\"email\",\"newsletter\":\"newsletter\",\"widget\":\"widget\"}","author_profile":"https:\/\/profiles.wordpress.org\/cleverreach43\/","requires":"3.9","tested":"6.3.2","requires_php":"false","rating":72,"num_ratings":13,"active_installs":2000,"downloaded":52944,"last_updated":"2023-08-24 9:10am GMT","added":"2015-05-13","homepage":"https:\/\/wordpress.org\/plugins\/cleverreach\/","short_description":"Easily integrate a CleverReach Sign-Up form in your website. Supports widget, shortcode, comment integration and template function","description":"\"Newsletter Sign-Up for CleverReach is a WordPress plugin that seamlessly integrates your site with the CleverReach email marketing service. Enable quick and easy newsletter subscriptions!\"","shortcodes":"[\"cleverreach_signup\"]","footnotes":""},"categories":[1],"tags":[],"class_list":["post-2309","post","type-post","status-publish","format-standard","hentry","category-plugins"],"_links":{"self":[{"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/posts\/2309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/comments?post=2309"}],"version-history":[{"count":1,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/posts\/2309\/revisions"}],"predecessor-version":[{"id":2830,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/posts\/2309\/revisions\/2830"}],"wp:attachment":[{"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/media?parent=2309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/categories?post=2309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpshortcode.org\/wp-json\/wp\/v2\/tags?post=2309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}