Archive for the ‘wp’ Category

Add download funtionality to Royal PrettyPhoto plugin

June 15, 2017

A way to extend Royal prettyPhoto plugin to support download image functionality is via Javascript.

Just put the following lines into the functions.php of your theme file.

 * Adds download functionality to prettyPhoto plugin
 * @author lenasterg
function ls_prettyPhoto_Download() {
 echo '<style>.pp_download{ background: #ccc; border-radius: 3px; height: 25px; padding: 4px;}</style>

jQuery(document).ready(function() {
 changepicturecallback: function(){
 $getit= settings.image_markup.replace(/{path}/g,pp_images[set_position]);
 jQuery(".pp_pic_holder").find(\'.pp_details .pp_download_place\').html(\'Download\');


You can download the above code also from gist:


Build it with Show it in your WordPress site

January 5, 2016

icon-256x256With Scratch (, you can program your own interactive stories, games, and animations – and share your creations with others in the online community. Scratch helps young people learn to think creatively, reason systematically, and work collaboratively – essential skills for life in the 21st century.

Now, with LS oEmbed support for Scratch Mit  you can just copy-paste the URL from a scratch project into the content area of a post or page
and it will by transformed to oEmbed.

This oEmbed functionality was initial build for the Greek Schools Network blogging platform ( and now it is available for all via the WordPress repository in

The plugin is a useful addon for educational WordPress sites.

WordPress 4.4 “Clifford” – Fully translated in more than 40 languages

December 9, 2015

At you can read all the new features version 4.4. has to make your site more connected and responsive.

Also this version is already available in more than 40 languages (if you count all English “versions” too).

Among them is also the Greek version!!! I’m so proud to be part of the Greek translation team

Thanks to all teammates and our editors ♥ ♥ ♥



The Greek Schools’ Network goes (more) WordPress – Its 1st plugin is here

July 24, 2015

The Greek Schools’ Network (GSN – is the educational intranet of the Ministry of Education, which interlinks all Greek schools and provides high quality electronic services.

Among other services (such as blogging platforms), it allows teachers, schools to upload and share videos and slideshows using the and sites.

Now we go a step further.

Its 1st WordPress plugin Commons plugin. adds oEmbed support in WordPress posts, pages and custom post types for videos, presentations etc from the, sites of Greek Schools Network. There are no settings.

Simply, add the URL in your content editor. Just paste the given “Απευθείας σύνδεσμος” link from the “Κοινοποίηση” section of a video from into the content area and it will by transformed to oEmbed into your post, page or custom post type.

You can find the Commons into the repository

Copy the url from a video

Paste a simple url in post

The resulted embed video from into the post.

Embed SlideSnack presentation into your wordpress post with LS Snacktools plugin

July 24, 2015 is a great presentation sharing tool that enables you to easily upload and share presentations online.
But there was a small “gap” if you wanted to embed your presentation into a WordPress site. You had to use iframe.  NOT any more.

With the LS Snacktools plugin you can just copy-paste the given “Link to this post” from into the content area and it will by transformed to oEmbed into your post, page or custom post type.

You can find the LS Snacktools plugin in the repository:

A very useful article on correct plugin development

August 1, 2014

Found it in–cms-21013

and it is really usefull

External Group RSS tab extension plugin

September 20, 2013

For a Buddypress installation of mine, I needed to add external rss feeds to groups. There is a great plugin for this work called BP External Group Blogs ( Don’t let the name fool you, it supports RSS feed from every source, not just blogs. The plugin give group creators and administrators to attach external RSS feeds to groups. The posts appear within the activity stream for the group.

But I also needed a separate group tab to display those external posts (like the documents tab). So I made a simple extension plugin which does exactly that.

The plugin is called External Group RSS tab extension and you can downloaded from





Create a Custom WordPress Plugin From Scratch

January 14, 2011

Nice tutorial from Cristian Lupu on Jan 20th 2009

%d bloggers like this: