Skip Navigation

[Resolved] i want the "delete-post" link will be font awesome icon.

This thread is resolved. Here is a description of the problem and solution.

Problem: How to set delete post link with awesome font icon

Solution: You should use 'fa-trash-o' class to display the delete icon.

Relevant Documentation:

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.


This topic contains 6 replies, has 3 voices.

Last updated by shirlyk 5 years, 7 months ago.

Assigned support staff: Minesh.


I am trying to: add a "delete post" icon with font-awesom

I expected to see: icon of a trash can (hidden link) that when click on it- the post in the loop is deleted.


You can do that if you have a Theme that successfully integrates / enqueues Font Awesome.

Then in your CRED Delete Post Link Short Code you can use the FontAwesome HTML.


[cred_delete_post_link class="cred-refresh-after-delete" text="<i class='fa fa-trash'></i>
" action="trash" message="Are you sure you want to delete this post?" message_show="1"]

Please do not hesitate to open a new thread if other issues or problems arise


Thank you


i'm using Toolset Starter, and i've added this line in the <head> section:
<link rel="stylesheet" href="hidden link">

as explained here: hidden link

but it still doesn't work...



Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Beda on his national holiday. This is Minesh here and I'll take care of this ticket. Hope this is OK.

Could you please try to use following code:

[cred_delete_post_link class="cred-refresh-after-delete" text="<i class='fa fa-trash-o'></i>" message="Are you sure you want to delete this post?" message_after="Post deleted" message_show="1" action="trash"]

hi Minesh.
cool, it works!
how did you fix it? what should i do next time i want to add an icon?

thanx 🙂



Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I'm really glad to hear that your issue is resolved.

There is a difference between class:

This is the code Beda sent to you:

<i class='fa fa-trash'></i>

This is the code I sent to you:

<i class='fa fa-trash-o'></i>

So if you notice the class name is different. To fix such issues next time, you should refer to following examples:
=> hidden link

Hope this resolves your issue and please open a new ticket for your each new question.


thanks Minesh!