|
@@ 144-148 (lines=5) @@
|
| 141 |
|
$comments_container_default = ''; |
| 142 |
|
|
| 143 |
|
// Checks if the Content Container selector has been set by theme support. |
| 144 |
|
if ( ! empty( alnp_get_theme_support( 'content_container' ) ) ) { |
| 145 |
|
$container_readonly = 'yes'; |
| 146 |
|
} else { |
| 147 |
|
$container_default = sprintf( __( 'Default: %s', 'auto-load-next-post' ), '<code>main.site-main</code>' ); |
| 148 |
|
} |
| 149 |
|
|
| 150 |
|
$settings[] = array( |
| 151 |
|
'title' => esc_html__( 'Content Container', 'auto-load-next-post' ), |
|
@@ 164-168 (lines=5) @@
|
| 161 |
|
); |
| 162 |
|
|
| 163 |
|
// Checks if the Post Title selector has been set by theme support. |
| 164 |
|
if ( ! empty( alnp_get_theme_support( 'title_selector' ) ) ) { |
| 165 |
|
$post_title_readonly = 'yes'; |
| 166 |
|
} else { |
| 167 |
|
$post_title_default = sprintf( __( 'Default: %s', 'auto-load-next-post' ), '<code>h1.entry-title</code>' ); |
| 168 |
|
} |
| 169 |
|
|
| 170 |
|
$settings[] = array( |
| 171 |
|
'title' => esc_html__( 'Post Title', 'auto-load-next-post' ), |
|
@@ 184-188 (lines=5) @@
|
| 181 |
|
); |
| 182 |
|
|
| 183 |
|
// Checks if the Post Navigation selector has been set by theme support. |
| 184 |
|
if ( ! empty( alnp_get_theme_support( 'navigation_container' ) ) ) { |
| 185 |
|
$post_navigation_readonly = 'yes'; |
| 186 |
|
} else { |
| 187 |
|
$post_navigation_default = sprintf( __( 'Default: %s', 'auto-load-next-post' ), '<code>nav.post-navigation</code>' ); |
| 188 |
|
} |
| 189 |
|
|
| 190 |
|
$settings[] = array( |
| 191 |
|
'title' => esc_html__( 'Post Navigation', 'auto-load-next-post' ), |
|
@@ 204-208 (lines=5) @@
|
| 201 |
|
); |
| 202 |
|
|
| 203 |
|
// Checks if the Comments Container selector has been set by theme support. |
| 204 |
|
if ( ! empty( alnp_get_theme_support( 'comments_container' ) ) ) { |
| 205 |
|
$comments_container_readonly = 'yes'; |
| 206 |
|
} else { |
| 207 |
|
$comments_container_default = sprintf( __( 'Default: %s', 'auto-load-next-post' ), '<code>div#comments</code>' ); |
| 208 |
|
} |
| 209 |
|
|
| 210 |
|
$settings[] = array( |
| 211 |
|
'title' => esc_html__( 'Comments Container', 'auto-load-next-post' ), |