WordPress 4.4 and older themes – how to break backward compatibility

Since quite some time I was wondering why my blog suddenly does not display a title in the browser bar. Hmm, Of course I thought I broke something, but it turned out that this is a feature of a recent WordPress update. Mentioned in a blog entry on the development – or should I say, hidden there so that nobody knows about it – the changes stirred quite some reactions, not the least because a lot, if not all older themes, are suddenly broken. Congratulations WordPress developer to this great move.

wordpress-breaks-themes

So what has happened? Many themes use the wp_title function to ship out title tags. After a short period of deprecation WordPress developers instantiated the function, but in a way that it doesn’t work with older themes. Perfect. Continue reading

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author

Slick Google Map 0.3 released

I just have pushed a new version of the Slick Google Map plugin for WordPress to the servers. There are not many changes, but a crucial fix for parsing coordinates in DMS (degree-minute-second) format.

slick-google-map-logo

The documentation described that all kind of DMS formats can be used to specify a location, but these DMS encoded locations were sent to Google for geocoding. Unfortunately it seems Google is incapable of handling DMS formats, and returns slightly of coordinates. By using a library for DMS conversion, which I adapted slightly, it is now possible to use a wide variety of location formats. Practically everything that can reasonably interpreted as a location will be properly converted to decimal coordinates.

Plans for the next release are:

  • prepare for translation via the WordPress translation team
  • add html support for the marker text via uuencoding

Please see the dedicated page or the WordPress page for more details and downloads.

Enjoy.

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author

PiwigoPress release 2.31

I just pushed a new release of PiwigoPress (main page, WordPress plugin dir) to the WordPress servers. This release incorporates new features for the sidebar widget, and better interoperability with some Piwigo galleries.

piwigopress-logo

The new features are:

  • piwigopress-sortorderSelection of images: Up to now images for the widget were selected at random. The current version allows selecting images either at random (the default as before), but also in ascending or descending order by various criteria (uploaded, availability time, id, name, etc). With this change it is now possible to always display the most recent image(s) from a gallery.
  • Interoperability: Some Piwigo galleries don’t have thumbnail sized representatives. For these galleries the widget was broken and didn’t display any image. We now check for either square or thumbnail.

That’s all, enjoy, and leave your wishlist items and complains at the issue tracker on the github project piwigopress.

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author

PiwigoPress release 2.30

I just pushed a new release of PiwigoPress (main page, WordPress plugin dir) to the WordPress servers. This release incorporates some new features, mostly contributed by Anton Lavrov (big thanks!)

piwigopress-logo

The new features are:

  • Shortcode: multiple ids can be specified, including ranges (not supported in the shortcode generator)
  • Display of image name/title: in addition to the description, also the name/title can be displayed. Here three possible settings can be choosen: 0 – never show titles (default as before), 1 – always show titles, and ‘auto’ – show only titles that do not look like auto-generated titles. (supported in the shortcode generator)

I also checked that the plugin runs with the soon to be released WordPress 4.3, and fixed a small problem with the setting of ‘albumpicture’ not being saved.

That’s all, enjoy, and leave your wishlist items and complains at the issue tracker on the github project piwigopress.

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author

Localizing a WordPress Blog

There are many translation plugins available for WordPress, and most of them deal with translations of articles. This might be of interest for others, but not for me. If you have a blog with visitors from various language background, because you are living abroad, or writing in several languages, you might feel tempted to provide visitors with a localized “environment”, meaning that as much as possible is translated into the native language of the visitor, without actually translating content – but allowing to.

xili-languages1

In my case I am writing mostly in English and Japanese, but sometimes (in former times) in Italian and now and then in my mother tongue, German. Visitors from my site are from all over the world, but at least for Japanese visitors I wanted to provide a localized environment. This blog describes how to get as much as possible translated of your blog, and here I mean not the actual articles, because this is the easy part and most translation plugins handle that fine, but the things around the articles (categories, tags, headers, …). Continue reading

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author

PiwigoPress release 2.29

I just pushed a new release of PiwigoPress (main page, WordPress plugin dir) to the WordPress servers. This release incorporates lots of security related fixes by Rüdiger Schulz, bit thanks to him.

piwigopress-logo

PiwigoPress supported from the very beginning to load images from remote galleries. In the previous version I added support for loading the list of albums, too, from remote galleries. Rüdiger realized that the proxying mechanism used from the very beginning, and which I took over when I took maintainance of the plugin, is insecure in the sense that malicious plugins could use it to load more code. He has now implemented several fixes and security improvements, which gave me a great opportunity to learn about this.

Bottom line: no new features, just security improvements, and I also checked that the plugin runs with the soon to be released WordPress 4.2.

That’s all, enjoy, and leave your wishlist items and complains at the issue tracker on the github project piwigopress.

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author

PiwigoPress release 2.28

I just pushed a new release of PiwigoPress (main page, WordPress plugin dir) to the WordPress servers. This release fixes a long open bug.

piwigopress-logo

Some time ago I added the feature to download images from specific galleries, but this feature only worked out when the Piwigo installation was on the same server. Technical detail: I used JavaScript directly, and the call to the remote JSON interface was blocked by cross-site-scripting policy. By reusing code we had already and proxying the call through PHP, it is now possible (as it should have been from the very beginning!).

That’s all, enjoy, and leave your wishlist items and complains at the issue tracker on the github project piwigopress.

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author

Slick Google Map 0.2 released

I just have pushed a new version of the Slick Google Map plugin for WordPress to the servers. There are not many changes, but one that has been requested already in the ancestor, the Comprehensive Google Map Plugin, namely editing of saved shortcodes.

slick-google-map-logo

And although the layout of the edit button is not so nice (help wanted), it does its work.

Please see the dedicated page or the WordPress page for more details and downloads.

Enjoy.

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author

PiwigoPress release 2.27

I just pushed a new release of PiwigoPress (main page, WordPress plugin dir) to the WordPress servers. This release adds one feature requested on the support forums.

piwigopress-logo

The new feature allow to put html code just before and after the images included in the widget. This allows to add some specific formatting code to make the image rotate or align horizontally.

That’s all, enjoy, and leave your wishlist items and complains at the issue tracker on the github project piwigopress.

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author

PiwigoPress release 2.26

I just pushed a new release of PiwigoPress (main page, WordPress plugin dir) to the WordPress servers. This release adds two features requested on the support forums, and tweaks some details.

piwigopress-logo

The new features and fixes are:

  • A new parameter for widget and shortcode: opntype: ‘_blank’ (open in new window/tab) or ‘_self’ (open in same windows/tab) (Issue 10)
  • set alt parameter of images to ‘name’ (plus ‘comment’, if available) if the piwigo image (Issue 8)
  • make widget configuration background white instead of transparent for readability

That’s all, enjoy, and leave your wishlist items and complains at the issue tracker on the github project piwigopress.

Email this to someonePrint this pageShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInFlattr the author