choices ) )
return;
$name = '_customize-radio-' . $this->id;
?>
label ); ?>
description ); ?>
cats = get_categories($options);
parent::__construct( $manager, $id, $args );
}
/**
* Render the content of the category dropdown
*
* @return HTML
*/
public function render_content()
{
if(!empty($this->cats))
{
?>
'-1'));
$this->posts = get_posts($postargs);
parent::__construct( $manager, $id, $args );
}
/**
* Render the content on the theme customizer page
*/
public function render_content()
{
if(!empty($this->posts))
{
?>
'_customize-dropdown-pages-' . $this->id,
'echo' => 0,
'show_option_none' => __( '— Select Pages —', 'idolcorp' ),
'option_none_value' => '',
'selected' => $this->value(),
)
);
// Hackily add in the data link parameter.
$dropdown = str_replace( '