{"id":365848,"date":"2026-09-09T19:40:48","date_gmt":"2026-09-09T19:40:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/craftpost-preferred-sources\/"},"modified":"2026-09-09T19:40:32","modified_gmt":"2026-09-09T19:40:32","slug":"craftpost-preferred-sources","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/craftpost-preferred-sources\/","author":23550926,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"CraftPost Preferred Sources","header_author":"CraftPost","header_description":"Add a customizable preferred-source call to action to posts, pages, products, and theme layouts.","assets_banners_color":"eff9f3","last_updated":"2026-09-09 19:40:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/craftpost.net\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":24,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"craftpost","date":"2026-09-09 19:40:32","revision":3688921}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3688921,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3688921,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3688921,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3688921,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3688921,"resolution":"1","location":"assets","locale":"","width":1920,"height":991},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3688921,"resolution":"2","location":"assets","locale":"","width":1920,"height":991},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3688921,"resolution":"3","location":"assets","locale":"","width":1920,"height":991},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3688921,"resolution":"4","location":"assets","locale":"","width":1920,"height":991},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3688921,"resolution":"5","location":"assets","locale":"","width":1920,"height":991}},"screenshots":{"1":"Plugin overview and preferred-source domain check.","2":"Content, appearance, automatic placement, and shortcode settings.","3":"Optional privacy-friendly local click statistics.","4":"Light frontend card.","5":"Dark frontend card."}},"plugin_section":[],"plugin_tags":[232,1602,271892,12651,80],"plugin_category":[36,43],"plugin_contributors":[277023],"plugin_business_model":[],"class_list":["post-365848","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-call-to-action","plugin_tags-preferred-sources","plugin_tags-publishers","plugin_tags-shortcode","plugin_category-analytics","plugin_category-customization","plugin_contributors-craftpost","plugin_committers-craftpost"],"banners":{"banner":"https:\/\/ps.w.org\/craftpost-preferred-sources\/assets\/banner-772x250.png?rev=3688921","banner_2x":"https:\/\/ps.w.org\/craftpost-preferred-sources\/assets\/banner-1544x500.png?rev=3688921","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/craftpost-preferred-sources\/assets\/icon-128x128.png?rev=3688921","icon_2x":"https:\/\/ps.w.org\/craftpost-preferred-sources\/assets\/icon-256x256.png?rev=3688921","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/craftpost-preferred-sources\/assets\/screenshot-1.png?rev=3688921","caption":"Plugin overview and preferred-source domain check."},{"src":"https:\/\/ps.w.org\/craftpost-preferred-sources\/assets\/screenshot-2.png?rev=3688921","caption":"Content, appearance, automatic placement, and shortcode settings."},{"src":"https:\/\/ps.w.org\/craftpost-preferred-sources\/assets\/screenshot-3.png?rev=3688921","caption":"Optional privacy-friendly local click statistics."},{"src":"https:\/\/ps.w.org\/craftpost-preferred-sources\/assets\/screenshot-4.png?rev=3688921","caption":"Light frontend card."},{"src":"https:\/\/ps.w.org\/craftpost-preferred-sources\/assets\/screenshot-5.png?rev=3688921","caption":"Dark frontend card."}],"raw_content":"<!--section=description-->\n<p>CraftPost Preferred Sources helps publishers invite readers to add their website as a preferred source in Google Search.<\/p>\n\n<p>The plugin provides:<\/p>\n\n<ul>\n<li>A responsive light or dark call-to-action card.<\/li>\n<li>Automatic placement before or after content, after the first paragraph, H1, or H2, or before a detected theme footer.<\/li>\n<li>The <code>[craftpost_preferred_sources]<\/code> shortcode for blocks, page builders, and templates.<\/li>\n<li>A configurable source domain, heading, description, and button label.<\/li>\n<li>Locally stored aggregate click statistics with an option to disable collection.<\/li>\n<li>Click statistics displayed directly on the plugin settings page.<\/li>\n<\/ul>\n\n<p>Automatic placements are disabled by default. Local aggregate click statistics are enabled by default for new installations and can be disabled in settings. The plugin does not load remote scripts, styles, fonts, or images.<\/p>\n\n<p>CraftPost Preferred Sources is an independent plugin and is not affiliated with, endorsed by, or sponsored by Google.<\/p>\n\n<h4>External service<\/h4>\n\n<p>The call-to-action links to Google's Preferred Sources page at <code>https:\/\/www.google.com\/preferences\/source<\/code>.<\/p>\n\n<p>No request is made to Google merely by displaying the call to action. Google receives the configured source domain in the destination URL and the visitor's normal web request data only after the visitor clicks the button and leaves the website.<\/p>\n\n<p>Google provides and controls the Preferred Sources feature, including website eligibility and availability. Review <a href=\"https:\/\/policies.google.com\/privacy\">Google's Privacy Policy<\/a> and <a href=\"https:\/\/policies.google.com\/terms\">Google's Terms of Service<\/a>.<\/p>\n\n<h4>Privacy<\/h4>\n\n<p>Local click statistics are enabled by default for new installations. While collection is enabled, the plugin stores aggregate click totals by date, device category, and source page in the local WordPress database. It does not store IP addresses, cookies, or visitor identifiers, and it does not send statistics to CraftPost or any other analytics service.<\/p>\n\n<p>WordPress administrators can add the plugin's suggested disclosure from the Privacy Policy Guide. Deleting the plugin removes its settings and locally stored statistics.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>craftpost-preferred-sources<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the plugin ZIP from <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>.<\/li>\n<li>Activate <strong>CraftPost Preferred Sources<\/strong>.<\/li>\n<li>Open <strong>Tools &gt; CraftPost Preferred Sources<\/strong>.<\/li>\n<li>Configure the card and enable the desired automatic placements.<\/li>\n<li>Alternatively, insert <code>[craftpost_preferred_sources]<\/code> in a Shortcode block or page-builder shortcode widget.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20plugin%20contact%20google%20when%20a%20page%20loads%3F\"><h3>Does the plugin contact Google when a page loads?<\/h3><\/dt>\n<dd><p>No. The frontend uses local CSS, JavaScript, and inline SVG. A visitor contacts Google only after clicking the preferred-source link.<\/p><\/dd>\n<dt id=\"does%20it%20guarantee%20that%20my%20website%20is%20eligible%3F\"><h3>Does it guarantee that my website is eligible?<\/h3><\/dt>\n<dd><p>No. Google controls eligibility and availability. The plugin only creates a call to action and the destination link.<\/p><\/dd>\n<dt id=\"does%20it%20track%20visitors%3F\"><h3>Does it track visitors?<\/h3><\/dt>\n<dd><p>Click statistics are enabled by default for new installations and can be disabled. Only aggregate local counts are stored. No IP address, cookie, or visitor identifier is stored.<\/p><\/dd>\n<dt id=\"which%20shortcode%20attributes%20are%20supported%3F\"><h3>Which shortcode attributes are supported?<\/h3><\/dt>\n<dd><p>Use <code>theme=\"light\"<\/code> or <code>theme=\"dark\"<\/code> to override the saved theme. With Polylang, edit the heading, description, and button text for each configured language in the plugin settings. The current page language selects the texts automatically.<\/p><\/dd>\n<dt id=\"can%20i%20translate%20the%20interface%3F\"><h3>Can I translate the interface?<\/h3><\/dt>\n<dd><p>Yes. The plugin is ready for community translations through translate.wordpress.org. User-entered multilingual content is edited in the plugin settings when Polylang is active.<\/p><\/dd>\n<dt id=\"can%20i%20use%20it%20with%20elementor%3F\"><h3>Can I use it with Elementor?<\/h3><\/dt>\n<dd><p>Yes. Add <code>[craftpost_preferred_sources]<\/code> to an Elementor Shortcode widget.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Removed bundled translation catalogs and the unnecessary manual text-domain loader for WordPress.org compatibility.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<\/ul>","raw_excerpt":"Add a customizable preferred-source call to action with opt-in placement and privacy-friendly local click counts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/365848","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=365848"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/craftpost"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=365848"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=365848"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=365848"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=365848"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=365848"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=365848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}