{"id":241726,"date":"2025-07-24T17:33:46","date_gmt":"2025-07-24T17:33:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/open-graph-card\/"},"modified":"2025-07-28T18:18:25","modified_gmt":"2025-07-28T18:18:25","slug":"link-preview-cards","status":"publish","type":"plugin","link":"https:\/\/ug.wordpress.org\/plugins\/link-preview-cards\/","author":17962097,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.2","stable_tag":"0.1.2","tested":"6.8.5","requires":"5.0","requires_php":"8.2","requires_plugins":null,"header_name":"Link Preview Cards","header_author":"Brent Nef","header_description":"Gutenberg block for displaying link preview cards.","assets_banners_color":"b0d8e7","last_updated":"2025-07-28 18:18:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/n3f\/link-preview-cards","header_author_uri":"https:\/\/github.com\/n3f","rating":0,"author_block_rating":0,"active_installs":40,"downloads":564,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.1":{"tag":"0.1.1","author":"neffff","date":"2025-07-24 17:34:40"},"0.1.2":{"tag":"0.1.2","author":"neffff","date":"2025-07-28 18:18:25"}},"upgrade_notice":{"0.1.2":"<p>Fix for &#039;card&#039; class names.<\/p>","0.1.0":"<p>Initial version<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3336246,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3336246,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3336246,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3335528,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3335528,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3336246,"resolution":false,"location":"assets","locale":"","contents":"{\"plugins\":[\"link-preview-cards\"],\"login\":true,\"steps\":[{\"step\":\"runPHP\",\"code\":\"<?php include 'wordpress\\\/wp-load.php'; wp_insert_post(array( 'post_title' => 'Link Preview Cards', 'post_content' => '<!-- wp:heading --><h2 class=\\\"wp-block-heading\\\">Have you seen this?<\\\/h2><!-- \\\/wp:heading --><!-- wp:paragraph --><p>You can blog with this software...<\\\/p><!-- \\\/wp:paragraph --><!-- wp:link-preview-cards\\\/card {\\\"url\\\":\\\"https:\\\/\\\/wordpress.org\\\",\\\"title\\\":\\\"Blog Tool, Publishing Platform, and CMS - WordPress.org\\\",\\\"description\\\":\\\"Open source software which you can use to easily create a beautiful website, blog, or app.\\\",\\\"image\\\":\\\"https:\\\/\\\/wordpress.org\\\/files\\\/2024\\\/04\\\/wordpress-homepage-ogimage-202404.png\\\"} --><div class=\\\"wp-block-link-preview-cards-card\\\" data-url=\\\"https:\\\/\\\/wordpress.org\\\" data-title=\\\"Blog Tool, Publishing Platform, and CMS - WordPress.org\\\" data-description=\\\"Open source software which you can use to easily create a beautiful website, blog, or app.\\\" data-image=\\\"https:\\\/\\\/wordpress.org\\\/files\\\/2024\\\/04\\\/wordpress-homepage-ogimage-202404.png\\\"><\\\/div><!-- \\\/wp:link-preview-cards\\\/card -->', 'post_status' => 'publish', 'post_author' => 1 )); \"},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"link-preview-cards\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":{"link-preview-cards\/card":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"link-preview-cards\/card","title":"Link Preview Cards","category":"embed","icon":"format-image","description":"Display a card for any URL with link preview data.","keywords":["link preview","card","embed","block"],"version":"0.1.0","textdomain":"link-preview-cards","editorScript":"file:.\/index.js","style":"file:.\/style-index.css","editorStyle":"file:.\/index.css","viewScript":"file:.\/view.js","attributes":{"url":{"type":"string","default":""},"title":{"type":"string","default":""},"description":{"type":"string","default":""},"image":{"type":"string","default":""}},"supports":{"align":["left","center","right","wide","full"]}}},"tagged_versions":["0.1.1","0.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3335528,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3335528,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Link Preview Cards block in the editor","2":"Example of a rendered link preview card"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,230,148076,6487,154],"plugin_category":[56],"plugin_contributors":[200299],"plugin_business_model":[],"class_list":["post-241726","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-embed","plugin_tags-gutenberg","plugin_tags-open-graph","plugin_tags-social-media","plugin_category-social-and-sharing","plugin_contributors-neffff","plugin_committers-neffff"],"banners":{"banner":"https:\/\/ps.w.org\/link-preview-cards\/assets\/banner-772x250.jpg?rev=3335528","banner_2x":"https:\/\/ps.w.org\/link-preview-cards\/assets\/banner-1544x500.jpg?rev=3335528","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/link-preview-cards\/assets\/icon.svg?rev=3336246","icon":"https:\/\/ps.w.org\/link-preview-cards\/assets\/icon.svg?rev=3336246","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/link-preview-cards\/assets\/screenshot-1.png?rev=3335528","caption":"Link Preview Cards block in the editor"},{"src":"https:\/\/ps.w.org\/link-preview-cards\/assets\/screenshot-2.png?rev=3335528","caption":"Example of a rendered link preview card"}],"raw_content":"<!--section=description-->\n<p>Link Preview Cards is a Gutenberg block that fetches and displays link preview\ndata from any URL, creating beautiful social media-style cards instead of\ntraditional embeds.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Automatically fetches link preview metadata (title, description, image)<\/li>\n<li>Displays cards in a social media style format<\/li>\n<li>Supports alignment options (left, center, right, wide, full)<\/li>\n<li>Works with any URL that has link preview metadata<\/li>\n<li>Lightweight and fast<\/li>\n<\/ul>\n\n<p><strong>Perfect for:<\/strong>\n* Blog posts linking to external articles\n* Social media previews\n* Rich link previews\n* Content curation<\/p>\n\n<p>Simply add the \"Link Preview Cards\" block, paste a URL, and the plugin will\nautomatically fetch and display the link preview data in a beautiful card format.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/link-preview-cards<\/code> directory, or install the plugin through the WordPress admin interface.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the \"Link Preview Cards\" block in the Gutenberg editor<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20is%20link%20preview%20data%3F'><h3>What is link preview data?<\/h3><\/dt>\n<dd><p>Link preview data includes metadata like title, description, and image that\nwebsites provide to create rich previews when shared on social media platforms.<\/p><\/dd>\n<dt id='does%20this%20work%20with%20any%20url%3F'><h3>Does this work with any URL?<\/h3><\/dt>\n<dd><p>The URL must have <a href=\"https:\/\/ogp.me\/\">link preview metadata<\/a> for the plugin to\ndisplay rich data. If no link preview data is available, the block will show\nbasic link information.<\/p><\/dd>\n<dt id='is%20this%20compatible%20with%20my%20theme%3F'><h3>Is this compatible with my theme?<\/h3><\/dt>\n<dd><p>Yes, this plugin works with any theme that supports Gutenberg blocks.<\/p><\/dd>\n<dt id='can%20i%20customize%20the%20card%20appearance%3F'><h3>Can I customize the card appearance?<\/h3><\/dt>\n<dd><p>The card styling is designed to work well with most themes. Future versions may\ninclude customization options.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Changed class and CSS structure for cards to avoid conflicts with \"card\".<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Basic link preview card functionality<\/li>\n<li>Gutenberg block integration<\/li>\n<\/ul>","raw_excerpt":"A Gutenberg block that displays link preview cards for any URL, replacing traditional embeds with rich social media previews.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/241726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=241726"}],"author":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/neffff"}],"wp:attachment":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=241726"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=241726"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=241726"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=241726"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=241726"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=241726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}