Bayshore Theme Options

Last Modified: April 10, 2020

Starter package for a Bayshore Theme Options for custom WordPress builds.

April 10, 2020

Owner: Wesley Seay

This is a starter package for a Bayshore Theme Options for custom WordPress builds. Once installed, you will have a way to save Logos, Scripts, Social Media and CSS Styling.

To add more options, Add a new php file in the “bayshore_theme_options/inc” directory and a corresponding data save file in the “bayshore_theme_options/inc/data” directory. The Data file name should match the file in the inc folder but be appended with “_data”.

To call the properties you save. In the theme file, add a variable to call the theme option.

Example: <?php $BSS_Theme_Option_Var = Bayshore_theme_option('Your_BSS_Theme_Option_ID'); ?>

And then echo it where you want to show the setting

Example <?php echo $BSS_Theme_Option_Var; ?>

The social media has a function built in the functions.php file to fetch the Social Media items, and can be called by just using

<?php echo bss_socialicons(); ?>

NOTE: The social icons require FontAwesome to be added to the site. This is not added as part of the theme to prevent conflicts with future versions that may be used.