The use of CDN is an integral part of site speed testing (particularly with GTmetrix & WebPageTest). I've tested 3 different CDNs (Cloudflare, BunnyCDN & CDN77) but I still find local caching better. CDN might bump up your YSlow Score (GTmetrix) but it doesn't necessarily improve your overall site speed (at least it's what I've seen on testing). The page load time in most instances are actually slower than local caching). If you have multiple images on site's main page it will take a CDN couple of passes to fully load everything. It's just slow overall that I got rid of it.
500 errors when I go anywhere other than linked pages - /about, /wp-admin, etc
Error log shows same error over and over: "[17-Jun-2018 16:13:02 UTC] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 20480 bytes) in /.../public_html/wp-includes/post.php on line 4606"
Clearing out all malware manually - got an email from GoDaddy with a list
Creating alternate WP site on GoDaddy to test if my .mysql dump can be reimported elsewhere, before I recreate the site - redirector forces other site back to inkican.com with same 500 error
I suspect it's a malware-induced re-direct issue, but where do I go from here? I'm afaid if I delete and recreate the site, A) the dump may not reimport, leading me to lose 3 years of WP posts, development or B) the dump will contain the same issue, leading me right back to where I started.
Walking away from this for now - any suggestions, insight would be appreciated.
I`m having problems to run the youtube video from the website www.marraineboutique.com?Anyone here could help with a solution for what is making the video just not run at all? I see many error messages that I`m not really sure how to tackle in the console! Is anyone here experienced about it willing to share knowledge about this particular issue?
Its in the main slider and the plugin is slider revolution!
OBS: the website is still not optimised so should take a while to load
So, I got this blog a couple of years ago and I finally decided to make a go with WP API + React. It started out really nice and I've gotten it to work smoothly. Until I tried to implement React Router. Wordpress keep "stealing" the routes and when requesting my-own-route/:slug wordpress realises what I'm trying to do, and serves me ":/2017/08/03/slug" instead. Has anyone successfully found a way around this ? Or is it simply impossible to serve the react app from inside wp ? Should I put the app a folder level above the actual wp-installation or something? That doesn't seem as smooth though.
I'm looking to create a semi-custom designed WP theme, and I'm trying to understand the best practice of how to add my own custom code into one of these themes. As a novice coder I have a tough time understanding the structure and architecture behind different WP themes. Every time I feel like it's learning how to code all over again as each theme is vastly different.
I noticed themes like OceanWP, Astra, GeneratePress all come jam packed with a ton of UI based customization features which is helpful for less tech savvy people, and gives them a shot at building their own websites. I'm really not interested in that approach as an aspiring developer. All I want to do is enter in some PHP, JS, HTML/CSS into a child theme as it gives me greater control, and then I don't have to learn how to use their UI builder.
My question is what is best practice for adding in my own code?
Let's take the header for example. I'm currently using the Astra theme, and I would like to make the header of my page sticky. There is a pro feature of Astra that would allow me to turn this on in the UI. What I'd rather do is just go and add in the CSS and JS to just make the header sticky myself, but is this a good practice with WP child theme building?
My concern is that I might just be adding my own code on top of a theme that already has features built in. So as a developer should I be trying to look in the parent theme for the code that controls the feature, then copy that file into my child theme and make the adjustments that way? I feel like that would be best practice, but frankly the core code to most of these themes is way outside my range right now. I can comprehend what's happening in the code, but it's a little too advanced for me to fully grasp how classes are working to create different pieces of the website and the functions within functions within functions, ah!