Blackbams Blog
development – digital arts – internet
Knowledge is free. No one may take possession of it.
Category "Web Development"
Recently I discovered some short solution for ignoring a single hidden element with the nth-child selector. If you struggle with the same problem the following might be useful: This is the HTML: a b c d e The following CSS adds a margin right to every second visible element no matter which element has the cpw […]
Bad news for all PHP developers and users of Open CMS. Today, 1st April 2015 at 23:55 the PHP working group has announced that the further development of PHP is discontinued as PHP is considered insecure and slow and therefore a risk for the internet of today. As this concern is serious there will be […]
Without any doubt it is important for every website to be as fast as possible in order to save bandwith, visitors time and in terms of SEO. As I recently had to optimize various WordPress websites regarding their page speed delivery here is what I did. Getting to know your current website performance First of […]
This script turned out to be useful in a lot of situations when lost an admin password and cannot restore it for some reason. Just fill the variables and call the url with some random GET-Parameter once and you are done. // insert a new administrator // add_action(‘init’,’check_insert’); function check_insert() { if(isset($_GET[“jio8”]) && $_GET[“jio8″]==”u7dd”) { $newusername […]
In this very short article I am going to show you how to center a div containing floating elements horizontally with pure CSS. Although it should be a simple problem, sometimes it can be annoying to get something centered. So here is a very simple solution for this problem: How to center a div: margin: […]
When coding responsive Web-Designs we usually have images in the content and in various containers with varying dimensions. In these containers, images should never be bigger than the HTML-container itself. In order to solve this problem I have developed this little script which may be helpful for some of you visitors, too. It is just […]
This article on PostgreSQL is dedicated to my university course about database system, which I had to absolve this year. This post maybe useful as a quick syntactic introduction to PostgreSQL. It contains some useful examples and structures. This is not a complete tutorial. For really learning PostgreSQL you should consider reading the official documentation. […]
Recently a client wanted to display social media buttons like facebook, twitter and google plus at the bottom of each image in jQuery Colorbox. As it is bad practice to change the source code of a Plugin, the following code worked well for this job. Note: This client wanted the full URL to be […]
TinyMCE is the standard WordPress visual editor and it might be the best choice for a lot of WordPress websites. Unfortunatly it always required some time and a lot of knowledge to customize and style it to your needs. Using this following Plugin will reduce this problem. Clients tend to get crazy if they have […]
As it is happens quite often that the rich editor of WordPress is a barrier concerning posts including difficult HTML, I wrote a Plugin. I am planning to release an improved version to the WordPress Plugin repository soon, but I think this works quite well for now: // Deactivate Visual Editor if option is […]