10. January 2012
von 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) { [...]

From category WP Scripts || No comments yet »
28. October 2011
von 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 [...]

From category WP Scripts || No comments yet »
8. October 2011
von 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.

30. September 2011
von 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, [...]

9. September 2011
von Blackbam

A landing page (sometimes also called “marketing page”), simply spoken, is the first page of a Web-presence that visitors see after klicking an ad or special link, which is intended to attract Web surfers’ attention for a certain offer (e.g. information, products, forms and so on). A key element of landing pages is the “response” [...]

From category Usability || No comments yet »
4. September 2011
von Blackbam

This work shows the differences between and the varieties of programming languages for the World Wide Web at present times and also helps understanding these. To reach this aim, the differences between programming languages are analyzed, and the affordances and circumstances of programming for the WWW are determined as well. Furthermore, an analysis of usage statistics is made to show what certain programming languages are in use today. As a result the most important programming languages for the Web 2011 are determined. Furthermore, a detailed programming language comparison sheet is presented, which can be used to compare the suitability of common and uncommon programming languages for Web use in general.

31. August 2011
von Blackbam

Just some hobby-photographs from summer-holidays near the eastern coast of greece (Agiokampos and Meteora)…    

18. July 2011
von Blackbam

A very common problem in programming web pages is to implement paging. Paging is required whenever there is an undefined amount of items (usually queried from a database) with a maximum amount of items to be displayed on one page. If there is more than one page, there must be a possibility to navigate through [...]

From category PHP || No comments yet »
2. July 2011
von Blackbam

You may have noticed that understanding and extending roles and capabilities in WordPress can be a bit confusing as a start. On the one hand there are the default roles: (Super Admin), Administrator, Editor, Author, Contributor, Subscriber, and they all have more or less rights (=capabilities) to do actions on a WordPress website, with descending [...]

1. July 2011
von Blackbam

These are my todays top 10 Javascript functions which I gathered in more than 6 months of casually Javascript Development. Almost each of them helped out of more than one problem, so they deserve to be perpetuated here and help again. Most of these are not written by me, but by some other great programmer on the web, and I really would like to mention all of them here if I would know where I have got all of these great scripts. Have fun an use wisely. [...]