Gutenberg block for showing the users horoscope based on sign, duration and category configured from editor.
PHP 16.91%CSS 0.18%JavaScript 77.65%SCSS 5.25%
astrology-gutenberg-block's Introduction
Astrology Horoscope Block
This block is used to display the horoscope for any zodiac sign for category such as career, love etc and for today, monthly and weekly.
This block is created using @wordpress/create-block package.
This block uses the select block control with option to select the zodiac sign, category and duration.
On any change to value block will hit the respective API provided by the rapid API platform and fetch the results and show pn editor + frontend ( post-published ) view.
Features
Custom Astro Block
Custom Single Post Block, to display the post with feature image, title, excerpt and date with hide facility from editor.
InnerBlocks
Meta Fields
Astro Text Meta
Astro Image Meta
Astro Category Autocomplete Meta
CoreBlock Filter ( core/paragraph ) to add prefix as Astro text meta ( only to editor side ).