Check for “phrase”
-
Hey guys,
Kinda new to wordpress, here’s what I’m trying to do:TLDR; Is it possible to check for a phrase in a post / listing and if present have the widget not show?
I mention products on some posts, but before I’ll write something like “here are the Amazon links”. These are manually inserted images, with links to amazon.
Below, I have a widget with amazon products, which displays products automatically based on the content of the page, so what happens is, it often generates the same links / images as shown in the post.
What I was trying to do is have the plugin check, if the sentence “Amazon links” for example is found in the post, not display the widget. Is that possible?
- The topic ‘Check for “phrase”’ is closed to new replies.