114 reputation
1221
bio website
location
age
visits member for 3 years, 4 months
seen Dec 19 at 12:17

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
Aug
31
comment I'm looking for a visual composer / builder plugin that supports RTL
Hi @Bainternet can you check why the link above is not working? Thanks
Aug
27
awarded  Popular Question
Aug
12
comment passing javascript variable into php wordpress
I tried that and it looks reasonable but it didn't work.. I even tried to just regular HTML string and it didn't print it out. I will try one more thing and get back to you. thanks
Aug
12
comment passing javascript variable into php wordpress
I am trying to implement it to my JS code but can't seem to understand how to do it. I am kind of new to JS.. anyway you can give me a hint where exactly I need to put it in my JS code? Thanks!
Aug
11
asked passing javascript variable into php wordpress
Jul
11
awarded  Popular Question