November 18, 2015 at 7:09 pm
Hello
Currently the Icon Menu in the Home Page has an image, title, description and URL.
Is it possible to add one more field?
I created a new theme using virtue as the parent.
I identified the file themeoptions/options/extensions/kad_icons/kad_icons/field_kad_icons.php containing the php that creates the fields.
I copied the file from the original virtue folder into my child theme, following the exact path.
But for some reason, the original field_kad_icons.php is being called.
For example, I added a new class to line 144 in the child theme
echo '<li><label for="'. $this->field['id'] . '-target_' . $x . '" class="icon-link-target lcc">';
But the options does not show it.
<label for="icon_menu-target_2" class="icon-link-target">
Maybe there is a key file in the Redux framework that I need to replicate in my child theme, which will call the correct path?
As a workaround, I’m using shortcodes, recreating the icon menu using [columns][span4][iconbox] which works ok, but my client complained that it’s too complicated. The Theme Options would be perfect as it’s super easy to use.
Thanks
Leo