__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* Registers a new block provided a unique name and an object defining its behavior.
*
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
*/
import { registerBlockType } from '@wordpress/blocks';
/**
* Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.
* All files containing `style` keyword are bundled together. The code used
* gets applied both to the front of your site and to the editor.
*
* @see https://www.npmjs.com/package/@wordpress/scripts#using-css
*/
import './style.scss';
/**
* Internal dependencies
*/
import Edit from './edit';
import save from './save';
import icon from './icon';
import metadata from './block.json';
import { __ } from "@wordpress/i18n";
/**
* Every block starts by registering a new block type definition.
*
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
*/
registerBlockType( metadata.name, {
title: __( 'Job Listings', 'wp-job-openings' ), // Block title.
description: __( 'Super simple Job Listing plugin to manage Job Openings and Applicants on your WordPress site.', 'wp-job-openings' ), // Block description
icon: icon.block, // Block icon
category: 'widgets', // Block category,
keywords: [ __( 'jobs listings', 'wp-job-openings' ), __( 'add jobs', 'wp-job-openings' ), __( 'job application', 'wp-job-openings' ) ], // Access the block easily with keyword aliases
/**
* @see ./edit.js
*/
edit: Edit,
/**
* @see ./save.js
*/
save,
} );
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| block.json | File | 1.16 KB | 0644 |
|
| edit.js | File | 4.79 KB | 0644 |
|
| editor.scss | File | 15.56 KB | 0644 |
|
| icon.js | File | 2.76 KB | 0644 |
|
| index.js | File | 1.51 KB | 0644 |
|
| inspector.js | File | 6.26 KB | 0644 |
|
| save.js | File | 740 B | 0644 |
|
| style.scss | File | 13.27 KB | 0644 |
|
| view.js | File | 14.15 KB | 0644 |
|