/**
- Register our sidebars and widgetized areas.
- it Contain 2 Side bar named "Left Sidebar" and "Right Sidebar" */
// Add Value Line in functions.php File
function wpb_widgets_init() {
/**
// Add Value Line in functions.php File
function wpb_widgets_init() {
nav{ | |
margin: 0; | |
padding: 0; | |
display: block; | |
width: 100%; | |
} | |
ul.topnav{ | |
margin:0; | |
padding:0; | |
} |
// Check element have class | |
const hasClass = (el, className) => el.classList.contains(className); | |
// usage | |
hasClass(document.querySelector('p.special'), 'special'); |
export const schema = { | |
name: { | |
type: 'text', | |
label: 'Name', | |
id: 'Name', | |
placeholder: '', | |
value: '' | |
}, |