user-profile.php
3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?php
/**
* @package WPSEO\Admin
*/
?>
<h2 id="wordpress-seo"><?php
/* translators: %1$s expands to Yoast SEO */
printf( __( '%1$s settings', 'wordpress-seo' ), 'Yoast SEO' );
?></h2>
<table class="form-table">
<tr>
<th scope="row">
<label
for="wpseo_author_title"><?php _e( 'Title to use for Author page', 'wordpress-seo' ); ?></label>
</th>
<td>
<input class="regular-text" type="text" id="wpseo_author_title" name="wpseo_author_title"
value="<?php echo esc_attr( get_the_author_meta( 'wpseo_title', $user->ID ) ); ?>"/>
</td>
</tr>
<tr>
<th scope="row">
<label
for="wpseo_author_metadesc"><?php _e( 'Meta description to use for Author page', 'wordpress-seo' ); ?></label>
</th>
<td>
<textarea rows="3" cols="30" id="wpseo_author_metadesc"
name="wpseo_author_metadesc"><?php echo esc_textarea( get_the_author_meta( 'wpseo_metadesc', $user->ID ) ); ?></textarea>
</td>
</tr>
<?php if ( $options['usemetakeywords'] === true ) { ?>
<tr>
<th scope="row">
<label
for="wpseo_author_metakey"><?php _e( 'Meta keywords to use for Author page', 'wordpress-seo' ); ?></label>
</th>
<td>
<input class="regular-text" type="text" id="wpseo_author_metakey"
name="wpseo_author_metakey"
value="<?php echo esc_attr( get_the_author_meta( 'wpseo_metakey', $user->ID ) ); ?>"/>
</td>
</tr>
<?php } ?>
<tr>
<td></td>
<td>
<input class="checkbox double" type="checkbox" id="wpseo_author_exclude"
name="wpseo_author_exclude"
value="on" <?php echo ( get_the_author_meta( 'wpseo_excludeauthorsitemap', $user->ID ) === 'on' ) ? 'checked' : ''; ?> />
<label class="yoast-label-strong"
for="wpseo_author_exclude"><?php _e( 'Exclude user from Author-sitemap', 'wordpress-seo' ); ?></label>
</td>
</tr>
<?php if ( $options['keyword-analysis-active'] === true ) { ?>
<tr>
<td></td>
<td>
<input class="checkbox double" type="checkbox" id="wpseo_keyword_analysis_disable"
name="wpseo_keyword_analysis_disable" aria-describedby="wpseo_keyword_analysis_disable_desc"
value="on" <?php echo ( get_the_author_meta( 'wpseo_keyword_analysis_disable', $user->ID ) === 'on' ) ? 'checked' : ''; ?> />
<label class="yoast-label-strong"
for="wpseo_keyword_analysis_disable"><?php _e( 'Disable SEO analysis', 'wordpress-seo' ); ?></label>
<p class="description" id="wpseo_keyword_analysis_disable_desc">
<?php _e( 'Removes the keyword tab from the metabox and disables all SEO-related suggestions.', 'wordpress-seo' ); ?>
</p>
</td>
</tr>
<?php } ?>
<?php if ( $options['content-analysis-active'] === true ) { ?>
<tr>
<td></td>
<td>
<input class="checkbox double" type="checkbox" id="wpseo_content_analysis_disable"
name="wpseo_content_analysis_disable" aria-describedby="wpseo_content_analysis_disable_desc"
value="on" <?php echo ( get_the_author_meta( 'wpseo_content_analysis_disable', $user->ID ) === 'on' ) ? 'checked' : ''; ?> />
<label class="yoast-label-strong"
for="wpseo_content_analysis_disable"><?php _e( 'Disable readability analysis', 'wordpress-seo' ); ?></label>
<p class="description" id="wpseo_content_analysis_disable_desc">
<?php _e( 'Removes the readability tab from the metabox and disables all readability-related suggestions.', 'wordpress-seo' ); ?>
</p>
</td>
</tr>
<?php } ?>
</table>
<br/><br/>