{"id":30169,"date":"2022-11-04T21:15:59","date_gmt":"2022-11-04T21:15:59","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-send-favorite-posts-via-email\/"},"modified":"2023-07-28T13:34:54","modified_gmt":"2023-07-28T13:34:54","slug":"how-to-send-favorite-posts-via-email","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/","title":{"rendered":"How to Send Favorite Posts via Email"},"content":{"rendered":"\n<p><a href=\"https:\/\/crocoblock.com\/plugins\/jetengine\/data-store\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Data Store<\/strong><\/a> created with the<strong><em> <\/em><\/strong><em>JetEngine<\/em> plugin is a handy and practical tool to organize convenient and good-looking pages like \u201cFavorites\u201d or \u201cWishlist.\u201d<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-data-store\">Creating Data Store<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Go to the admin control panel, open <strong><em>JetEngine &gt; JetEngine dashboard &gt; Data Stores<\/em>,<\/strong> and hit the \u201c<strong>New Store<\/strong>\u201d button. Choose the name, store type, and other options. When you are done, hit the \u201c<strong>Save<\/strong>\u201d button. Please note that this tutorial works only if the <strong>Store type<\/strong> is \u201c<strong>User Metadata<\/strong>\u201d.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/store_type.png\" alt=\"jetengine dashboard with data store tab opened\">\n\n\n\n<p>After choosing this <strong>Store type<\/strong>, you can see the new meta field in the _usermeta table if the item goes to the<strong> Data Store<\/strong>. The meta in this field is stored as an array of items. You do not need to go to the database to change something. The <strong>meta key<\/strong> is formed from two parts: je_data_store_ + [your_data_store_name]. Example: Our Store Name is \u201cFavorites,\u201d and the meta key is je_data_store_favorites.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/favourites_database.png\" alt=\"data store in the database\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-form\">Creating a Form<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Log into your website\u2019s WordPress dashboard and go to <strong><em>JetFormBuilder &gt; Add New.<\/em><\/strong><\/p>\n\n\n\n<p>Click the \u201c<strong>Add block<\/strong>\u201d button with a plus-shaped icon in the left upper corner of the window and scroll the list of blocks to the <strong>Jet Form Fields<\/strong> section. You can add any fields that you need. For our case, we just add one Text field for the email &#8211; the address we want to send the email to.<\/p>\n\n\n\n<p>Then add a new <strong>Checkbox Field<\/strong> with the <strong>Source <\/strong>\u201cPosts\u201d and select the<strong> Post Type<\/strong> you use for the <strong>Data Store<\/strong>. By default, the list of options will be formed from the IDs of the posts of the chosen Post Type.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/source_post_type.png\" alt=\"checkbox field options from post type\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-up-preset\">Setting up the Preset<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Go to the <strong>General <\/strong>section of the <strong>Checkbox field<\/strong>. Define the default value, which will be pre-chosen from the start.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/default_general.png\" alt=\"checkbox field settings\">\n\n\n\n<p>For our case, these values from the <strong>Data Store<\/strong> allow having the posts prechecked &#8211; precisely the ones already in the <strong>Data Store<\/strong>. Values are stored in the database, as in the screenshot we showed you at the beginning.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/default_value.png\" alt=\"checkbox field user preset\">\n\n\n\n<p>Note, if you want to hide the checkbox field from the form, here is what you should do:<\/p>\n\n\n\n<ol>\n<li>Place the <strong>Checkbox Field<\/strong> in a separate column<\/li>\n<\/ol>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/column.png\" alt=\"checkbox field block\">\n\n\n\n<p>2. Specify the CSS class for the column<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/css_class.png\" alt=\"additional css class in advanced column settings\">\n\n\n\n<p>3. Then you need to add the following CSS code in <strong><em>Appearance &gt; Customize &gt; Additional CSS<\/em><\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.datastore_hiddenf\n{\n\tdisplay: none;\n}<\/code><\/pre>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/css-code.png\" alt=\"css code in customizer\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-up-post-submit-action\">Setting up the Post Submit Action<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>When the form fields are ready, go to the <strong>Post Submit Actions <\/strong>settings section, press \u201c<strong>New Action,<\/strong>\u201d and choose the \u201cSend Email\u201d option. Then press the pencil-shaped button to edit the action.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/action.png\" alt=\"jetformbuilder send email action\">\n\n\n\n<p>Insert the text or HTML code into the text area <strong>Content <\/strong>field. Use this macro <strong>post_titles_by_ids<\/strong> to get the name of posts; it will take data from the field that contains several posts. For example, the <strong>%favorites|post_titles_by_ids% <\/strong>&nbsp;where <strong>favorites<\/strong> is the name of the form field you want to pull the data from.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/Action2.png\" alt=\"send email action with html action\">\n\n\n\n<p>Don\u2019t forget to click the \u201c<strong>Update<\/strong>\u201d and \u201c<strong>Publish<\/strong>\u201d buttons when you finish editing.<\/p>\n\n\n\n<p>Place the form on any page, fill it in, and hit the \u201c<strong>Submit<\/strong>\u201d button. Check out your mailbox.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/email.png\" alt=\"email sent with post submit action\">\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will dive into how to send favorite posts via email using the functionalities of JetEngine.<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[404],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Send Favorite Posts via Email<\/title>\n<meta name=\"description\" content=\"Discover how to set up the email newsletter with the WordPress user favorite posts with the help of the JetEngine plugin.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Send Favorite Posts via Email\" \/>\n<meta property=\"og:description\" content=\"Discover how to set up the email newsletter with the WordPress user favorite posts with the help of the JetEngine plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-28T13:34:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/store_type.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/\",\"name\":\"How to Send Favorite Posts via Email\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-11-04T21:15:59+00:00\",\"dateModified\":\"2023-07-28T13:34:54+00:00\",\"description\":\"Discover how to set up the email newsletter with the WordPress user favorite posts with the help of the JetEngine plugin.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Send Favorite Posts via Email\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Send Favorite Posts via Email","description":"Discover how to set up the email newsletter with the WordPress user favorite posts with the help of the JetEngine plugin.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/","og_locale":"en_US","og_type":"article","og_title":"How to Send Favorite Posts via Email","og_description":"Discover how to set up the email newsletter with the WordPress user favorite posts with the help of the JetEngine plugin.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/","og_site_name":"Help Center","article_modified_time":"2023-07-28T13:34:54+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/store_type.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/","name":"How to Send Favorite Posts via Email","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-11-04T21:15:59+00:00","dateModified":"2023-07-28T13:34:54+00:00","description":"Discover how to set up the email newsletter with the WordPress user favorite posts with the help of the JetEngine plugin.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-send-favorite-posts-via-email\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Send Favorite Posts via Email"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/30169"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=30169"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=30169"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=30169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}