- No products in the cart.
HOME › WordPress Support › Mikmag WordPress theme › sociable_custom1_icon_hover
This topic contains 3 replies, has 1 voice, and was last updated by Valentin Coman 3 days, 9 hours ago.
-
AuthorPosts
-
August 15, 2012 at 5:50 pm #7403
Hello Themedutch.
When I am adding a custom sociables button I am getting the fallowing error:
WARNING: Cannot find theme option sociable_custom1_icon_hover
You can check it on the website at http://www.cartuningperformance.com
I was and still digging in the sociables.php.
foreach ($core_sociables as $slug => $sociable) {
if ($sociable['custom'] == true) {
$section = new CoreOptionSection(‘sociable-custom-’. $slug, $sociable['title']);
$options->section_add($section);$section->option_add(new CoreOption(‘sociable_’ .$slug, __(‘URL’, THEME_SLUG), ‘text’));
$section->option_add(new CoreOption(‘sociable_’ .$slug. ‘_icon’, __(‘Icon’, THEME_SLUG), ‘image’));
$section->option_add(new CoreOption(‘sociable_’ .$slug. ‘_hover_icon’, __(‘Hover icon’, THEME_SLUG), ‘image’));
}
}
}There seems to be some icon_hover
hover_icon issues. I am trying them out right now, but I would appreciate the help
August 15, 2012 at 5:54 pm #7404foreach ($core_sociables as $slug => $sociable) {
if ($sociable['custom'] == true) {
$section = new CoreOptionSection(‘sociable-custom-’. $slug, $sociable['title']);
$options->section_add($section);$section->option_add(new CoreOption(‘sociable_’ .$slug, __(‘URL’, THEME_SLUG), ‘text’));
$section->option_add(new CoreOption(‘sociable_’ .$slug. ‘_icon’, __(‘Icon’, THEME_SLUG), ‘image’));
$section->option_add(new CoreOption(‘sociable_’ .$slug. ‘_hover_icon’, __(‘Hover icon’, THEME_SLUG), ‘image’));
}
}
}the bolded section is supposed to be _icon_hover instead of what it is above.
Now it doesn’t apply the hover. I have the hover image as well, but it doesn’t turn on when it hovers
August 15, 2012 at 5:59 pm #7405ok after I applied the fix, the image was not attached to the hover any longer. I re-added and now it hovers.
August 15, 2012 at 6:02 pm #7406This one is fixed
-
AuthorPosts
The topic ‘sociable_custom1_icon_hover’ is closed to new replies.


