Embedding a video into HTML website seems an easy task, but there really are lots of aspects to take into consideration when you insert a video:
- File size and format (extensions and codecs)
- Browser and platform compatibility
- User internet connection (mobile vs desktop devices)
- Server resources (bandwidth, CPU, RAM)
- Privacy and data owning
- Content visibility and engagement
Therefore, depending on where you will insert the video and the application you use, you will be affected by some of the above or not. So let’s get our hands on it and do a step by step research about what is the simplest way to embed a video. Continue reading “How to embed video into a website – Ultimate tutorial”
I have recently used prettyPhoto for a project and I have to admit that it is a great tool to have in hand when it comes to modal pop-ups.
It has lots of types of content support and it is really simple to customize. prettyPhoto also comes with lots of features and 5 built-in themes…
- minimal theme – which will add here with minimal and pure CSS
I prefer a default minimal and simple theme for prettyPhoto and the ability to add stuff if I need it and not the opposite. So this is my little CSS to create a simple theme for prettyPhoto Continue reading “PrettyPhoto Minimal Theme – a pure CSS prettyPhoto simple theme”
The authorization code grant methods, should be very familiar if you’ve ever signed into an application using your Facebook or Google account.
The flow is quite simple. The application redirects the user to the authorization server >> the user will then be asked to log in to the authorization server and >> approve access to his data. And if the user approves the application >> he will be redirected back to the application. Continue reading “Simple OAuth2 authorization code grant example using PHP and cURL”
Did you know that the default wordpress tags, labels or keywords from the sidebar can have a huge impact on your website? Well it does.
Beginning with Version 2.8, the default tag limit in wordpress is set to 45, witch is quite large and can definitely affect PageRank on small blogs with less PageRank to spread around. However the net affect can still be helpful on high authority blogs. Continue reading “Limit the number of keywords in WordPress tag cloud to control PageRank”
What is URI
A URI identifies a resource either by location, or a name, or both. More often than not, most of us use URIs that defines a location to a resource. The fact that a URI can identify a resources by both name and location has lead to a lot of the confusion in my opinion. A URI has two specializations known as URL and URN. Continue reading “URL vs. URI vs. URN, What’s the difference / examples”
In this tutorial we will create a modal window using only HTML5 and CSS3 properties. The techniques used to create a functional modal box are CSS3’s transition, opacity, pointer-event, and background gradient properties.
Continue reading “Create a modal window using pure HTML5 and CSS3”
So, as mentioned above, supposedly the new Toolbar is meant to be impossible to remove. The reason for this is that the new Toolbar is a combination between the old Admin Bar and the Dashboard Header.
If you remove the Toolbar, then you are effectively removing the Dashboard Header, which is something the folks at WordPress don’t think you should be doing. Continue reading “Remove admin bar wordpress backend and frontend”
If you are on this page, there are lots of chances you have a Google Adsense account, you are planning to create one, or Google just close the account you had.
This is where I will tell you what I’ve learned in my 7 years experience with Google Adsense and how I reached the $10,000 barrier. But before I get into more details, let me tell you how I have started. Continue reading “7 years Google Adsense earnings statistics and 10.000$ barrier reached”
The && and || logical operators seem to have more general recognition and background usage, although the and and or form of the same logical operators is taking more and more acceptation for the sake of readability.
So here is a list for the results when evaluating the expressions in PHP. I am sure that this can be applied to a bunch of other languages. (I think it is a little bit superficial to say that it apply to all programming language since I only know some of them). Continue reading “PHP logical operators true false”
Few days ago I have notice a big rise of my Google analytics stats from some very suspicious sources from Russia. Strange thing about this was the browser languages.
Here is a sample of my analytics report:
There are some more curious language codes in the report: Continue reading “How to stop Google Analytics Language SPAM?”
WordPress plugins can be easily disabled from the database. You just have to open your favorite client and connect to your favorite client and go to your site database. I normally use HeidSQL, phpMyAdmin or Adminer but you can use any other. For this specific task you must know your database connection credentials. If you have an FTP connection you can find that in your wp-config.php file on the wordpress installation root
You will have to go to the wp_options table and search for a specific value in the option_name column. Please note that the table prefix ( wp ) is the standard prefix but can be different from one installation to another. Continue reading “How to deactivate all WordPress plugins from MySQL database”