Channel tab pull after speech tab #47
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ $channel_list = $LBRY->daemon->channel_list();
|
||||||
<a href="<?php echo esc_url( admin_url( 'options.php?page=lbrypress&tab=speech' ) ); ?>" class="nav-tab <?php echo $lbry_active_tab == 'speech' ? 'nav-tab-active' : ''; ?>"><?php esc_html_e( 'Spee.ch' ); ?></a>
|
<a href="<?php echo esc_url( admin_url( 'options.php?page=lbrypress&tab=speech' ) ); ?>" class="nav-tab <?php echo $lbry_active_tab == 'speech' ? 'nav-tab-active' : ''; ?>"><?php esc_html_e( 'Spee.ch' ); ?></a>
|
||||||
</nav>
|
</nav>
|
||||||
<?php if ( $lbry_active_tab == 'channels' ) {
|
<?php if ( $lbry_active_tab == 'channels' ) {
|
||||||
include_once( 'partials/channel-page.php' );
|
// include_once( 'partials/channel-page.php' );
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<form class="form-table" action="<?php echo esc_url( admin_url( 'options.php' ) ); ?>" method="post">
|
<form class="form-table" action="<?php echo esc_url( admin_url( 'options.php' ) ); ?>" method="post">
|
||||||
|
@ -34,7 +34,7 @@ $channel_list = $LBRY->daemon->channel_list();
|
||||||
do_settings_sections( LBRY_ADMIN_PAGE );
|
do_settings_sections( LBRY_ADMIN_PAGE );
|
||||||
submit_button();
|
submit_button();
|
||||||
} elseif ( $lbry_active_tab == 'channels' ) {
|
} elseif ( $lbry_active_tab == 'channels' ) {
|
||||||
include_once( 'partials/channel-page.php' );
|
// include_once( 'partials/channel-page.php' );
|
||||||
} elseif ( $lbry_active_tab == 'speech' ) {
|
} elseif ( $lbry_active_tab == 'speech' ) {
|
||||||
settings_fields( LBRY_SPEECH_SETTINGS );
|
settings_fields( LBRY_SPEECH_SETTINGS );
|
||||||
do_settings_sections( 'lbrypress-speech' );
|
do_settings_sections( 'lbrypress-speech' );
|
||||||
|
|
Loading…
Reference in a new issue