I am currently transitioning from a massive blob of PHP in my functions.php file into multiple separate PHP scripts, as having everything in functions.php was slowing the site down (obviously).
This works fine, however the scripts are still running on all pages. I need them to only run on a singular page, and the code provided in the FAQ did not work:
if ( ! is_page( richlands' ) ) return;
as the scripts do not run (richlands is a slug – do I need the whole link?). Is that the correct format?
Another solution if this is a better way is if I could run it from javascript? But I am not sure how to do thaat, so would need an example.
Thanks in advance!
Elliot
Moreover, the real game-changer for us was the ability to develop an extension of the plugin called “Enlighter – Extension With Run Button.” This extension added a unique and invaluable feature to our code blocks – a “Run” button. Now, not only can we showcase our code snippets beautifully, but we can also execute them directly on our website, making it an incredibly powerful tool for educational purposes and demonstrations.
I want to express my heartfelt gratitude to the developers and maintainers of the Enlighter plugin for their dedication to providing such a fantastic tool to the coding community. This plugin has not only improved the overall aesthetics of our website but has also enhanced the user experience for our visitors.
]]>I am a happy user of your plugin but i seen lately that when i insert an answer for a question i made for my users and then run the calculate point button, the points wont be added to my highscore list unless i go into the admin, and recalculate my points again.
I wonders if there is something changed when i run the calculate button or perhaps am doing something wrong ?
Here is a few screenshots from my danish site:
1) this is where i run the correct answer from
https://ibb.co/Fm2y9PX
2)
Here it shows that the question gave 3 points as it should
https://ibb.co/7y1Gkm4
3)
This is the point table after i ran the 3 points question BUT it shouls have shown
182 point where it shows 179 point
4)
https://ibb.co/f4dM0k7
5)
Then i run this from admin:
https://ibb.co/zxJq4G0
6) and now i get the correct table with the correct points:
https://ibb.co/CMFNGg7
running wordpress 5.8.2
football pool 2.9.7
thanks for any help, support
]]>I′ve tried to run a scan twice (with both fork processes) and NinjaScanner Log tab said:
Fatal error: the HTTP server returns a [500 Internal Server Error] HTTP code. Aborting<br>INFO Cancelling scanning process
My site is in a shared hosting and they are unable to give more specific data about those errors by arguing they don′t have a registry on their system.
error_log.php file and Errors tab in cpanel don′t show errors. Currently using NinjaFirewall, WP Super Cache, and latest WP version.
What could be the reason for those errors and does anyone know why the hosting is not registering them?
Regards,
Julia
]]>I am in the middle of starting my own little business just to keep me busy as a semi retired person in France.
While testing, The last thing you want is to scratch your head for 8hrs trying to figure and wonder why your contact forms or news-letters are not are not sending on time. (visitor onload) Fresh website not enough traffic yet, and yes why would there be its still being constructed.
I am going to set a server cron but leave wordpress cron active, I now realise thanks to this share resource why..
Andrew
]]>