Button shortcode does not generate has-icon class

Hi!
Can't say when exactly, but simple button shortcode works wrong...
<code>
[button title="Button" link="" icon="icon-home" icon_position="left" ]
</code>
The result you can see:

I do not know why - but when I use the icon - there is no class has-icon and therefore the label is at icon... How I can correct that?
WP 5.5
Be 21.8.3

Comments

  • Hello,
    Please disable all of the plugins, clear the cache of your browser and check, if the issue stiill exists.
    thanks
  • Pablo, hi!
    Sure I did that: all plugins are disabled, cache is cleared... nothing... Some magic.  But I am sure: two weeks ago all was right - I use such a button to login. But there was WP update, Be update... some plugins update. Hmm - I see that for the first time. Clean WP 5.5 + Be 21.8.3 does not produce such an error. Understood nothing - if I disable all plugins - the error is at place... (all browser tested)
  • Simple child css + original child function does not improve situation. But I activated MAIN BE theme - and ... button is as should be. Hm - what can produce such behavior?
  • Found! theme-shortcodes... I foget to clear it from child dir...
    Sorry Pablo very much to trouble you!
Sign In or Register to comment.