Skip to content

Commit

Permalink
#4414 Added in 1.0.50
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabi09 committed May 15, 2020
1 parent 88f5ab1 commit 285894a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/admin-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ jQuery(document).ready(function($){
});
// AMP FrontPage notice in Reading Settings #2348
if ( 'false' == redux_data.frontpage){
$('#page_on_front').parent('label').append('<p class="afp" style="display:none"><b>We have detected that you have not setup the FrontPage for AMP, </b><a href="'+redux_data.admin_url+'">Click here to setup</a></span>');
$('#page_on_front').parent('label').append('<p class="afp" style="margin-left:10px;display:none"><span>We have detected that you have not setup the FrontPage for AMP, </span><a href="'+redux_data.admin_url+'">Click here to setup</a></span>');
}
$('#front-static-pages input[type=radio][name=show_on_front]').on('change', function(e) {
if ( this.value == 'page') {
Expand Down
3 changes: 2 additions & 1 deletion includes/admin-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1951,10 +1951,11 @@ div#section-ampforwp-ux-section::after,div#section-ampforwp-ux-section-right::af


.afp{
background: #FFF59D;
background: #f7fcfe;
padding: 8px 14px;
margin-top: 7px;
display: inline-block;
border-left: 5px solid #00a0d2;
}

#redux-import-file-type{
Expand Down

0 comments on commit 285894a

Please sign in to comment.