-
Closed
-
Hi,
Is it possible to add an icon next to the title of a tab?
Thanks
Hi,
Add the following before your title.
<i class='fa fa-twitter'></i>
This will add twitter icon.
Refer to the following for list of icons. Some may not work with Evolve+ Theme.
https://fortawesome.github.io/Font-Awesome/icons/
Thank you.
Hi,
Can you tell exactly where?
[t4p_tabs layout=”horizontal” justified=”yes” backgroundcolor=”” inactivecolor=”” class=”” id=””]
[t4p_tab title=”Calendar”]
content
[/t4p_tab]
Thanks
Hi,
Please use the following example.
Thank you
Hi,
Could you tell why shortcodes are not the same that the ones you get with Evolve+?
Compare [tabs to [t4p_tabs
Thanks
Hi,
I used the tabs shortcode from demo content as an example.
Both are suppose to work.
If you prefer the other. You can use the following example.
[t4p_tabs layout="horizontal" justified="yes" backgroundcolor="" inactivecolor="" class="" id=""]
[t4p_tab title="Title <i class='fa fa-twitter'></i>"]Tab Content[/t4p_tab]
[t4p_tab title="Title 2 <i class='fa fa-facebook'></i>"]Tab Content 2[/t4p_tab]
[t4p_tab title="Title 3 <i class='fa fa-vimeo'></i>"]Tab Content 3[/t4p_tab]
[/t4p_tabs]
Thank you
Hi,
We are going on.
Nevertheless there is an issue after each change/save of the page
<i class=’fa fa-calendar’></i>
become
<i class=”fa fa-calendar”></i>
and it generate two notices:
Notice: Undefined index: title in …/wp-content/plugins/t4p-core/shortcodes/class-tabs.php on line 207
Notice: Undefined index: tab00000001 in …/wp-content/plugins/t4p-core/shortcodes/class-tabs.php on line 174
Plus how we change icon size?
Hi,
First of all.
Put the shortcode example in your WordPress text editor, not the WordPress visual editor.
As for the undefined index, they are notices, not errors.
Please set your WP_DEBUG to false.
To change icon size, you can add fa-2x to the icon class.
<i class='fa fa-twitter fa-2x'></i>
It probably works up to fa-4x
Thank you
Hi,
Putting the shortcode in the text editor is what I already do. 😉
Not sure that to put the dust under the carpet (WP_DEBUG to false) is the best way to correct the issue.
Despite this two notices, page’s display is broken…
Could you, please, tell why simple cote ‘ are changed by “? And how to solve it?
Thank you,
Hi,
Please post your WordPress login access in private reply.
I will login and created a demo page for you.
Thank you
The topic Tabs icon is closed to new replies