Výchozí nastavení zobrazených informací (screen options)

Defaultní viditelnost či skrytí „zobrazených informací (screen options); metaboxů“:http://codex.wordpress.org/Administration_Screens#Screen_Options lze trvale – bez rozklikávání boxu – nastavit přidáním následujícího kódu do functions.php:

/—code php
// jak změnit, co je defaultně skryto
add_filter(‚default_hidden_meta_boxes‘, ‚be_hidden_meta_boxes‘, 10, 2);
function be_hidden_meta_boxes($hidden, $screen) {
if ( ‚post‘ == $screen->base || ‚page‘ == $screen->base )
$hidden = array(‚slugdiv‘, ‚trackbacksdiv‘, ‚commentstatusdiv‘, ‚commentsdiv‘, ‚authordiv‘, ‚revisionsdiv‘, ‚postcustom‘);
// zde odstraněno ‚postexcerpt‘, tzn. stručný výpis příspěvku,
// který bude nyní v editaci příspěvku viditelný stále
return $hidden;
}
\—

screen-options
screen-options

Je rovněž možné „odstranit některé metaboxy úplně“:http://pastebin.com/wsN2F8XS.

Potřebujete-li přidat pole ‚stručný výpis‘ i do administrace stránek, stačí do functions.php přidat

/—code php
add_post_type_support( ‚page‘, ‚excerpt‘ );
\—

Administrace příspěvků v kalendáři, spolupráce více autorů

**Editorial Calendar**
„http://wordpress.org/extend/plugins/editorial-calendar/“:http://wordpress.org/extend/plugins/editorial-calendar/

The editorial calendar gives you an overview of your blog and when each post will be published. You can drag and drop to move posts, edit posts right in the calendar, and manage your entire blog.

Ideální pro web s mnoha příspěvky.

„Demoverze »“:http://www.zackgrossbart.com/extras/sandbox/wp-login.php?redirect_to=http%3A%2F%2Fwww.zackgrossbart.com%2Fextras%2Fsandbox%2Fwp-admin%2Fedit.php%3Fpage%3Dcal&reauth=1

**Edit Flow**
„http://wordpress.org/plugins/edit-flow/“:http://wordpress.org/plugins/edit-flow/

Edit Flow empowers you to collaborate with your editorial team inside WordPress. We’ve made it modular so you can customize it to your needs.

[* http://s.wordpress.org/plugins/edit-flow/screenshot-1.jpg *]

Centrální správa více webů, aktualizace jádra, témat a pluginů plus zálohování

**Infinite WP**
„http://infinitewp.com/“:http://infinitewp.com/

Z jediného administračního rozhraní spravujete libovolný počet webů, které mohou být umístěny na jiných webserverech, než administrační rozhraní. Vyžaduje ale safe_mode OFF, což ne každý hosting podporuje.
Na klientských webech je třeba před přidáním do administrace nainstalovat „klientský plugin IWP“:http://wordpress.org/plugins/iwp-client/.
Pak už jen monitorujete, zálohujete/obnovujete, aktualizujete, přidáváte příspěvky. Vše pohodlně z jediného místa.

*Alternativy*

**WP Remote**
„https://wpremote.com/“:https://wpremote.com/

WP Remote provides a single place to monitor and update all of your WordPress sites. It handles updates to installed plugins and themes remotely via the WP Remote website and provides quick access to core updates. It can also create full off-site backups.

It is a tool for managing site version updates and backups; you cannot make any kind of editorial changes such as updates to site content, users, settings etc. It does not currently create automatic backups although this is planned.

It consists of two parts, a website interface allowing you to log in and manage all of your sites and a plugin that is installed on each site. The plugin installation can be done via the WP Remote website and it is aimed at developers and users with multiple WordPress sites.

*Track all your sites*
There is no limit to the number of sites you can add to WP Remote, sites can be organised into groups and quickly searched.

*Keep up to date*
Core WordPress updates. Plugin Updates. Theme Updates.

*Daily backups*
Your whole site is backed up once per day, backup files are stored on Amazon S3.

*ithemes sync*
„https://ithemes.com/sync/“:https://ithemes.com/sync/
Manage updates (and more) for your WordPress sites all in one place. Manage 10 sites, 5 plugins, 2 themes for free!

*Main WP*
„https://wordpress.org/plugins/mainwp/“:https://wordpress.org/plugins/mainwp/
„https://mainwp.com/“:https://mainwp.com/
Manage WP sites from one central location! Much more than just updates, get nearly complete control of all your sites from your self-hosted Dashboard.

Správa několika webů nebo jazykových verzí v multisite instalaci

With multisite installation you can set up multiple blogs that share the same WordPress files, DB, plugins, themes.

Protože „WPML plugin“:https://wordpresso.ovx.cz/vicejazycny-web/ pro jazykové verze webů je nadále už k dispozici jen v komerční verzi, a u starších verzí WPML na posledních verzích WordPressu jsme zaznamenali problémy (např. zdvojování části URL), hodí se *multisite* instalace velmi dobře například jako náhrada WPML pro provoz jazykových verzí.
Použito (mj.) na webu „opavské jazykové školy Primalingua“:http://www.primalingua.cz/.

To wp-config.php file add line:

/—code php
define(‚WP_ALLOW_MULTISITE‘, true);
\—

In your Tools menu in the left sidebar, you’ll now see the **Network Setup** item. Click on that and then go to **Create a Network of WordPress Sites**. Follow the directions and choose a few options such as the URL structure and network name.

You’ll then be prompted to make a blogs.dir directory in /wp-content and it will provide several more lines of code to add to the wp-config.php file.

It will also tell you to add some rules to .htaccess, a server text file used to work with permissions and configurations for each directory.

When you log into the Network Admin, you’ll now see a **My Sites** item, where you can manage all the network sites. Hover over that, and under “Network Admin”, there will be several administration items. When you click on **Sites**, you can add new sites with the click of a button!

A WP network can manage any number of sites on different domains, sub-domains or paths. However, they must all reside on the same server.

**Klonování existujícího webu v síti**

– zazálohovat celou db
– založit skrz networkmanagera nový site
– zjistit prefixy tabulek té nové verze (wp_n+1)
– dumpnout databázi stávající verze (wp_n)
– nahradit v dumpu prefixy (wp_n > wp_n+1), ev. url (example.old > example.new)
– smazat tabulky nově vytvořené verze (wp_n+1)
– naimportovat replácnuté a přejmenované tabulky (wp_n+1)
– změnit siteurl ve wp_n+1_options na nové
– změnit nastavení jazyka (resp. siteurl) ve wp-admin/network/sites.php
– přiřadit nové verzi existující adminy

*a nebo – pohodlněji – s pomocí pluginu:*

**NS Cloner – Site Copier**
„https://wordpress.org/plugins/ns-cloner-site-copier/“:https://wordpress.org/plugins/ns-cloner-site-copier/

The NS Cloner saves multisite admins LOTS of time by enabling them to clone existing sites in their network to a completely new site in a few seconds.

**Související:**

„WordPress MU Domain Mapping“:http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

This plugin allows users of a WordPress MU site or WordPress 3.0 network to map their blog/site to another domain.

„How to Get More From WordPress With Multisite Blogs (Network Install) »“:http://www.1stwebdesigner.com/tutorials/wordpress-multisite-blogs/

**WordPress Multisite Without a Domain Mapping Plugin**

You don’t need to use the domain mapping plugin if you are planning on running a WordPress Multisite with top-level domains and/or sudomains. WordPress allows you to change the domain from a sub-domain to a top level domain once you have added the site.

[* http://konstruktors.com/wp-content/uploads/2013/02/wordpress-multisite-top-level-domains-500×353.png *]

The only important thing is to set the COOKIE_DOMAIN to an empty string in your wp-config.php:

/—code php
define(‚COOKIE_DOMAIN‘, “);
\—

Otherwise WordPress will always set it to your network’s $current_site->domain and you won’t be able to login into any of the other sites.

„Zdroj »“:http://konstruktors.com/blog/wordpress/4510-wordpress-multisite-without-domain-mapping/

Vlastní sekce s nápovědou v administraci – plugin WP Help



Možnost vytvoření samostatné sekce, do níž umístíte vlastní verzi nápovědy, tj. kupříkladu cosi jako FAQ pro vaše redaktory, nabízí plugin „WP Help“:http://wordpress.org/extend/plugins/wp-help/.

Po aktivaci se vytvoří v submenu Nástěnky sekce Publishing Help, do níž lze hezky strukturovaně vypsat různá sdělení. Vypisují se de facto stejným způsobem jako klasické příspěvky (nový příspěvek se přidává tlačítkem Add new nahoře).
Jakým způsobem plugin …

Uživatelský rozměr obrázku a jeho přidání do administrace

WordPress doesn’t show custom image size options in the media lightbox, but you can add them using an attachment_fields_to_edit filter. The below will add options for all the custom image sizes you have defined.

/—code php

add_theme_support( ‚post-thumbnails‘ );
add_image_size( ‚custom_size_image‘, 80, 80 );

add_filter(‚attachment_fields_to_edit‘, ‚my_attachment_fields_to_edit_filter‘, 100, 2);

function my_attachment_fields_to_edit_filter($form_fields, $post) {
if (!array_key_exists(‚image-size‘, $form_fields)) return $form_fields;

global $_wp_additional_image_sizes;
foreach($_wp_additional_image_sizes as $size => $properties) {
if ($size == ‚post-thumbnail‘) continue;

$label = ucwords(str_replace(‚-‚, ‚ ‚, $size));
$cssID = „image-size-{$size}-{$post->ID}“;

$downsize = image_downsize($post->ID, $size);
$enabled = $downsize[3];

$html = ‚‚ . $label . ‚‚;
if ($enabled) $html .= ‚ ‚;
$form_fields[‚image-size‘][‚html‘] .= ‚

‚ . $html . ‚

‚;
}

return $form_fields;
}
\—

„Zdroj »“:http://stackoverflow.com/questions/5032906/how-can-i-add-custom-image-sizes-to-wordpress-but-have-them-in-the-admin

Editace různých oblastí na stránce

**Page.ly MultiEdit**
„http://wordpress.org/extend/plugins/pagely-multiedit/“:http://wordpress.org/extend/plugins/pagely-multiedit/
„http://blog.page.ly/multiedit-plugin/“:http://blog.page.ly/multiedit-plugin/

MultiEdit adds tinyMCE editable content „blocks“ to WordPress custom page templates.

[* http://pagelyblog.presscdn.com/wp-content/uploads/2010/02/multiedit.gif 630×616 *]

Správa několika WP webů z jednoho místa

**ManageWP Worker**
„http://wordpress.org/extend/plugins/worker/“:http://wordpress.org/extend/plugins/worker/
„http://managewp.com/“:http://managewp.com/

ManageWP is a revolutionary plugin that allows you to manage multiple WordPress blogs from one dashboard.

Main features:

– Secure! No passwords for sites required, uses OpenSSL encrypted protocol
– One click upgrades of WordPress, plugin and themes across all your sites
– One click to access administration dashboard for any site
– Bulk publish posts to multiple sites at once
– Bulk upload themes and plugins to multiple sites at once
– Automatic backups of your sites
– Clone one site to another
– Much, much more…

Změna z příspěvků na stránky nebo naopak

**Vice Versa**
„http://wordpress.org/extend/plugins/vice-versa/“:http://wordpress.org/extend/plugins/vice-versa/

Vice Versa allows you to easily convert WordPress Posts to Pages and Pages to Posts. You can also assign a Page or Post a parent or category(s) as you are converting from one to the other. Vice Versa is easy to install and use. No database tables are affected during installation and there are no additional settings required for the Vice Versa to work.