This file contains hidden or 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
| archives | |
| audio | |
| button | |
| categories | |
| code | |
| column | |
| columns | |
| coverImage | |
| embed | |
| file |
This file contains hidden or 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
| function custom_paragraph_placeholder_for_pages() { | |
| //Define your post types to lock for classic editor block. Default CPTs are 'post', 'page' | |
| $post_type_object = get_post_type_object( 'page' ); | |
| //Define what blocks you want to lock it for. Here is the list of core blocks: | |
| //https://gist.github.com/munirkamal/0d443605a3273926051c2971d5f3ff84#file-core-blocks-txt | |
| $post_type_object->template = array( | |
| array( 'core/paragraph', array( | |
| 'placeholder' => 'my placeholder...', |
This file contains hidden or 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
| @media screen and (max-width: 500px) { | |
| .wp-block-gallery .blocks-gallery-item { | |
| width: 100%!important; | |
| margin-right: 0; | |
| } | |
| } |
This file contains hidden or 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
| <script> | |
| var buttons = document.querySelectorAll('.cwp_post_grid .et_pb_button_module_wrapper .et_pb_button'); | |
| buttons.forEach((button) => { | |
| button.innerHTML = "Change Button Text Here"; | |
| return button; | |
| }); |
OlderNewer