Category "Web Development"

Book this single category as RSS  .
17. October 2012
from Blackbam
As it was a bit tricky to find out how this works, I want to share this script. This is how you can convert a UTC timestamp without offset and summertime into a converted timestamp using PHP. This is especially useful when extending a Calendar Plugin for example, which saves its dates in UTC-timestamps while […]
Share
From category PHP || No comments yet »
12. July 2012
from Blackbam
The automatic upgrade function of WordPress is usefull for most bloggers, as they always are reminded to keep WordPress and its extensions up to date. Anyhow, it can be very annoying for developers when customers and end-user make updates by their own, usually destroying something. It is often recomendable to disable this notifications: Sometimes a […]
Share
From category WordPress, WP Scripts || 6 comments »
25. June 2012
from Blackbam
Update: There was a short intverview regarding this Plugin by expertentesten.de: https://www.expertentesten.de/news/interview-david-stoeckl-custom-header-images-plugin/(language is german). Why does WordPress need another Header Images Plugin? Really, there are a lot of Plugins for this purpose so why did I have to write another one? The answer is: All these plugins have a lot of code, it is hard […]
Share
From category Plugins, WordPress || 93 comments »
23. March 2012
from Blackbam
Always when trying to integrate a Mailchimp Newsletter Subscription into WordPress manually, there are a lot of problems occuring. In this very short tutorial I will explain how to create a working, customizable form. 1. The Mailchimp backend. Go to: Lists -> Forms [from the desired list] -> For your Website -> Signup Form embed […]
Share
From category WordPress || No comments yet »
7. February 2012
from Blackbam
Nothing new, nothing special... just the working code of a basic Ajax skeleton, as this has to be copied and pasted that often. This example shows an application similar to Google suggest, which searches related values, whenever a key is pressed.
Share
28. January 2012
from Blackbam
Recently I had to fix a bunch of really annoying problems with this combination. Duplicated contents, automatically inserted line breaks and problems with the custom styles for TinyMCE really caused me to hate these Plugins. The reason for most of the problems is qTranslate though. If you experience similar problems, the following "library" will be […]
Share
10. January 2012
from Blackbam
You do not want to use Attachment-Pages in your WordPress page? Or maybe you installed a gallery Plugin and want to transform all your Attachment URLs into File-URLs now? The following script will do this for you. Just make sure, that all relevant content blocks of your database run through this script. function cis_file_links($content) { […]
Share
From category WP Scripts || No comments yet »
28. October 2011
from Blackbam
This little scripts help ordering WordPress categories by meta values - a thing which is not integrated into WordPress yet and which costs some time to integrate. 1. Create a meta value (or meta values) for categories to order by To order categories by a meta value the first thing which we have to do […]
Share
From category WP Scripts || No comments yet »
8. October 2011
from Blackbam
It is a common problem to detect parents or childs of pages and categories in WordPress correctly. The way WordPress stores relationships in hierarchies is not that trivial sometimes, so the results when querying are a bit confusing sometimes. It took some time to determine and optimize functions which do this job good and without faults, and I want to present these. As in this function I prefer working with page IDs, as this is the savest way to identify certain pages. With little changes it should also be possible to use these using e.g. slugs. Both of these functions can be used inside and outside of "the Loop" or loops.
Share
From category WordPress, WP Scripts || 1 comment »
30. September 2011
from Blackbam
Recently we had an issue with the line-breaks in WordPress comments - the comments are saved to the database as they are submitted from the textarea in your theme, and depending on the theme so they are displayed. If your comments are displayed as HTML and there is no mechanism to add line breaks anywhere, […]
Share