Skip to content

Commit

Permalink
Merge pull request #23 from suyogyashukla/development
Browse files Browse the repository at this point in the history
Add support to override default icons
  • Loading branch information
rodica-andronache authored May 12, 2017
2 parents be974dc + cfd9d9f commit 43d1270
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions inc/zerif-lite/zerif-lite-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@ function themeisle_populate_with_default_widgets() {
'title' => 'PARALLAX EFFECT',
'text' => 'Create memorable pages with smooth parallax effects that everyone loves. Also, use our lightweight content slider offering you smooth and great-looking animations.',
'link' => '#',
'image_uri' => get_stylesheet_directory_uri() . "/images/parallax.png"
// Custom code with stylesheet_direc
'image_uri' => apply_filters ( 'zerif_ourfocus_icon_default_filter', get_stylesheet_directory_uri() . "/images/parallax.png", 'first' ),
);
} else {
$ourfocus_content[ $zerif_lite_counter ] = array(
'title' => 'PARALLAX EFFECT',
'text' => 'Create memorable pages with smooth parallax effects that everyone loves. Also, use our lightweight content slider offering you smooth and great-looking animations.',
'link' => '#',
'image_uri' => get_template_directory_uri() . "/images/parallax.png"
// Custom code with template_direc
'image_uri' => apply_filters ( 'zerif_ourfocus_icon_default_filter', get_template_directory_uri() . "/images/parallax.png", 'first' ),
);
}

Expand All @@ -60,14 +62,16 @@ function themeisle_populate_with_default_widgets() {
'title' => 'WOOCOMMERCE',
'text' => 'Build a front page for your WooCommerce store in a matter of minutes. The neat and clean presentation will help your sales and make your store accessible to everyone.',
'link' => '#',
'image_uri' => get_stylesheet_directory_uri() . "/images/woo.png"
// Custom code with stylesheet_direc
'image_uri' => apply_filters ( 'zerif_ourfocus_icon_default_filter', get_stylesheet_directory_uri() . "/images/woo.png", 'second' ),
);
} else {
$ourfocus_content[ $zerif_lite_counter ] = array(
'title' => 'WOOCOMMERCE',
'text' => 'Build a front page for your WooCommerce store in a matter of minutes. The neat and clean presentation will help your sales and make your store accessible to everyone.',
'link' => '#',
'image_uri' => get_template_directory_uri() . "/images/woo.png"
// Custom code with template_direc
'image_uri' => apply_filters ( 'zerif_ourfocus_icon_default_filter', get_template_directory_uri() . "/images/woo.png", 'second' ),
);
}

Expand All @@ -84,14 +88,16 @@ function themeisle_populate_with_default_widgets() {
'title' => 'CUSTOM CONTENT BLOCKS',
'text' => 'Showcase your team, products, clients, about info, testimonials, latest posts from the blog, contact form, additional calls to action. Everything translation ready.',
'link' => '#',
'image_uri' => get_stylesheet_directory_uri() . "/images/ccc.png"
// Custom code with stylesheet_direc
'image_uri' => apply_filters ( 'zerif_ourfocus_icon_default_filter', get_stylesheet_directory_uri() . "/images/ccc.png", 'third' ),
);
} else {
$ourfocus_content[ $zerif_lite_counter ] = array(
'title' => 'CUSTOM CONTENT BLOCKS',
'text' => 'Showcase your team, products, clients, about info, testimonials, latest posts from the blog, contact form, additional calls to action. Everything translation ready.',
'link' => '#',
'image_uri' => get_template_directory_uri() . "/images/ccc.png"
// Custom code with template_direc
'image_uri' => apply_filters ( 'zerif_ourfocus_icon_default_filter', get_template_directory_uri() . "/images/ccc.png", 'third' ),
);
}

Expand All @@ -108,14 +114,16 @@ function themeisle_populate_with_default_widgets() {
'title' => 'GO PRO FOR MORE FEATURES',
'text' => 'Get new content blocks: pricing table, Google Maps, and more. Change the sections order, display each block exactly where you need it, customize the blocks with whatever colors you wish.',
'link' => '#',
'image_uri' => get_stylesheet_directory_uri() . "/images/ti-logo.png"
// Custom code with stylesheet_direc
'image_uri' => apply_filters ( 'zerif_ourfocus_icon_default_filter', get_stylesheet_directory_uri() . "/images/ti-logo.png", 'fourth' ),
);
} else {
$ourfocus_content[ $zerif_lite_counter ] = array(
'title' => 'GO PRO FOR MORE FEATURES',
'text' => 'Get new content blocks: pricing table, Google Maps, and more. Change the sections order, display each block exactly where you need it, customize the blocks with whatever colors you wish.',
'link' => '#',
'image_uri' => get_template_directory_uri() . "/images/ti-logo.png"
// Custom code with template_direc
'image_uri' => apply_filters ( 'zerif_ourfocus_icon_default_filter', get_template_directory_uri() . "/images/ti-logo.png", 'fourth' ),
);
}

Expand Down

0 comments on commit 43d1270

Please sign in to comment.