November 22, 2011 0

Vector world map

By in illustration, vector

Tags: ,

November 21, 2011 0

Backup your WordPress to DropBox

By in plugin, wordpress

Backup your blog to DropBox with this plugin.

Tags: ,

November 18, 2011 0

Clean Web Studio wallpaper

By in graphics, graphics, portfolio

Download link

November 18, 2011 0

Hangtapasz logo with flames

By in graphics, portfolio

 

March 13, 2011 0

AllMyFonts – Thousands of free fonts

By in fonts

Here is a collection of 128,592 true type fonts (TTF) that are 100% compatible with practically any operating system in the market. All this fonts are available here for free and you can preview them before downloading and you can even define a custom preview string to see if the selected font suit your needs. You don’t need to register to download anything from here. I hope you enjoy using this service.

Tags: ,

November 13, 2010 0

How to display gallery or album names in title with NextGEN Gallery

By in wordpress

I have recently finished a WordPress project using NextGEN gallery plugin. With this great gallery managment plugin, you can quickly create highly customizable picture galleries for blogs. Only one thing is confusing for me: on the gallery/album pages this plugin transforms the page title to “Album 1″,”Gallery 1 ” etc. altough my gallery names is different.

I have found a solution for this case:

Edit “lib/rewrite.php” in the plugins directory at line about 198. This is the function generating the title.

The end of the funtion must like this. This will display the gallery name in the title:

//$title = $new_title . $title;
global $wpdb;

$nggalleryinfo = $wpdb->get_row("SELECT * FROM $wpdb->nggallery WHERE gid = '$gallery' ");
if(!empty($nggalleryinfo->title)) {
$new_title = $nggalleryinfo->title.' > ';
$title = $new_title . $title;
}
return $title;

If need the album name too, then use this code:

//$title = $new_title.$title;
global $wpdb;
$ngalbuminfo = $wpdb->get_row("SELECT * FROM $wpdb->nggalbum WHERE id = '$album' ");
$nggalleryinfo = $wpdb->get_row("SELECT * FROM $wpdb->nggallery WHERE gid = '$gallery' ");
if(!empty($ngalbuminfo->name)) {
$new_title = $ngalbuminfo->name.' > ';
$title = $new_title . $title;
}
if(!empty($nggalleryinfo->title)) {
$new_title = $nggalleryinfo->title.' > ';
$title = $new_title.$title;
}

return $title;

Tags: , , , ,

November 12, 2010 0

Web Designers vs Web Developers

By in graphics, illustration, infographics

Tags: , ,

March 20, 2010 0

The Guide to Guerrilla Freelancing ebook for free!

By in ebook, free tools, freelancing

Tags: , ,

March 19, 2010 0

Some E-Commerce Icons All In One Place

By in free tools, graphics, icons, quick link

Tags: , ,

March 18, 2010 0

Free vector shoping bags

By in free tools, quick link

Cool shopping bag graphics at Airopa:

Tags: ,