Mihai
Forum Replies Created
-
Forum: Plugins
In reply to: [Age Gate] Leave only the year field input ?Hey!
Thanks for the reply. I was thinking yesterday about the same solution.
I placed this in the header of the theme:<script type="text/javascript"> function myFunction() { document.getElementById("age-gate-m").value = "01"; } </script>
Doesn’t work.
I then placed the code in the age-gate-public-display.php file… Doesn’t work.
I tried adding it in the input-month.php file. Same result.
Then i tried this code:<script type="text/javascript"> var textnode = document.createTextNode("01"); document.getElementById("age-gate-m").appendChild(textnode); </script>
Obviously, nothing.
If you can spare 2 minutes to help (pretty sure i am writing the syntax wrong)…
Thanks a lot ??LE. I also tried creating 2 vars, one for the month, one for the text and then tried appending on to the other. Nothing :((((
- This reply was modified 5 years, 7 months ago by Mihai.
Forum: Plugins
In reply to: [Recent FB Posts] Add Link to ExcerptA little add-n, in case someone needs it.
For opening the link in a new tab/page:function my_rfbp_content($content, $link) { return $content . '<a href="' . $link . '" target=_blank >Read more »</a>'; } add_filter('rfbp_content', 'my_rfbp_content', 10, 2);
Forum: Plugins
In reply to: [The Events Calendar] Title of the page displays Page NOT foundLast-minute update!
If i open a category page, for example this one https://www.trails.ro/events-2/category/diverse/
The title displays corectly…
HELP! ??Forum: Fixing WordPress
In reply to: found a security risk, pls checkHello. sorry for posting that. I thought it could help you and detect a bug… thanks for all the info. have a nice day.