I am adding some social links to the social menu as part of the theme editor. I am using the WordPress 2020 theme. The icons are not visible when I add them.  I saved the changes and checked the HTML of the page and I could see the icons in the html but they aren't…
If you have switched between feature branches where one is quite a bit behind the other, you may find you see the following error. Your project does not reference ".NETFramework,Version=v4.8" framework. Add a reference to ".NETFramework,Version=v4.8" in the "TargetFrameworks" property of your project file and then re-run NuGet restore. The first thing to do is…
The HTML 5 Canvas has to be one of the coolest features that has been introduced in quite some time. Solid and well built, it makes image editing and modification such a breeze compared to the javascript-based tools we had in the past. There are bound to be some useful wrapper libraries out there that…
With the widespread popularity of Nuget, there is a package for everything in C#. Parsing CSVs are no exception, but this feels like overkill. Parsing a csv, tsv or any value separated file in C# is not complicated and can be done very easily by simply breaking up the string. It takes a little more…
I am able to add a jpg image to a pdf document using insert image but for some reason the code throws an error when I try to add a png image. Why would this be failing? This is the error that I see getting thrown Error in function n/At: String contains an invalid character…
CORS stands for Cross-Origin Resource Sharing. For most scenarios, what it does is let you use Javascript to make HTTP requests to a different domain. It is a very important security feature but is a useful thing to enable if you have the need for it. This guide will show you how to enable it…
I am trying to make a get request using file_get_contents and I want to get back the HTTP headers from the response along with the content body. Whenever I try to provide the headers to the function, I get the error "file_get_contents() expects parameter 3 to be resource". I am not sure what I am…
reCaptcha is a smart captcha system that will help prevent spammers from submitting junk data using forms on your website. The system works very well and is relatively simple to implement. This guide will show you how to setup and configure reCaptcha with PHP. In order to set up reCaptcha, you will need to register…
This should be a relatively simple task to achieve in most scenarios, there are circumstances where it is not. This guide will show you what you need to do to make custom meta boxes appear above the default WordPress editor in the admin area. When you are adding a new meta box to the post…
By default, the page post type in wordpress will not have comments enabled. Chances are your theme already has support for them, so it should be a simple case of editing the page within the Wordpress admin area to fix. Here is how to enable comments for pages in Wordpress. Go to the pages section…