- This topic has 1 reply, 1 voice, and was last updated 12 years, 5 months ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- The topic ‘sociable_custom1_icon_hover’ is closed to new replies.
Home › Forums › Mikmag WordPress theme › sociable_custom1_icon_hover
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
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’));
}
}
}
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
ok after I applied the fix, the image was not attached to the hover any longer. I re-added and now it hovers.
This one is fixed 🙂