mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
Moved respond.js from recommended to required plugins. Added title="" to read more links.
This commit is contained in:
@@ -261,6 +261,12 @@ function trestle_register_required_plugins() {
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => 'Respond.js',
|
||||
'slug' => 'respondjs',
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
// Optional plugins
|
||||
array(
|
||||
'name' => 'Black Studio TinyMCE Widget',
|
||||
@@ -346,12 +352,6 @@ function trestle_register_required_plugins() {
|
||||
'required' => false,
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => 'Respond.js',
|
||||
'slug' => 'respondjs',
|
||||
'required' => false,
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => 'Simple Image Sizes',
|
||||
'slug' => 'simple-image-sizes',
|
||||
|
||||
@@ -310,7 +310,7 @@ function trestle_read_more_link( $default_text ) {
|
||||
$custom_text = esc_attr( genesis_get_option( 'trestle_read_more_text' ) );
|
||||
|
||||
if ( $custom_text )
|
||||
return '… <a class="more-link" href="' . get_permalink() . '">' . $custom_text . '</a>';
|
||||
return '… <a class="more-link" title="' . $custom_text . '" href="' . get_permalink() . '">' . $custom_text . '</a>';
|
||||
else
|
||||
return $default_text;
|
||||
}
|
||||
Reference in New Issue
Block a user