'post', 'post_status' => 'publish', 'numberposts' => '-1', 'ignore_sticky_posts' => 1));// phpcs:ignore WPThemeReview.CoreFunctionality.PostsPerPage.posts_per_page_numberposts
$this->posts = get_posts($postargs);
parent::__construct($manager, $id, $args);
}
/**
* Render the content on the theme customizer
*/
public function render_content() {
if (!empty($this->posts)) {
?>
label); ?>
label); ?>
'advertisement', 'post_status' => 'publish','numberposts' => '-1', 'ignore_sticky_posts' => 1));// phpcs:ignore WPThemeReview.CoreFunctionality.PostsPerPage.posts_per_page_numberposts
$this->posts = get_posts($postargs);
parent::__construct( $manager, $id, $args );
}
/**
* Render the content on the theme customizer
*/
public function render_content()
{
if(!empty($this->posts))
{
?>
$red,
'green' => $green,
'blue' => $blue
);
}
//*******************************************************************************************
/**
* Google fonts list.
*/
function anirohotellight_google_fonts_array() {
$google_fonts_array = array(
'Roboto'=> 'Roboto:400,300,500,700,900&subset=latin,greek,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic',
'Catamaran' =>'Catamaran:400,100,200,300,500,600,900,800,700&subset=latin,tamil,latin-ext',
'Open Sans' => 'Open+Sans:300,400,600,700,800&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese',
'Roboto Condensed' => 'Roboto+Condensed:300,400,700&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese',
'Source Sans Pro' => 'Source+Sans+Pro:200,300,400,600,700,900&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese',
'Oswald' => 'Oswald:200,300,400,500,600,700&subset=cyrillic,latin-ext,vietnamese',
'Lato' => 'Lato:300,400,700,900&subset=latin-ext',
'Montserrat' => 'Montserrat:200,300,400,500,700,900&subset=cyrillic,cyrillic-ext,latin-ext,vietnamese',
'PT Sans' => 'PT+Sans:400,700&subset=cyrillic,cyrillic-ext,latin-ext',
'Ubuntu' => 'Ubuntu:300,400,500,700&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext',
'PT Sans Narrow' => 'PT+Sans+Narrow:400,700&subset=cyrillic,cyrillic-ext,latin-ext',
'Arimo' => 'Arimo:400,700&subset=cyrillic,cyrillic-ext,greek,greek-ext,hebrew,latin-ext,vietnamese',
'Archivo Narrow' => 'Archivo+Narrow:400,500,600,700&subset=latin-ext',
'Encode Sans Condensed' => 'Encode+Sans+Condensed:200,300,400,500,600,700,900&subset=latin-ext,vietnamese',
'Alegreya Sans SC' => 'Alegreya+Sans+SC:300,400,700,900&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese',
'Archivo' => 'Archivo:400,500,600,700&subset=latin-ext,vietnamese',
'Nunito' => 'Nunito:200,300,400,600,700,900&subset=latin-ext,vietnamese',
'Fira Sans' => 'Fira+Sans:200,300,400,600,700,900&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese',
'Mukta' => 'Mukta:200,300,400,500,600,700,800&subset=devanagari,latin-ext',
);
return apply_filters( 'anirohotellight_google_fonts_array', $google_fonts_array );
}