2023-05-26, 06:38:41
(2023-05-23, 01:44:57)AHeffekt Wrote: @multicolor, thanks so far. (Oleg06, too :-) )
Shame on me. But i looked for hours how to create my own Tag, which (Admin)Users can simple place in GetSimple Editor without writing php code. But i can't find out. I want to recode this Plugin based on your Idea "display by Tag". Before this my plan was to Code this only for English and Geman Users. For this Slugs like "Contact" and "Kontakt" where adequate and simple in my opinion.
Can you throw me some Keywords to find out by myself. Or maybe some Links to Howtos i didn't found, for something like this in GetSimple? If i can't find out by myself, i leave it like it was, but since i get direct response from Oleg06 for russian language, i think your Way is the better one for the Community.
OFC I can
PHP Code:
$tags = get_page_meta_keywords($echo = false);
$tagsToArray = explode(',', $tags);
$whatYouFind = 'yourtag' || ' yourtag';
if (in_array($whatYouFind, $tagsToArray)) {
echo "tag is here you can put your function here!";
};