We at work usually build websites in Wordpress but I would like to expand my knowledge and repertoire so I am learning Laravel which feels great. Watching various educational videos they say that it is not a good idea to use Laravel on Shared Hosting, something about that it can be hacked but genera...
How should I do rewrite for page Dictionary if I would need these urls? mywebsite.com/dictionary/ mywebsite.com/dictionary/a mywebsite.com/dictionary/b mywebsite.com/dictionary/c mywebsite.com/dictionary/z mywebsite.com/dictionary/a/page/4 mywebsite.com/dictionary/c/page/10 I am trying out some thin...
I am trying to replace jQuery code with vanilla JS, how can I post data to Wordpress? For the following code I get error in console 400 (Bad Request) fetch('http://localhost/mywebsite/wp-admin/admin-ajax.php', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({...
I have this little piece of code that should be called once daily, but it doesn't work, XML file isn't saved. But if I call call_xml_generate() manually then it works good so the problem I guess isn't in function itself. I have read that Cron job will be scheduled if someone visits webpage, the webs...
Inside loops when displaying posts I am doing the same thing, showing title, sometimes date, displaying a custom meta field and featured image linking it to the post. <img src="..."> <h3>Title</h3> <p>Custom meta field</p> Generally on many websites I am doing this on frontpage in multiple sections,...
For small plugins I just copy my previous plugin with single class and adjust accordingly, recently I had to create a more complicated solution and I used this https://wppb.me/
An option to opt out of unnecessary stuff that I never use and which bloats the page, without using all possible hooks to remove them which will bloat website as well.
Simpler usage of custom tables
It depends in which part of world you live. If I would charge $70 a hour by the end of the 8 hours working day I would have earned current monthly salary :D
For small plugins I just copy my previous plugin with single class and adjust accordingly, recently I had to create a more complicated solution and I used this https://wppb.me/
An option to opt out of unnecessary stuff that I never use and which bloats the page, without using all possible hooks to remove them which will bloat website as well. Simpler usage of custom tables
imsanity plugin
if you know php then just inspect the code in default themes with official documentation
It depends in which part of world you live. If I would charge $70 a hour by the end of the 8 hours working day I would have earned current monthly salary :D