How to exclude some words
-
Hi,
I am looking for a way to exclude certain terms from the displayed titles.
I have landing pages where the shortcode works perfectly as follows:[random_post_on_refresh post_type="issslpg-landing-page" show="title"]However, it only displays the most recently created posts.
I would like it to display, for example, only posts containing the word or slug “roofer,” or to exclude posts with that word.
I tried using category taxonomies, but it only works for the landing page templates. Unfortunately, the landing pages themselves are not listed in categories.
The same goes for CSS classesโI canโt define a div in CSS using Elementor.Chat GPT gave me some advice on modifying the source code, but that didnโt work either.
thanks for your replies.
The page I need help with: [log in to see the link]
The topic ‘How to exclude some words’ is closed to new replies.