This commit is contained in:
Filip Penkava
2017-02-27 12:22:29 +01:00
parent 2369a81e77
commit dfb99dd4b4
2 changed files with 19 additions and 3 deletions

View File

@@ -31,6 +31,7 @@ function mvp_admin() {
'status' => $_POST['status'],
'author' => $_POST['author'],
'author-byline' => $_POST['author-byline'],
'byline-words' => $_POST['byline-words'],
'display-copyright' => $_POST['display-copyright'],
'convert-keywords' => $_POST['convert-keywords'],
'convert-services' => $_POST['convert-services'],
@@ -49,6 +50,7 @@ function mvp_admin() {
'status' => 'publish',
'author' => '',
'author-byline' => '',
'byline-words' => '',
'display-copyright' => '',
'convert-keywords' => '',
'convert-services' => '',
@@ -167,6 +169,14 @@ function mvp_admin() {
</label>
</td>
</tr>
<tr>
<th scope="row">
<label for="byline-words">Choose the words replace from the byline</label>
</th>
<td>
<input type="text" name="byline-words" id="byline-words" class="regular-text" value="<?php echo($settings['byline-words']); ?>">
</td>
</tr>
<tr>
<th scope="row">
Display the copyright information