WordPress Onclick Popup Popover Plugin With Multi Click And Responsive Layout

So I have been working on a wordpress site and a client requested a particular popover action to happen when someone clicks on a link.  On a product page I…

follow a link or url redirect and get the final url using php curl

If there is a url you have that you know redirects and want to find and store the final url destination use this.  This uses php curl to follow the…

Do something a percentage of the time in php

I am sure there are a variety of ways to do this.  What I wanted to do was set a particular link to a variable a certain amount of the…

php is not recognized as an internal or external command, operable program or batch file – setting windows system enviroment variables

If you are getting this error when trying to run a php file in windows it means that the PATH is not set properly in your windows install to the…

How to send a test email with PHP

Alright this is really simple but it is good to know to test if your server is sending emails properly.  You can just copy and paste this.  It is a…

Using php regex to copy contents between html tags

In this example I will show you how to get information between html tags of most any website using php regex.  First we must get a copy of the html…

How to use php file_get_contents to copy webpage

  For anyone who would like to get the html of a website with php the easiest way is to use file_get_contents.  Here is how you can quickly access…

Scan with HP F300 or F340 Desjet Printer

So I got some old printer off someone that was apparently broken.  It is an GP deskjet F340 All In One printer.  Sure enough put new ink in the machine…

401 Unauthorized: Authentication credentials were missing or incorrect. | WP to Twitter

This is an error I had while using the WordPress plugin “WP to Twitter”.  After you install this plugin you must setup a developer account with twitter to use their…

How to remove the sidebar from WordPress

The best way to go about doing this depends on what theme you are using.  Some themes the sidebar can be permanent and you must remove it manually in the…