elektroelch.net – blog

New version of Linklist (v0.4) WordPress plugin

A user of my WordPress plugin Linklist wanted to use it in conjunction with a Like/Unlike plugin.

Unfortunately Linklist also listed the like/unlike links of the plugin and put the list behind the Like icon:

linklist1

This is not the way it’s supposed to be. So I added two more options:

  1. You can define several class names of DIVs that will be excluded from being searched by Linklist. This option will also deal with incomplete DIVs (<div> without any closing div).
  2. You can set the priority of the plugin. This will enable Linklist to collect the links and add the list in the post before other plugins are adding their own content to the post.

In the above example the result will look like this:

linklist2

… and yes, Linklist is compatible with WordPress 3.8.

Minor update to pagebar plugin (v2.65)

The last update to the pagebar plugin has been made over a year ago. Since all new ideas will be included in version 3 and the plugin was working fine with every new update of WordPress there was no need for an update.

The other day Borisa Djuraskovic of “Webhosting Hub” wrote me an email that he has created a Serbian language file. This was a good opportunity to introduce a small feature that was spinning in my head for some time:
Continue reading Minor update to pagebar plugin (v2.65)

It’s a real Casio!

IMG_2153-1Watches do have a a common problem: the good one’s are quite expensive and you don’t want to scratch them during daily handicrafts. The cheap one’s are kaputt after such a short time that buying them isn’t worth it.

This week a big German chain store offered a Casio F91-W for 9,99€. I couldn’t say no to this offer. This type of watch exists since 1991 and that cannot be a coincidence. If the watch is operable for on year I am happy but I hope that it will last longer. Let’s see what happens…

Show your desktop

I know loads of WordPress developers by name and have an idea how they look. What I also find interesting is the way people work. Do they use a laptop, how many monitors do they use and other stuf). Here’s my desktop (I’ve tidied it up before taking the image :-)):

desktop.small.1
Click image to enlarge)

The machine is an “ASRock Z77 Extreme” with an i5 3,4 GHz processor, 8 GB of RAM and a Radeon HD7770 graphics card.
I’ve got two 24″ Benq monitors and yes, that’s a TV on the left side. The keyboard is a good old “Windows Natural Pro” and the mouse an IntelliMouse.

Ramon Fincken (@ramonfincken) kidded me that I have only two monitors and sent me a picture of his setup:

ramonafincken-small

What a desktop! To cite him “if it’s worth doing .. it’s worth overdoing”.

(Update: Ramon tweeted his PC spces: 16GB RAM, AMD FX 8350 8core, 2x 256MB dual output asus video cards)

What does your desktop look like? Take a picture and blog about it!

New ideas for pagebar v3 – Part 2: Customization by Drag’n Drop

Though pagebar is quite customizable you can’t define the overall look. “Previous page” is always on the most left, followed by “First” and so on but maybe you want the elements in a different order. I’m not aware that any of the paging plugins provide this feature, pagebar hopefully will do so in the next major version. Continue reading New ideas for pagebar v3 – Part 2: Customization by Drag’n Drop

Ideas for pagebar v3 – Part 1: Direct page access

It’s time to think about version 3 of pagebar. In this series I try to explain what I am planning for this new major version and invite you to discuss my plans.

Part 1: Direct page access

I always wanted to add a fast and direct page selection. The easiest way would be to add a selection box containing all page numbers. This might work if you’re having about 10 pages but if your blog is really, really large, say about 300 pages, a select box with 300 numbers would be quite clumsy: Continue reading Ideas for pagebar v3 – Part 1: Direct page access

New version of pagebar released (v2.60)

As you can see in the title the new version of pagebar is not version 3.0 that I anticipated to release by this summer. Procrastination at its best!

1.

Instead I created another minor version with some features which are quite easy to implement. First there is a new default theme based on CSS3:

To activate the new layout you have to copy the included file pagebar.css to your current theme.

2.

I took the advice of Pippin and added some actions:

  • pagebar_before/pagebar_after (This action is executed before and after every kind of pagebar)

Additionally every bar has an action of its own:

  • postbar_before/postbar_after, commentbar_before/commentbar_after, multipagebar_before/multipagebar_after

3.

One of the main problems of the automagic insertion of postbbar was a second query in the sidebar displaying “Recent posts” that is used by many themes. Version 3.3 introduced a new function called “is_main_query” which enables the plugins to display the postbar only after the main main query. I hope this works for all themes because @toscho thinks that the function has some issues.

4.

Finally there is a new translation for pagebar: Romanian (ro_RO). I received the translation ages ago, excuses go to Web Geek Science

Links: