golden hour
/home/phakp/public_html/wp/wp-content/themes/elicit/js
⬆️ Go Up
Upload
File/Folder
Size
Actions
bootstrap.js
67.51 KB
Del
OK
bootstrap.min.js
36 KB
Del
OK
customizer-controls.js
1.63 KB
Del
OK
customizer.js
336 B
Del
OK
scroll-to-top.js
284 B
Del
OK
Edit: customizer-controls.js
/** * Customizer-controls.js * * Add Theme Page, Theme Documentation and Rate this theme quick links to theme options panel in customizer * * @package Dynamic News Lite */ ( function( $ ) { // Add Theme Links if ('undefined' !== typeof dynamicnews_theme_links) { // Theme Links Wrapper box = $('<div class="dynamicnews-theme-links"></div>') .css({ 'margin-top' : '14px', 'padding' : '2px 14px 14px', 'line-height': '2', 'font-size' : '14px', 'clear' : 'both' }); title = $('<h3></h3>').text(dynamicnews_theme_links.title).css({ 'margin-bottom' : '4px' }); // Theme Links themePage = $('<a class="dynamicnews-theme-page"></a>') .attr('href', dynamicnews_theme_links.themeURL) .attr('target', '_blank') .text(dynamicnews_theme_links.themeLabel); themeDocu = $('<a class="dynamicnews-theme-docu"></a>') .attr('href', dynamicnews_theme_links.docuURL) .attr('target', '_blank') .text(dynamicnews_theme_links.docuLabel); rateTheme = $('<a class="dynamicnews-rate-theme"></a>') .attr('href', dynamicnews_theme_links.rateURL) .attr('target', '_blank') .text(dynamicnews_theme_links.rateLabel); // Add Links to Box content = box .append(title) .append(themePage).append("<br />") .append(themeDocu).append("<br />") .append(rateTheme); setTimeout(function () { $('#accordion-panel-dynamicnews_options_panel .control-panel-content').append(content); }, 2000); // Remove accordion click event $('.dynamicnews-theme-links a').on('click', function(e) { e.stopPropagation(); }); } } )( jQuery );
Save