Skip to content
Snippets Groups Projects
Commit 90233c90 authored by lucha's avatar lucha
Browse files

removed google font apis from simple-share-buttons-adder

parent 78650805
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -9,19 +9,6 @@ function ssba_page_scripts() {
// ssba.min.js
wp_enqueue_script('ssba', plugins_url('js/ssba.min.js', SSBA_FILE), array('jquery'), false, true);
// get settings
$arrSettings = get_ssba_settings();
// if indie flower font is selected
if ($arrSettings['ssba_font_family'] == 'Indie Flower') {
// font scripts
wp_register_style('ssbaFont', '//fonts.googleapis.com/css?family=Indie+Flower');
wp_enqueue_style( 'ssbaFont');
} else if ($arrSettings['ssba_font_family'] == 'Reenie Beanie') {
// font scripts
wp_register_style('ssbaFont', '//fonts.googleapis.com/css?family=Reenie+Beanie');
wp_enqueue_style( 'ssbaFont');
}
}
// add CSS to the head
......@@ -33,7 +20,8 @@ function get_ssba_style() {
// query the db for current ssba settings
$arrSettings = get_ssba_settings();
// css style
// css style
$htmlSSBAStyle = '<style type="text/css">';
// check if custom styles haven't been set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment