GithubHelp home page GithubHelp logo

thongtr-dev / card-block-with-box-shadow Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.11 MB

A custom card block for WordPress block editor. It can be used as a content container with custom controls for padding, margin, background color/gradient and, hence the name of the block - box shadow.

PHP 13.55% CSS 0.01% JavaScript 15.76% SCSS 3.23% TypeScript 67.45%
wordpress wordpress-plugin gutenberg-block gutenberg-blocks wordpress-block wordpress-blocks wordpress-plugin-development

card-block-with-box-shadow's Introduction

=== Card Block with Box Shadow ===
Contributors:      thongtruong
Tags:              block, card
Requires at least: 5.9
Requires PHP:      7.4
Tested up to:      6.2
Stable tag:        2.0.0
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Add a custom card block to WordPress block editor with box shadow setting.

== Description ==

**NOTE: This block plugin is only compatible with hybrid and block themes.**

The card block can be used as a content container with custom controls for padding, margin, background color/gradient and, hence the name of the block - box shadow.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/card-block-with-box-shadow` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to WordPress block editor in page/post and type "/card" to choose the Card Block with Box Shadow block and begin editting.

== Frequently Asked Questions ==

= What type of blocks can be used inside the Card Block with Box Shadow block? =

Any block

== Screenshots ==

1. Type "/card" to choose the block
2. Add any block you wish inside the card block
3. The card shadow toggle is enabled by default
4. When the card shadow toggle is disabled, it will hide the card shadow control underneath
5. The result on frontend

/assets/screenshot-1.png
/assets/screenshot-2.png
/assets/screenshot-3.png
/assets/screenshot-4.png
/assets/screenshot-5.png

== Changelog ==

= 2.0.0 =
* Refactor codebase to TypeScript

= 1.0.0 =
* Initial release

card-block-with-box-shadow's People

Contributors

thongtr-dev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.