Simple Blog Card

Mô tả

Blog card

  • Generated with shortcode
  • Generated with block
  • Can specify the number of characters displayed in the description.
  • Displays an ogp image.
  • Can specify the size of the displayed ogp image.
  • Can change the title and description.

How it works


  • Template files allow for flexible customization.
  • The default template file is template/simpleblogcard-template.php. Using this as a reference, you can specify a separate template file using the filters below.
/** ==================================================
 * Filter for template file.
    function () {
        $wp_uploads = wp_upload_dir();
        $upload_dir = wp_normalize_path( $wp_uploads['basedir'] );
        $upload_dir = untrailingslashit( $upload_dir );
        return $upload_dir . '/tmp/simpleblogcard-template.php';
  • CSS files can be set separately. Please see the filters below.
/** ==================================================
 * Filter for CSS file.
    function () {
        $wp_uploads = wp_upload_dir();
        $upload_url = $wp_uploads['baseurl'];
        if ( is_ssl() ) {
            $upload_url = str_replace( 'http:', 'https:', $upload_url );
        $upload_url = untrailingslashit( $upload_url );
        return $upload_url . '/tmp/simpleblogcard.css';

Ảnh màn hình

  • View
  • View2
  • Block
  • Block search
  • Settings


This plugin provides 1 block.

  • Simple Blog Card Get OGP and display blog card.

Cài đặt

  1. Upload simple-blog-card directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Hỏi đáp


Đánh giá

5 Tháng Hai, 2024
It is simple and has enough functionality for my needs.If you use this, you can treat the link cards as blocks and set preferences of each card from the block editor.Many link card plug-ins cannot handle non-utf8 encoded pages correctly, but you can set proper encodings manually if you use this.I've been using Pz-LinkCard and it is also good, but I prefer this one.
21 Tháng Mười Một, 2022
I've been searching for easy to use a link preview block and tested plenty, this Blog Card plugin is really simple to use.
6 Tháng Mười, 2020
I like it al lot, it is the forst one that's fully working on all sites. It collects the right preview immage and indeed, for the user it works simple. Ik like it a lot.
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Simple Blog Card” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Simple Blog Card” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Simple Blog Card” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

[2.21] 2024/04/10

  • Fix – Block translation.

[2.20] 2024/04/10

  • Fix – Template.
  • Fix – Block translation.
  • Fix – Host name from output to blank in internal site archive.
  • Change – The management screen was converted to React.

[2.11] 2024/03/31

  • Fix – Template.
  • Added – Added filters to some of the configuration values used in the template.

[2.10] 2024/03/31

  • Fix – Individual hash values for each card are now passed as variables to the template.
  • Fix – Template.
  • Change – Place the CSS files in the same folder as the template files.
  • Added – Added filters to some of the configuration values used in the template.

[2.09] 2024/03/26

  • Fix – Change in the way css are loaded.
  • Fix – Template.

[2.08] 2024/03/25

  • Tweak – Added explanation of search terms for blocks to the admin screen.
  • Fix – Template.

[2.07] 2024/03/25

  • Tweak – Added explanation of search terms for blocks to the admin screen.

[2.06] 2024/03/25

  • Tweak – Added explanation of search terms for blocks to the admin screen.

[2.05] 2024/03/24

  • Fix – Image size issue with default template.

[2.04] 2024/03/24

  • Added – Templates can be selected in the admin panel.
  • Added – Add new template. Special thanks ishitaka.

[2.03] 2024/03/23

  • Fix – Template internal linking issues.
  • Added – Adding a description to the management screen.

[2.02] 2024/03/23

  • Fix – Display problem when ‘Border color width’ is 0.

[2.01] 2024/03/23

  • Removed – CSS saving in the admin panel has been removed.
  • Added – Allowing the filter to load CSS from a separate file.
  • Added – The image position can be changed to the left or right.
  • Tweak – ‘Border color width’ can now be set to 0.
  • Fix – Reviewed template files.

[2.00] 2024/03/20

  • Added – Customization by template files.

[1.41] 2024/02/09

  • Fix – Error that occurs when the title or description cannot be retrieved.

[1.40] 2024/02/04

  • Added – Added ‘encoding’ option. Can specify the character encoding of site.

[1.39] 2024/01/19

  • Fix – Deprecated error in php8.2. mb_convert_encoding => mb_encode_numericentity.
  • Fix – Deprecated error in php8.2. Dynamic Property Issues.


Fixed an error that occurred when the URL was a file.


Site information retrieval was changed from cURL to wp_remote_get.


Rebuild blocks.


Rebuild blocks.


Rebuild blocks.


Supported WordPress 6.4.
PHP 8.0 is now required.


Fixed an issue where protected content could be retrieved with subscriber user. ThanksBob.


Fixed problem of XSS via shortcode. ThanksDmitrii Ignatyev.


Fixed a ratio problem with portrait images.


Fixed problem with sites without description.


Fixed problem with sites without thumbnails.


Fixed the display of thumbnails in the same host.


Host names are now hidden within the same host.


Host name is now displayed.


Added escaping of html special characters.


Fixed a problem in which the site name was not displayed on some sites.
Fixed a problem with insufficient string retrieval at some sites.
The maximum length of the description in the settings has been changed to 300.


Fixed a translation issue.


WordPress 6.1 is now supported.


Fixed a problem with parameters.


Supported WordPress 6.0.


Fixed a problem with parameters.
Rebuilt the block.


Supported WordPress 5.7.


Added the ability to modify CSS in the admin panel.


Separated some style CSS for cards as files.


Added the ability to change the line height of the title, the line height of the description, and the width of the vertical line color.


Supported WordPress 5.6.


Added description of shortcode.


Fixed a translation issue.


The block now supports ESNext.


Fixed block loading error.


Supported open new tab.


Cache interval change.
Fixed problem of timeout.


Add cache removal option.
Add timeout change option.


Changing the timeout value.


Added cache function.


Added input place of URL.


Changed the parsing method.


Fixed OGP acquisition issue.


Initial release.