First: Thanks for your very (!) quick answer.
But I’m sorry, I didn’t get it. Which code do I have to include in my WordPress-PHP-Files?
My idea is to use this syntax:
<?php
if (consent_value == ‘yes’)
{
echo (‘Cookies are accepted’);
{
?>
But the question is: Where and how can I define the var: consent_value, so that I can check it via php if?
Thanx a lot für your patience!