From 148fd047d393c2c9a1b86bbe56cd2bd5207080f2 Mon Sep 17 00:00:00 2001 From: Lemuel Smyth <36257395+lemsmyth@users.noreply.github.com> Date: Sat, 19 Feb 2022 16:21:50 -0600 Subject: [PATCH] Links to add supports page (#71) * links to add supports --- admin/css/lbry-admin.css | 2 +- classes/LBRY_Admin.php | 3 +-- templates/meta-box.php | 2 +- templates/options-page.php | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/admin/css/lbry-admin.css b/admin/css/lbry-admin.css index db2ee9d..7763519 100644 --- a/admin/css/lbry-admin.css +++ b/admin/css/lbry-admin.css @@ -120,4 +120,4 @@ table.lbry-channel-table { } .lbry-channel-table tr *:nth-child(3), .lbry-channel-table tr *:nth-child(4) { /* text-align: right; */ -} +} \ No newline at end of file diff --git a/classes/LBRY_Admin.php b/classes/LBRY_Admin.php index 0f8893a..43ca022 100644 --- a/classes/LBRY_Admin.php +++ b/classes/LBRY_Admin.php @@ -292,7 +292,7 @@ class LBRY_Admin
Looks like you haven't added any channels yet, feel free to do so below:
' . __( 'Initial bid amount:', 'lbrypress' ) . ' + ' . __( 'Add', 'lbrypress' ) . ' diff --git a/templates/options-page.php b/templates/options-page.php index 29b4480..2224e06 100644 --- a/templates/options-page.php +++ b/templates/options-page.php @@ -21,7 +21,7 @@ $lbry_active_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : 'general'; ' . esc_html__( 'Supports', 'lbrypress') . '', $admin_url, @@ -44,7 +44,7 @@ $lbry_active_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : 'general'; } elseif ( $lbry_active_tab == 'channels' ) { //include_once( 'channels-page.php' ); } elseif ( $lbry_active_tab == 'supports' ) { - // include_once( 'supports-add-form.php' ); + //include_once( 'supports-add-form.php' ); } elseif ( $lbry_active_tab == 'speech' ) { settings_fields( LBRY_SPEECH_SETTINGS ); do_settings_sections( 'lbrypress-speech' );