adding social media icons in layout
-
Topic
-
Hi,
I wanted to add social media option to Layout > Header I have this snippet:// Add social media option to Layout > Header $social_media = array( 'name' => 'Social Media Buttons', 'desc' => 'Description for your client...', 'id' => 'social_media', // Keep this ID to work with themeblvd_contact_form() ! 'type' => 'social_media' // Special option type to bring in social icon selections. ); themeblvd_add_option( 'layout', 'header', 'social_media', $social_media ); // insert this code in the function where you want to display // the social media widgets: // echo themeblvd_contact_bar(); for example: function social_icons(){ echo themeblvd_contact_bar(); } add_action('themeblvd_header_addon','social_icons');
I am a newbe, where do I put this. I am using the child stretch theme
Thanks,
michell
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.