This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const schema = { | |
name: { | |
type: 'text', | |
label: 'Name', | |
id: 'Name', | |
placeholder: '', | |
value: '' | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check element have class | |
const hasClass = (el, className) => el.classList.contains(className); | |
// usage | |
hasClass(document.querySelector('p.special'), 'special'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nav{ | |
margin: 0; | |
padding: 0; | |
display: block; | |
width: 100%; | |
} | |
ul.topnav{ | |
margin:0; | |
padding:0; | |
} |
/**
- 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() {