Make duplicate text bold automatically
-
I want duplicate words on a single page in predefined div to be bold on a WordPress site, and I do not know how to accomplish this. Who can help me out?
So let me roughly describe what functionality is needed. Here’s the layout of my page:
DIV A
keyword 1, keyword 2, keyword 3, keyword 4
End DIV A
Bunch of other divs and contentDIV F
keyword 2, keyword 4, keyword 7, keyword 8
End DIV FI want the keywords 2 and 4 located in DIV F to be in bold text, based on that there are duplicates in DIV A.
So I need something that looks in both DIV A and F, determine if there are any duplicates and if there are mark those duplicates in bold in DIV F only.
Do i need CSS, PHP, a function or a plugin to accomplish this? Who can point me in the right direction?
- The topic ‘Make duplicate text bold automatically’ is closed to new replies.