In Netbeans PHP autocomplete does not always work because the type of a variable is not clear. Below you can read how to hint the type thus allowing for autocomplete to work in Netbeans with PHP as well as it does with Java.
This post explains how to change the linking behavior of image posts for the WordPress default theme twenty eleven.
Problem Overview: WordPress Link on Image points to next Image in Gallery
If you upload a gallery in WordPress and insert it in a post, each of these images will get their own post. In this post, only that image will be displayed (and some meta information) and if a user clicks on it the next image in the gallery will be displayed if you use the WordPress default theme twenty eleven.
And here is the problem: the user does not expect to be taken to the next image in the WordPress gallery. Most likely a user just came from a search engine and wants to read the post that belongs to the image (and you probably want the user to do just that as well).
Part two of the Linux series which introduces linux shell commands: how to find a file in linux.
A WordPress Plugin that adds the language meta tag and the html lang tag depending on category (which allows changing it depending on the language of the post).
The Plugin also provides several small functions which clean up the html code produced by WordPress (removing unused elements and invalid html) and provides some more cool functionality.
If you want to display a list separated by comma you could just prepare a comma separated list in php in the controller and pass it to the twig template. But that does not result in very clean code, so in this post you can read up on how to create a list separated with commas in twig directly.
How to display a comma separated list in Twig
In this small series I will introduce Linux shell commands.