mirror of
https://github.com/10h30/trestle.git
synced 2026-07-16 21:23:33 +09:00
Syncing with dev branch
This commit is contained in:
@@ -42,6 +42,16 @@
|
||||
});
|
||||
});
|
||||
|
||||
// Favicon
|
||||
wp.customize( 'genesis-settings[trestle_favicon_url]', function( value ) {
|
||||
value.bind( function( url ) {
|
||||
|
||||
var $faviconElem = $( 'link[rel="Shortcut Icon"]' );
|
||||
$faviconElem.attr( 'href', url );
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
// Primary Nav Location
|
||||
wp.customize( 'genesis-settings[trestle_nav_primary_location]', function( value ) {
|
||||
value.bind( function( value ) {
|
||||
@@ -69,7 +79,7 @@
|
||||
wp.customize( 'genesis-settings[trestle_read_more_text]', function( value ) {
|
||||
value.bind( function( value ) {
|
||||
|
||||
$( 'a.more-link' ).text( value );
|
||||
$( 'a.more-link' ).html( value );
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user