Skip Navigation

[Resolved] Glyphicon assistance

This support ticket is created 7 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 7 years, 2 months ago.

Assisted by: Nigel.


I am trying to: add glyphicons to buttons in a cred form (id: 1237)

I believe I followed the tutorial correctly, but they don't seem to be showing up.

Can you please check and see if I'm implementing the code correctly.



Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Jon

I looked at form 1237 and I can't see any sign of anything you have done to add the icons to the buttons.

Can you tell me what you have done and which tutorial you were following.

As you cannot modify the markup CRED generates for the fields and buttons, I would expect you to need to add some custom JS that modifies the form markup once it has been generated, but I'm not seeing any of that—nor anything else.


Sorry NIgel,

It's in the view (new-manager-team-list-view) which is above the form that has the code to add the glyphicons to the buttons.

<button type="button" class="btn btn-default" aria-label="Left Align"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span>[cred_link_form form='1415' form_name='New Edit Team Photo Member' text='Edit' target='_self']</button>

The tutorial is found on the "Learn How to Use Bootstrap in layouts" link when you click on the bootstrap button element.



Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Jon

Thanks for the clarification, it helped me track down where I was expecting to see the icons used and appear.

On a page on the front-end where I would expect to see them (e.g. hidden link) they are not, and they are not because your theme is not loading Bootstrap and so the glyphicons are unavailable.

See the screenshot from the browser console which shows the stylesheets loaded on the page—Bootstrap is notably absent.

You will have to enqueue it yourself (read about enqueuing stylesheets in the official WordPress theme developers handbook:

Or if you just need a few icons, you can take advantage of the built-in dashicons in WordPress, which you can read about here:

I added a sample line of text with a dashicon to your view so you can see what is involved.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.