You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'desc' => sprintf( esc_html__( 'Here you set the theme selectors below according to your active theme. All are required for %s to work.', 'auto-load-next-post' ), esc_html__( 'Auto Load Next Post', 'auto-load-next-post' ) ),
'desc' => sprintf( __( 'The primary container where the post content is loaded in. Default: %s', 'auto-load-next-post' ), '<code>main.site-main</code>' ),
'desc' => sprintf( __( 'Used to identify which article the user is reading and track should Google Analytics or other analytics be enabled. Default: %s', 'auto-load-next-post' ), '<code>h1.entry-title</code>' ),
'desc' => sprintf( esc_html__( 'Here you set the theme selectors below according to your active theme. All are required for %s to work.', 'auto-load-next-post' ), esc_html__( 'Auto Load Next Post', 'auto-load-next-post' ) ),
108
+
'id' => 'theme_selectors_options'
109
+
);
110
+
111
+
$container_readonly = 'no';
112
+
$post_title_readonly = 'no';
113
+
$post_navigation_readonly = 'no';
114
+
$comments_container_readonly = 'no';
115
+
116
+
// Checks if the Content Container selector has been set by theme support.
117
+
if ( ! empty( alnp_get_theme_support( 'content_container' ) ) ) {
'desc' => sprintf( __( 'The primary container where the post content is loaded in. Default: %s', 'auto-load-next-post' ), '<code>main.site-main</code>' ),
'desc' => sprintf( __( 'Used to identify which article the user is reading and track should Google Analytics or other analytics be enabled. Default: %s', 'auto-load-next-post' ), '<code>h1.entry-title</code>' ),
141
+
'id' => 'auto_load_next_post_title_selector',
142
+
'default' => 'h1.entry-title',
143
+
'readonly' => $post_title_readonly,
144
+
'type' => 'text',
145
+
'css' => 'min-width:300px;',
146
+
'autoload' => false
147
+
);
148
+
149
+
// Checks if the Post Navigation selector has been set by theme support.
150
+
if ( ! empty( alnp_get_theme_support( 'navigation_container' ) ) ) {
0 commit comments