Skip to content

Commit

Permalink
Update simple-advertising.php
Browse files Browse the repository at this point in the history
  • Loading branch information
colomet authored Apr 16, 2020
1 parent f40214d commit d300a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simple-advertising.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ function smplads_output_ads($html){
$html = $content.$html;
}

// If visitor and desktop.
if( ! is_user_logged_in() && ! wp_is_mobile() ) {
// If visitor - and desktop. && ! wp_is_mobile()
if( ! is_user_logged_in() ) {

if (get_site_option($post_type.'_ads_after' ) == 1) {

Expand Down

0 comments on commit d300a6d

Please sign in to comment.