|
|
|
|
@ -153,10 +153,10 @@ function get_available_subjects( $catalog_data ) {
|
|
|
|
|
function get_default_menu( $items = '' ) { |
|
|
|
|
$link = ( is_front_page() ) ? network_home_url( '#main' ) : network_home_url( '/' ); |
|
|
|
|
$items = sprintf( |
|
|
|
|
'<li><a href="%1$s">%2$s</a></li>', |
|
|
|
|
$link, |
|
|
|
|
__( 'Home', 'pressbooks-aldine' ) |
|
|
|
|
) . $items; |
|
|
|
|
'<li><a href="%1$s">%2$s</a></li>', |
|
|
|
|
$link, |
|
|
|
|
__( 'Home', 'pressbooks-aldine' ) |
|
|
|
|
) . $items; |
|
|
|
|
if ( get_option( 'pb_network_contact_form' ) ) { |
|
|
|
|
$items .= sprintf( |
|
|
|
|
'<li><a href="%1$s">%2$s</a></li>', |
|
|
|
|
|