File: /home/dailygoldindex/public_html/wp-content/themes/jnews/class/Customizer/sections/ads_article.php
<?php
$single_post_redirect = [
[
'redirect' => 'single_post_tag',
'refresh' => false,
],
];
$article_top = new \JNews\Customizer\AdsOptionGenerator( [
'location' => 'article_top',
'title' => esc_html__( 'Above Article', 'jnews' ),
'default_size' => '970x90',
'visibility' => [
'desktop' => true,
'tab' => true,
'phone' => true,
],
'postvar' => $single_post_redirect,
] );
$content_top = new \JNews\Customizer\AdsOptionGenerator( [
'location' => 'content_top',
'title' => esc_html__( 'Top Content', 'jnews' ),
'default_size' => '970x90',
'visibility' => [
'desktop' => true,
'tab' => true,
'phone' => true,
],
'postvar' => $single_post_redirect,
] );
$content_inline = new \JNews\Customizer\AdsOptionGenerator( [
'location' => 'content_inline',
'title' => esc_html__( 'Inline Content 1', 'jnews' ),
'default_size' => '728x90',
'visibility' => [
'desktop' => true,
'tab' => true,
'phone' => true,
],
'postvar' => $single_post_redirect,
] );
$content_inline_2 = new \JNews\Customizer\AdsOptionGenerator( [
'location' => 'content_inline_2',
'title' => esc_html__( 'Inline Content 2', 'jnews' ),
'default_size' => '728x90',
'visibility' => [
'desktop' => true,
'tab' => true,
'phone' => true,
],
'postvar' => $single_post_redirect,
] );
$content_inline_3 = new \JNews\Customizer\AdsOptionGenerator( [
'location' => 'content_inline_3',
'title' => esc_html__( 'Inline Content 3', 'jnews' ),
'default_size' => '728x90',
'visibility' => [
'desktop' => true,
'tab' => true,
'phone' => true,
],
'postvar' => $single_post_redirect,
] );
$content_bottom = new \JNews\Customizer\AdsOptionGenerator( [
'location' => 'content_bottom',
'title' => esc_html__( 'Bottom Content', 'jnews' ),
'default_size' => '728x90',
'visibility' => [
'desktop' => true,
'tab' => true,
'phone' => true,
],
'postvar' => $single_post_redirect,
] );
$article_bottom = new \JNews\Customizer\AdsOptionGenerator( [
'location' => 'article_bottom',
'title' => esc_html__( 'Below Article', 'jnews' ),
'default_size' => '970x90',
'visibility' => [
'desktop' => true,
'tab' => true,
'phone' => true,
],
'postvar' => $single_post_redirect,
] );
return array_merge(
$article_top->ads_option_generator(),
$content_top->ads_option_generator(),
$content_inline->ads_option_generator(),
$content_inline_2->ads_option_generator(),
$content_inline_3->ads_option_generator(),
$content_bottom->ads_option_generator(),
$article_bottom->ads_option_generator()
);