WordPress
-
Analytics Head 0.5.6
Jest już dostępna nowa wersja wtyczki Analytics Head, 0.5.6. Nie wnosi żadnych poważnych zmian, po prostu w końcu zmieniłem obsługę funkcji load_text_domain, bo od dawna moja “metoda” była uznawana za przestarzałą. Normalnie tego nie było widać, ale wystarczyło włączyć tryb debugowania… A minęły od poprzedniej wersji prawie dwa lata! Dodatkowo uaktualniłem kod Google Analytics i zmieniłem użycie jednej akcji. Wtyczka została przetestowana z najnowszą (nocną) wersją 4.3-alpha-32508 i działa poprawnie. New Analytics Head 0.5.6 version is available for dwonload. There are no major changes, I just changed load_text_domain function handling, because it was deprecated for a long time. Of course it wasn’t visible until you switched WP to debugging mode.…
-
Nightly Bob the Builder
This installation is of course based on stable branch of the WordPress, but locally I always use nightly builds. It is important to be up to date with your plugins, themes etc. So, I inform, we’ve got 4.3-alpha-32508! Nice one 🙂
-
WordPress 4.2.2
WordPress 4.2.2 is available for download. Do it, it has security updates!
-
WordPress 4.2 RC
Release Candidate is finally here 🙂 Over 140 changes has been made since last beta version. Well done! They hope that final 4.2 version will be available @ 2014 April 22. Can’t wait!
-
WordPress 4.2 Beta 2
WordPress 4.2 Beta 2 is now available. Many bug fixes a few small features and improvements. Because it is a beta version in development stage, we do not recommend installing it on a live server. Of course you can download WP4.2 Beta 2.
-
Let’s build WordPress theme – part 3
OK, boys and girls, we are here with the third part of our tutorial. How to build WordPress theme. Well, as we can see in our previous parts (part 1, part 2), it’s more than easy. Of course today we’ll get deeper. New player Our new player is functions.php file. Let’s create it in root theme folder (beside style.css and index.php). This file is very special for WordPress theme development, because it is always fired, before the rest of the theme. This file is optional, but it is very important for us. Here we will do all WordPress magic. At this point, the content of functions.php will be very small. This will…
-
Let’s build WordPress theme – part 2
All right now, as you may remember in previous part we have already built WordPress theme but at this point, it is completely terrible and useless. However, we can see posts and this is it. Today we will do a little more. Let’s start. HTML Declaration We will use HTML5, so we leave Doc Type declaration as it is. But we have to take care about browsers (especially older versions of Internet Explorer) and we need to set proper language attribute. Because we do not know which WordPress language version will be used by the user, we need to use language_attributes() function. Then we have to use some conditional comments…
-
Let’s build WordPress theme – part 1
Booyah, we will do it! We will create sample WordPress theme from a scratch. It will be object oriented, clean code… I hope! Anyhow, we will learn a lot in this course. All right, let’s do it. WordPress setup This is the easiest part. If you want to write a theme, you must know how to install WordPress instance. You can do it on remote server, on your local machine – it is up to you. Just make it clean installation – we do not need any 3rd party to interfere with our project. Theme directory As you may know, theme directory for WordPress is /wp-content/themes/ and we will work…
-
How to add and use CSS files in WordPress
It is very easy. If you want to use CSS files in your own Word Press theme, let’s start with style.css. This file is required when building WP theme and it must be put in root directory of the theme. Why it is so important? At style.css you must put at least name of the theme. You can also add authors info, license info etc. You can also add another CSS files here! So, if you have style.css file, you can use: @Import directive You can use @Import directive in style.css to include your own CSS files. It is pretty simple (one thing you must remember – it is using…
-
How to add WordPress Administrator using PHP
Sometimes you are catch in this situation: client just sent you FTP access to the site but no WordPress password/user info at all. What to do? Since you have FTP access, you can do anything you’ll like and I will show you how to do that. First of all, login to the site via FTP and find index.php file in the root directory of the WordPress installation. Go to the very end of the file and write down something like this: [crayon-662209b080285739269819/] Now, simply run this site, by entering its url in the browser. Be sure to remove those lines after that! Now you can get into /wp-admin and login…