Přidání vodoznaku do nahrávaného obrázku

Plugin Watermark RELOADED přesněji řečeno přidá do nově nahraného obrázku na určenou pozici libovolný text, který například poslouží k uvedení copyrightu.

Mnohým to může velmi usnadnit práci, text ve zvolené barvě, pozici a jednom z nabízených klasických fontů i velikosti, se při nahrání vloží do vybraného typu obrázku (zvlášť či kompletně od thumbnailu až po […]

Články o WordPressu, které stojí za pozornost

Stále častěji se setkávám s články o WordPressu, které zaujmou moji pozornost, informaci o nich většinou dám třeba na facebook, a tím to končí. Ti, kdo facebook nesledují, se o nich tudíž nedozví. Tady na webu se snažím jet po své vlastní linii, takže na podobné články upozorňuji spíše zřídka, ani dané téma neduplikuji, když […]

Kontrola kompatibility pluginů před aktualizací

Stává se, že po aktualizaci WordPressu na jeho nejnovější verzi zjistíte, že některé z instalovaných pluginů již nejsou funkční. A to může způsobit velké nepříjemnosti.

S pluginem myPluginSafeUpgrade jedním kliknutím po jeho aktivaci u velké části pluginů ověříte, s jakou verzí WordPressu jsou kompatibilní. A to je výhodné zjistit předtím než začnete s aktualizací […]

Filtrování podle několika tagů současně

Sk Multi Tag
http://wordpress.org/extend/plugins/sk-multi-tag/
http://www.skipstorm.org/2009/06/sk-multi-tag/

This plugin adds a tag cloud widget where you can select multiple tags at once.

Implementováno na tomto webu.

Úpravy:

V editaci pluginu lze nastavit jednotnou velikost tagů zobrazených v cloudu a doplnit do definičního pole cloudu oddělovač tagů. Roletka s tagy přidána pomocí funkcí vzhledu

*Alternativy*

MultiTags
http://wordpress.org/extend/plugins/multitags/
http://www.vogel-nest.de/wp_multitags_plugin

Odstranění rubriky z url

WP No Category Base
http://wordpress.org/extend/plugins/wp-no-category-base/
http://wordpresssupplies.com/wordpress-plugins/no-category-base/

This plugin will completely remove the mandatory ‚Category Base‘ from your category permalinks ( e.g. myblog.com/category/my-category/ to myblog.com/my-category/ ).

Implementováno na tomto webu.

*Alternativa*

No category parents
http://wordpress.org/extend/plugins/no-category-parents/

This plugin will completely remove the mandatory ‚Category Base‘ and all the parents from your category permalinks (e.g. /category/parent-category/my-category/ to /my-category/).

Odstranění rubriky z URL lze dosáhnout i zápisem v souboru .htaccess:


RewriteRule ^category/(.+)$ http://www.yourblog.com/$1 [R=301,L]

Případně:


// Remove category base
add_filter('category_link', 'no_category_parents',1000,2);
function no_category_parents($catlink, $category_id) {
    $category = &get_category( $category_id );
    if ( is_wp_error( $category ) )
        return $category;
    $category_nicename = $category->slug;

    $catlink = trailingslashit(get_option( 'home' )) . user_trailingslashit( $category_nicename, 'category' );
    return $catlink;
}

// Add our custom category rewrite rules
add_filter('category_rewrite_rules', 'no_category_parents_rewrite_rules');
function no_category_parents_rewrite_rules($category_rewrite) {
    //print_r($category_rewrite); // For Debugging

    $category_rewrite=array();
    $categories=get_categories(array('hide_empty'=>false));
    foreach($categories as $category) {
        $category_nicename = $category->slug;
        $category_rewrite['('.$category_nicename.')/(?:feed/)?(feed|rdf|rss|rss2|atom)/?$'] = 'index.php?category_name=$matches[1]&feed=$matches[2]';
        $category_rewrite['('.$category_nicename.')/page/?([0-9]{1,})/?$'] = 'index.php?category_name=$matches[1]&paged=$matches[2]';
        $category_rewrite['('.$category_nicename.')/?$'] = 'index.php?category_name=$matches[1]';
    }
    // Redirect support from Old Category Base
    global $wp_rewrite;
    $old_base = $wp_rewrite->get_category_permastruct();
    $old_base = str_replace( '%category%', '(.+)', $old_base );
    $old_base = trim($old_base, '/');
    $category_rewrite[$old_base.'$'] = 'index.php?category_redirect=$matches[1]';

    //print_r($category_rewrite); // For Debugging
    return $category_rewrite;
}

// Add 'category_redirect' query variable
add_filter('query_vars', 'no_category_parents_query_vars');
function no_category_parents_query_vars($public_query_vars) {
    $public_query_vars[] = 'category_redirect';
    return $public_query_vars;
}
// Redirect if 'category_redirect' is set
add_filter('request', 'no_category_parents_request');
function no_category_parents_request($query_vars) {
    //print_r($query_vars); // For Debugging
    if(isset($query_vars['category_redirect'])) {
        $catlink = trailingslashit(get_option( 'home' )) . user_trailingslashit( $query_vars['category_redirect'], 'category' );
        status_header(301);
        header("Location: $catlink");
        exit();
    }
    return $query_vars;
}

The RSS feeds, however, don’t seem to work with this shorter url, and still require the long-form url. (Not sure if there’s a fix for that.) Also, it doesn’t change the post permalink. It’s just the category permalink that changes. Paste the code below into your functions.php file.

Zobrazování polí v administraci

CMS Post Control
http://wp-cms.com/our-wordpress-plugins/post-control-plugin/
http://wordpress.org/extend/plugins/wp-cms-post-control/

Gives you complete control over your write controls. It not only allows you to hides unwanted items like custom fields, trackbacks, revisions etc. but also gives you a whole lot more control over how WordPress deals with creating content! This helps you use WordPress more like a CMS, alowing you to totally customise what your authors see and use.

Editace stránek přímo na webu

Front-end Editor
http://scribu.net/wordpress/front-end-editor
http://wordpress.org/extend/plugins/front-end-editor/

A WordPress plugin that enables “edit in place” functionality on your site. Compatible with any theme.
Allows to edit the posts from front-end, through some kind of Ajax interface. To use it, just double click the post or title area and inline text editor will appear where you can edit the post directly without going into the admin panel. Great for fixing typos.