All Projects → motopress → getwid-style-kit

motopress / getwid-style-kit

Licence: GPL-2.0 License
This boilerplate is designed for WordPress theme developers who are interested in developing themes with the new WordPress 5.x Block Editor - Gutenberg.

Programming Languages

SCSS
7915 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to getwid-style-kit

Guty-Blocks-2
A minimal, fast development environment for WordPress Gutenberg blocks
Stars: ✭ 52 (+57.58%)
Mutual labels:  gutenberg, gutenberg-boilerplate, gutenberg-blocks
gutenberg-workshop
⚒️ A Gutenberg Workshop 🅱️
Stars: ✭ 21 (-36.36%)
Mutual labels:  gutenberg, gutenberg-boilerplate, gutenberg-blocks
chatterbox
Create chat threads using WordPress Blocks inside app and device wrappers.
Stars: ✭ 18 (-45.45%)
Mutual labels:  gutenberg, gutenberg-blocks, wordpress-blocks
qubely
Qubely Blocks – Full-fledged Gutenberg Toolkit
Stars: ✭ 76 (+130.3%)
Mutual labels:  gutenberg, gutenberg-blocks
slotfill-and-filter-demos
This repo can be used as reference or can be installed as a plugin in any WordPress install to make code changes as needed. Each SlotFill or filter is explained with examples. This is meant to be a working document and will change as Gutenberg does.
Stars: ✭ 93 (+181.82%)
Mutual labels:  gutenberg, gutenberg-blocks
wp-block-description-list
A wordpress gutenberg block plugin for description lists.
Stars: ✭ 17 (-48.48%)
Mutual labels:  gutenberg, gutenberg-blocks
gutenberg-forms
The Next Generation WordPress Form Builder.
Stars: ✭ 98 (+196.97%)
Mutual labels:  gutenberg, gutenberg-blocks
caxton
Gutenberg pro
Stars: ✭ 22 (-33.33%)
Mutual labels:  gutenberg, gutenberg-blocks
aino-blocks
Aino blocks are a collection of Gutenberg editor blocks for page building in WordPress.
Stars: ✭ 57 (+72.73%)
Mutual labels:  gutenberg, wordpress-blocks
browser-shots
A WordPress plugin for taking screenshots of websites using the block editor.
Stars: ✭ 17 (-48.48%)
Mutual labels:  gutenberg, gutenberg-blocks
eightshift-docs
A documentation website for Eightshift open source projects
Stars: ✭ 44 (+33.33%)
Mutual labels:  gutenberg, gutenberg-boilerplate
benenson
A Gutenberg WordPress theme
Stars: ✭ 70 (+112.12%)
Mutual labels:  gutenberg, gutenberg-blocks
icon-block
A simple little WordPress block that allows you add an SVG icon or graphic to your website.
Stars: ✭ 24 (-27.27%)
Mutual labels:  gutenberg, gutenberg-blocks
gumponents
Essential Gutenberg components for WordPress.
Stars: ✭ 29 (-12.12%)
Mutual labels:  gutenberg
noptin
Noptin is the best email newsletter plugin for WordPress.
Stars: ✭ 13 (-60.61%)
Mutual labels:  gutenberg
Gutenberg
Gutenberg for October CMS
Stars: ✭ 52 (+57.58%)
Mutual labels:  gutenberg
disable-drop-cap
Plugin to disable drop cap in Gutenberg editor paragraph block.
Stars: ✭ 11 (-66.67%)
Mutual labels:  gutenberg
jarvis
A speedy Gutenberg ready theme
Stars: ✭ 50 (+51.52%)
Mutual labels:  gutenberg
gutenberg
Scraper for downloading the entire ebooks repository of project Gutenberg
Stars: ✭ 100 (+203.03%)
Mutual labels:  gutenberg
block-options
EditorsKit — a toolkit for the Gutenberg block editor.
Stars: ✭ 248 (+651.52%)
Mutual labels:  gutenberg

Getwid

Getwid Style Kit

This boilerplate is designed for WordPress theme developers who are interested in developing themes with the new WordPress 5.x Block Editor - Gutenberg.

This Style Kit provides smartly organized starter scss files to style Gutenberg and Getwid WordPress Blocks.

Getwid – Gutenberg Blocks is the biggest free library of third-party blocks and design templates by MotoPress for the WordPress Block Editor. Lightweight, multipurpose and deeply customizable.

WordPress Blocks by Getwid can be easily styled to match your theme with a free Getwid Style Kit we created specifically for you. It comes with useful theme support snippets and CSS classes to help you simplify and accelerate the development process of your themes built with Getwid and Gutenberg blocks.

See also: Getwid Base: Default Theme for Getwid Blocks

For themes built using SASS/SCSS

  1. Download a zip folder/clone a repository.
  2. Copy the scss directory and paste it to the sass/scss directory of the theme styles.
  3. Import style.scss at the end of the main file containing styles.
  4. Import editor.scss at the end of the file containing styles which is to be uploaded to the block-editor.
  5. Have fun!

For themes built without SASS/SCSS

  1. Download a zip folder/clone a repository.
  2. Run a console command npm i.
  3. Run a console command gulp(by default this will run a task that will watch for changes in .scss files).
  4. Add generated style.css and editor.css for the frontend and block-editor accordingly.
  5. Have fun!

Useful theme support snippets

Enqueuing the editor style

To style blocks in the Block Editor, add the following snippet into functions.php:

add_theme_support('editor-styles');

add_editor_style( array(
    'path_to_editor_style/editor.css',
    /* here can be url to Google Font, or another style file */
) );

Wide, full alignment

Some blocks can have "wide" and "full" width, It's up to a theme to support this feature.

  • To allow this possibility, add the following snippet into functions.php:
add_theme_support( 'align-wide' );
  • If a theme supports align-wide, it must contain styles for .aligwide and .alignfull classes.

You can find styles for this in ./scss/core-blocks/editor/_common.scss - for the block editor and ./scss/core-blocks/style/_common.scss for the frontend.

Block color palettes

Some blocks allow you to customize colors. A theme can provide a set of such colors. To support this, add the following snippet into functions.php:

add_theme_support( 'editor-color-palette', array(
    array(
        'name' => __( 'Color 1', 'theme-domain' ),
        'slug' => 'color-1',
        'color' => '#0489ef',
    ),
    array(
        'name' => __( 'Color 2', 'theme-domain' ),
        'slug' => 'color-2',
        'color' => '#484848',
    ),
    array(
        'name' => __( 'Color 3', 'theme-domain' ),
        'slug' => 'color-3',
        'color' => '#e0e0e0',
    ),
    array(
        'name' => __( 'Color 4', 'theme-domain' ),
        'slug' => 'color-4',
        'color' => '#808080',
    ),
) );

Note that slugs and colors will be used for generating css classes. These colors must correspond to the ones described in the _variables.scss file.

More information on how to configure themes for WordPress 5.x - Gutenberg can be found here.

Directory structure

For your convenience, all styles are divided into two main groups: core-blocks and getwid-blocks. Each of them has subgroups for styles (general styles) and editor (styles only for the block editor). All files contain templates with the minimum set of selectors for styling different blocks. The _variables.scss file contains the main variables, including colors.

getwid-style-kit
├───css                     # compiled css will be here
└───scss
    ├───core-blocks
    │   ├───editor          # editor specific core blocks styles split into files 
    │   │   ├─── ...
    │   │   └─── ...
    │   └───style           # general core blocks styles split into files
    │   │   ├─── ...
    │   │   └─── ...
    │   ├───_editor.scss
    │   └───_style.scss
    ├───getwid-blocks
    │   ├───editor          # editor specific Getwid blocks styles split into files 
    │   │   ├─── ...
    │   │   └─── ...
    │   └───style           # general Getwid blocks styles split into files
    │   │   ├─── ...
    │   │   └─── ...
    │   ├───_editor.scss
    │   └───_style.scss
    └───helpers             # some helpers/mixins
    │   └─── ...
    ├───_colors.scss        # colors classes
    ├───_variables.scss     # some variables
    ├───editor.scss         # main editor style file
    └───style.scss          # main general style file

Getwid Free Gutenberg Blocks

Multifunctional static and dynamic blocks for Gutenberg:

  1. Section Block - build custom page section layouts of any type (set alignments; use video, slider and image backgrounds; change foregrounds, apply animation, play with colors and shapes, etc.).
  2. Advanced Heading Block - a rich typography control panel for creating catchy headings - access to Google fonts, styles, sizes, one-click text case conversion, spacing and colors.
  3. Google Maps Block - embed simple Google Maps with unlimited custom markers.
  4. Icon Block - create effective and clear user interfaces with a collection of customizable icons.
  5. Icon Box Block - construct responsive service boxes with icons, headings and text boxes using premade styles, modifying colors, sizes and hover effects.
  6. Image Box Block - get deeper into image presentation - add animation effects, apply the needed size in clicks and modify spacing.
  7. Social Links Block - add any social icons, customize their alignment for different devices, go with pre-made layouts and alter their size and spacing.
  8. Banner Block - advertise wisely with fully customizable banners for which you can define sizes, alignments, colors, animation effects and more tools for better presentation of your offerings.
  9. Image Slider Block - a better way to create image sliders with full control over navigation styles, image sizes and animation effects.
  10. Media & Text Slider Block - showcase brilliant sliders with texts, set custom content width and alignment, apply text and color overlays, choose slide and text animation effects individually.
  11. Button Group Block - add several call-to-action buttons in style and harmony; update width, alignment and direction for the whole set of buttons at the same time.
  12. Person Block - create simple and stunning team showcase sections with the settings for job titles, names and image sizes.
  13. Accordion Block - snap and functional accordion tabs section with customizable icons and heading types. Perfect for FAQ sections.
  14. Toggle Block - similar to Accordion block, but it lets users expand tabs manually.
  15. Tabs Block - horizontal tabs with a bunch of pre-set styles and customizable headings.
  16. Image Stack Gallery Block - breathtaking, fully customizable image galleries with seven different styles to unleash your creativity and find a perfect solution for your current WordPress theme design.
  17. Testimonial Block - a no-frills testimonial block with an author avatar, citation and name.
  18. Recent Posts Block - present your latest posts with custom metadata, list or grid layout and a choice of different output behaviors.
  19. Advanced Spacer Block - add a space between your blocks with an adjustable spacer - optionally hide it on mobile, tablet or desktop devices.
  20. Instagram Block - connect your Instagram to WordPress and create a customizable live-feed gallery.
  21. Counter Block - show the most significant data about your business in numbers with the lightweight animated counters.
  22. Price Box Block - visualize any data by creating all sorts of comparison and pricing tables.
  23. Progress Bar Block - a simple animated horizontal progress bar with customizable colors.
  24. Circular Progress Bar Block - animated circular progress bars with the adjustable bar sickness, size and colors.
  25. Contact Form Block - a simple contact form with a traditional set of the form fields, customizable labels and support for reCAPTCHA.
  26. Post Carousel Block - use agile customization options to showcase posts, pages or custom post types in a catchy carousel with a custom layout.
  27. Price List Block - a perfect block for featuring restaurant menu prices or a table of contents with the adjustable headings, dotted lines, colors, and images.
  28. Post Slider Block - fetch your already existing posts, products or other custom post types data into a deeply tunable, stylish slider with several premade layouts.
  29. Custom Post Type Block - grid, list or custom view of any custom post types with numerous layout and style customization settings.
  30. Mailchimp Block - easy MailChimp API integration for adding email subscription forms.
  31. Countdown Block - a dynamic countdown timer with deeply customizable numeric values and time labels, for which you can set a font family and style, sizes, colors, spacing and more.
  32. Video Popup Block - display your Youtube, Vimeo or self-hosted videos in popups; the play video button, custom video covers, colors and sizes of the block containers are fully adjustable.
  33. Content Timeline Block - display chronological order of any events in a stylish timeline graph with such adjustable containers as headings, subheadings, images, etc.
  34. Image Hotspot Block - place unlimited animated markers with fully customizable tooltips over your image to make it more informative and interactive.
  35. Table of Contents Block - create a table of contents based on your page headings (H2, H3, H4, etc.), with either an ordered or unordered list.
  36. Anchor Block - add HTML anchors # to make it easy for your readers to jump between page sections.
  37. Advanced Table Block - a table Gutenberg block with more table settings and design flexibility, e.g. you can merge cells, edit background colors and tailor borders.

Getwid + the ACF Plugin Integration

The Post Carousel, Post Slider, and Custom Post Type blocks by Getwid can be extended with the ACF plugin custom fields. In particular, you can integrate Wysiwyg, Select, Image and Background Image fields provided by ACF.

Check settings and examples of each Getwid block. We are in the process of building more on-demand blocks for Gutenberg!

License

Getwid Style Kit, Copyright © 2020, MotoPress. Getwid Style Kit is distributed under the terms of the GPLv2.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].