Did you move the correct index.php file? There should be one inside the /themes/ folder and one for busolightning which is the actual theme index.php
What happens when you switch to another random theme like generatepress, is the website still broken?
Do I need to add if (!defined("ABSPATH")) exit; to every php file within a theme or plugin I make?
My intuition says yes since I don't want any php file accessed directly, but is that the correct approach?
Been trying to practice Wordpress development so I modified some of the code in @CCarter thread and tried to make it a bit more flexible, and easier than copy & pasting.
You have the option to load the default css or write your own. Might add some more options in the future.
---
To...
So I hate the default Windows terminal, but there are some cool things you can do instead. For example, you can use WSL2 to make it easier to work with Linux without having to dual boot, from there you can install things like oh-my-zsh to customize the terminal.
But I just came across...
Good post. Here's a trick I learnt, if you want to use multiple accounts to upvote your posts, don't use direct links to the post before upvoting. Rather search for your post in the subreddit, and then upvote that way. Whenever I used direct linking my posts would get pulled for vote...
Yeah I'm only really accessing from the gutenberg editor. Is the nonce you are talking about the wpApiSettings.nonce that's available?
Some demo code would be awesome, because the Wordpress docs around this is a bit confusing for me, I was trying to use this function but dont think its the...
What would the best approach be for securing a POST request to a custom end point?
I know how to use jwts etc in javascript but what is the recommended way to do it in Wordpress?
Yeah that's what I was thinking, I just remember AAWP annoying me with its generated html and changing my table of contents etc.
I will go with rendered html then!
Which would be more beneficial for seo?
Personally, I don't like having my product content and affiliate link included in my page html. But I don't know if this is the right approach.
What do you think is best? My gut feeling says go with rendered html
Shouldn't be too difficult. But a few things to keep in mind.
What will you do if something breaks?
How do you ensure that customer data is stored securely?
How secure is the template as a whole?
Yeah m2 will be the next version but I'm not sure when it will be released.
Either way, I think macOS is better than Windows in terms of productivity and terminal use, but you can use virtualization to use Windows on it as well.
Most adobe products support m1...