139 reputation
1523
bio website
location
age
visits member for 4 years, 1 month
seen 2 days ago

1d
awarded  Popular Question
May
13
awarded  Notable Question
Apr
29
asked Display taxonomy terms, child terms and posts in a template
Apr
7
awarded  Notable Question
Mar
30
awarded  Notable Question
Feb
13
awarded  Self-Learner
Dec
19
awarded  Popular Question
Dec
11
awarded  Famous Question
Dec
7
awarded  Notable Question
Oct
18
awarded  Popular Question
Sep
23
accepted Creating intro page in wordpress
Sep
23
comment Creating intro page in wordpress
Great, Great!! did the trick for me. well done! Thanks a lot.
Sep
23
comment Creating intro page in wordpress
I added a redirection to the else statement just to check if it works and if yes I redirected to Google just for the test but it is not working. I was looking at my browser to check if the coockie even exist and it's not. <script type="text/javascript"> $(document).ready(function() { if (!isset($_COOKIE['visited'])) /* if the visitor is a new */ { setcookie('visited', true, time() + 3600 * 24); } else { window.location.replace("google.com"); } } </script>
Sep
23
comment Creating intro page in wordpress
Yeah, I am not sure what to put in the else statement.. can you give me a hint?
Sep
23
comment Creating intro page in wordpress
Not working unfortunately.. I set the intro page as the first page in the wordpress dashboard. it did work, it showed the intro, waited 6 seconds and redirected to where I needed but when I typed the URL again it showed me the intro again like no cookie was stored..
Sep
23
comment Creating intro page in wordpress
Anyway I cann add that as a JS function like so: code<script type="text/javascript"> $(document).ready(function() { if (!isset($_COOKIE['visited'])) /* if the visitor is a new */ { setcookie('visited', true, time() + 3600 * 24); } } </script>code because it's a separate template and is not connected to the header.php Thanks
Sep
23
comment Creating intro page in wordpress
great and do you have any idea how do I store this page in the user's cookies so he won't see this page the next time he will get there?
Sep
23
asked Creating intro page in wordpress
Sep
5
awarded  Popular Question
Sep
1
comment I'm looking for a visual composer / builder plugin that supports RTL
Do you happen to know if there is an RTL support for that elsewhere? thanks