Answer the question
In order to leave comments, you need to log in
What is the name of auto-attaching icons to words in articles?
Hello. What is the name of automatically adding an icon (small size image) to certain words in articles, for example, in the picture next to the names of the characters their thumbnail is attached
:
Answer the question
In order to leave comments, you need to log in
Most likely it's done with css, something like this .
When publishing a post or article, some plugin looks through the text and frames the names of the characters in some tag with the right css class.
Simple option:
Create the required classes... For example, auto, fruit, money
Next, apply and add styles to the required classes. You can add an icon or use font-awesome...
For example,
.money::before {
content: "/f000"; /* или url картинки */
color:red;
}
<span class="money">bla-bla</span>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question