/** * Customizer-controls.js * * Add Theme Page, Theme Documentation and Rate this theme quick links to theme options panel in customizer * * @package Beetle */ ( function( $ ) { // Add Theme Links. if ('undefined' !== typeof beetle_theme_links) { // Theme Links Wrapper. box = $( '
' ).css({ 'margin-top': '14px', 'padding': '2px 14px 14px', 'line-height': '2', 'font-size': '14px', 'clear': 'both' }); title = $( '' ).text( beetle_theme_links.title ).css( { 'margin-bottom' : '4px' } ); // Theme Links. themePage = $( '' ) .attr( 'href', beetle_theme_links.themeURL ) .attr( 'target', '_blank' ) .text( beetle_theme_links.themeLabel ); themeDocu = $( '' ) .attr( 'href', beetle_theme_links.docuURL ) .attr( 'target', '_blank' ) .text( beetle_theme_links.docuLabel ); rateTheme = $( '' ) .attr( 'href', beetle_theme_links.rateURL ) .attr( 'target', '_blank' ) .text( beetle_theme_links.rateLabel ); // Add Links to Box. content = box .append( title ) .append( themePage ).append( "