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
| javascript:!function(){let e={containerId:"quick-tag-filters",containerClass:"quick-tag-container",buttonClass:"quick-tag-button",activeClass:"quick-tag-active",selectors:{searchField:'[data-test-id="resources-list-search"]',filterButton:'[data-test-id="resources-list-filters-trigger"]',tagElements:'[data-test-id="workflow-card-tags"] .n8n-tag span',filterRemoveLink:'[data-test-id="workflows-filter-reset"]',tagsDropdown:'[data-test-id="tags-dropdown"]',tagCheckboxes:".el-select-dropdown__item.tag",applyButton:'button:contains("Apply")'},styles:` .quick-tag-container { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; padding: 8px; border-radius: 4px; background-color: #f9f9f9; } .quick-tag-button { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 4px; background-color: #e0e0e0; color: #505050; font-size: 12px; cursor: pointer; border: 1px solid #ccc |
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
| javascript:(function(){var i=document.getElementById('elementor-preview-iframe');if(i&&i.contentWindow){var d=i.contentWindow.document;function t(){d.querySelectorAll('.jedv-enabled--yes,.marks-jedv-enabled--yes').forEach(e=>{e.classList.toggle('jedv-enabled--yes');e.classList.toggle('marks-jedv-enabled--yes')})}t()}else{alert('Iframe not found or inaccessible')}})(); |
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
| // Inverte a lógica e ordem de criação de novo item do Repeater | |
| add_action( 'admin_head', function () { ?> | |
| <style> | |
| /* CSS */ | |
| .cx-ui-repeater-item:first-child .cheryr-ui-repeater-content-box { | |
| display: none; | |
| } |
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
| const caixas = document.querySelectorAll('.caixa'); | |
| caixas.forEach(caixa => { | |
| const dataElementorLightbox = caixa.querySelector('.elementor-custom-embed-image-overlay').getAttribute('data-elementor-lightbox'); | |
| const titles = caixa.querySelectorAll('.title'); | |
| titles.forEach(title => { | |
| title.setAttribute('data-elementor-lightbox', dataElementorLightbox); | |
| }); |
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
| var acionadores = document.querySelectorAll('.item .acionador'); | |
| for (var i = 0; i < acionadores.length; i++) { | |
| acionadores[i].addEventListener('mouseover', function() { | |
| this.parentNode.querySelector('.acionado').classList.add('aberto'); | |
| }); | |
| acionadores[i].addEventListener('mouseout', function() { | |
| this.parentNode.querySelector('.acionado').classList.remove('aberto'); | |
| }); | |
| } |
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 wpse_check_file_type( $file ) { | |
| $filetype = wp_check_filetype( $file['name'] ); | |
| $ext = $filetype['ext']; | |
| $type = $filetype['type']; | |
| $proper_filename = $file['name']; | |
| $wp_filetype = wp_check_filetype( $proper_filename, null ); | |
| $ext = $wp_filetype['ext']; | |
| $type = $wp_filetype['type']; | |
| $proper_filename = preg_replace('/\.[^.]+$/', '', basename( $file['name'] ) ); | |
| $filename = $proper_filename . '.' . $ext; |