This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//add this code to main or child functions.php file | |
function presscore_get_social_icons_data() { | |
return array( | |
'facebook' => __('Facebook', 'the7mk2'), | |
'twitter' => __('Twitter', 'the7mk2'), | |
'google' => __('Google+', 'the7mk2'), | |
'dribbble' => __('Dribbble', 'the7mk2'), | |
'you-tube' => __('YouTube', 'the7mk2'), | |
'rss' => __('Rss', 'the7mk2'), | |
'delicious' => __('Delicious', 'the7mk2'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//put in in functions.php in main or child theme | |
//add breadrums to main menu | |
function custom_breadcrumbs() { | |
$config = Presscore_Config::get_instance(); | |
// get breadcrumbs | |
if ( $config->get( 'page_title.breadcrumbs.enabled' ) ) { | |
$breadcrumbs = presscore_get_page_title_breadcrumbs(); | |
} else { | |
$breadcrumbs = ''; |
NewerOlder