cat_name;
$cat_ID = $categories[0]->cat_ID;
}
$cat_links=get_category_link($cat_ID);
echo "#".esc_html($cat_name)."";
}
/**
* Gets option value from the single theme option, stored as an array in the database
* if all options stored in one row.
* Stores the serialized array with theme options into the global variable on the first function run on the page.
*
* If options are stored as separate rows in database, it simply uses get_option() function.
*
* @param string $option_name Theme option name.
* @param string $default Default value that should be set if the theme option isn't set.
*/
if ( ! function_exists( 'ascreen_get_option' ) ){
function ascreen_get_option( $ct_row,$option_name,$default )
{
$arr = get_option($ct_row);
if(is_array($arr))
{
@$option_value = $arr[$option_name];
if($option_value !='')
{
return $option_value;
}
else
{
if(array_key_exists($option_name,$arr) ){
return false;
}
else
{
return $default;
}
}
}
else
{
return $default;
}
}
}
function ascreen_get_share_url()
{
?>