Jak deaktivovat pluginy mimo administrační rozhraní

If you installed the wrong plugin (usually unsupported or mis-configured but also malicious plugins) and got the dreaded blank screen of death with errors, don’t panic. Even though the Admin panel may not work, there’s still a emergency solution by executing one simple query in the database.
Simply execute this SQL query (perhaps through PHPMyAdmin):

/—code php
// WP 2.9 and earlier
UPDATE wp_options SET option_value = “ WHERE option_name = ‚active_plugins‘;

// WP 2.9 and later:
UPDATE wp_options SET option_value = ‚a:0:{}‘ WHERE option_name = ‚active_plugins‘;
\—

Alternatively, if it’s not possible to change the database, **you can also simply rename the /wp-content/plugins/ folder to disable all plugins**.
This will disable all plugins in the WordPress installation. Rename it back after.
You just have to go back and enable all the working plugins and deleting the non-functional one.

Úprava administračního rozhraní prostřednictvím functions.php

**Vlastní logo na nástěnce**

/—code php
// hook the administrative header output
add_action(‚admin_head‘, ‚my_custom_logo‘);

function my_custom_logo() {
echo ‚

‚;
}
\—

**Změna obsahu patičky**

/—code php
function change_footer_admin () {
echo ‚Pohání: WordPress | Vytvořeno: OVX.cz‚;
}

add_filter(‚admin_footer_text‘, ‚change_footer_admin‘);
\—

**Přidání vlastních odkazů**

/—code php
function mytheme_admin_bar_render() {
global $wp_admin_bar;
$wp_admin_bar->add_menu( array(
‚parent‘ => ‚new-content‘, // use ‚false‘ for a root menu, or pass the ID of the parent menu
‚id‘ => ‚new_media‘, // link ID, defaults to a sanitized title value
‚title‘ => __(‚Media‘), // link title
‚href‘ => admin_url( ‚media-new.php‘), // name of file
‚meta‘ => false // array of any of the following options: array( ‚html‘ => “, ‚class‘ => “, ‚onclick‘ => “, target => “, title => “ );
));
}
add_action( ‚wp_before_admin_bar_render‘, ‚mytheme_admin_bar_render‘ );
\—

„Různé úpravy administrační lišty »“:http://digwp.com/2011/04/admin-bar-tricks/

Slideshow v záhlaví

**Meteor Slides**
„http://wordpress.org/extend/plugins/meteor-slides/“:http://wordpress.org/extend/plugins/meteor-slides/

Meteor Slides makes it simple to create slideshows with WordPress by adding a custom post type for slides.

[* http://s.wordpress.org/extend/plugins/meteor-slides/screenshot-3.jpg?r=344999 *]

[* http://s.wordpress.org/extend/plugins/meteor-slides/screenshot-6.jpg?r=344999 *]

*Alternativy:*

„Top 10 Content Slider Plugins for WordPress »“:http://speckyboy.com/2010/06/30/top-10-content-slider-plugins-for-wordpress/

Údržba systému a databáze

**WP-Sweep**
„https://wordpress.org/plugins/wp-sweep/“:https://wordpress.org/plugins/wp-sweep/

WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.
Autorem tohoto pluginu je Lester Chan, což je určitou zárukou kvality.

*Alternativy*

**WP CleanFix**
„http://wordpress.org/extend/plugins/wp-cleanfix/“:http://wordpress.org/extend/plugins/wp-cleanfix/

WP CleanFix is a management tool for for check, repair, fix and optimize your WordPress blog. The Ajax interface allow to manage all status in one only page!

FEATURES

– Database Tables optimization
– Check/Remove for unused UserMeta
– Check/Remove for Post Revision and Trash
– Check/Remove for unused Post Meta
– Check/Remove for unused Tags
– Check/Remove/Relink for Posts without Authors
– Check/Remove/Relink for Pages without Authors
– Check/Remove for Attachments without Post/Page
– Check/Remove for unused Categories
– Check/Remove for unlink Categories (terms)
– Check/Remove for unlink Categories Taxonomy
– Check/Remove for unapproved and Trash comments
– Check/Remove for spam comments
– Find & Replace on Posts Content
– Find & Replace on Comments Content
– WordPress MU compatibility
– English/French/Italian Localization
– Added Bubble repair count on item menu

„10 Quick Ways to Clean Up and Optimize Your WordPress Site »“:http://premium.wpmudev.org/blog/clean-up-optimize-wordpress/

Tiketovací systém

**Support Tickets**
„http://ideasilo.wordpress.com/2009/10/28/support-tickets/“:http://ideasilo.wordpress.com/2009/10/28/support-tickets/
„http://wordpress.org/extend/plugins/support-tickets/“:http://wordpress.org/extend/plugins/support-tickets/

This is a plugin that allows you to have a ticket system (for customer service on your website). This way the users can send you a ticket with the issues that they are having, helping you avoid situations when you cannot keep track of requests and questions through tons of emails that may get sent to your spam folder. This was actually based on Contact Form 7 made by the same developer. It also has multilingual support for customers/users that may be located in various areas of the world.

*Alternativy:*

**WP-IssueTracker**
„http://wordpress.org/extend/plugins/wp-issuetracker/“:http://wordpress.org/extend/plugins/wp-issuetracker/

WP-IssueTracker is a full (yet basic) issue tracking system to plug right in your WordPress powered site! Operating an issue tracking system has never been this easy!

**WordPress Advanced Ticket System (50,- €)**
„http://wordpress.org/extend/plugins/wats/“:http://wordpress.org/extend/plugins/wats/
„WordPress Advanced Ticket System“:WordPress Advanced Ticket System

WATS (also known as WordPress Advanced Ticket System) is another plugin with ticket submission that turns your WordPress site into its own little CRM. In the backend, there’s an administration panel which has the ticket submission module, and the front end has associated pages creation. A little more advanced than the “Support Tickets” plugin if you are looked for extra ‘oomph’…I guess you would say.

Čištění databáze po pluginech

**Plugins Garbage Collector**
„http://wordpress.org/extend/plugins/plugins-garbage-collector/“:http://wordpress.org/extend/plugins/plugins-garbage-collector/
„http://www.shinephp.com/plugins-garbage-collector-wordpress-plugin/“:http://www.shinephp.com/plugins-garbage-collector-wordpress-plugin/

Plugin maps tables and entries created by plugins in your database. It also shows you which ones are used by which plugin and whether this plugin is active, inactive or deleted, so you can decide if you want to keep or delete those tables.

Různá šablona pro různé příspěvky

**Custom Post Template**
„http://wordpress.org/extend/plugins/custom-post-template/“:http://wordpress.org/extend/plugins/custom-post-template/

Provides a drop-down to select different templates for posts from the post edit screen. The templates are defined similarly to page templates, and will replace single.php for the specified post. This plugin will NOT switch the templates for the different posts in a listing page, e.g. a date or category archive, it will only affect the template used for single posts (i.e. you can choose a template which is not single.php).

Uživatelské widgety pro různé stránky a příspěvky

The **Shiba Widgets plugin** allows you to assign different widgets to different posts, pages, categories, or tags. You can create different widget sets using the standard WordPress widget interface, and then assign these widget sets from a drop-down menu in your edit post, page, category or tag screens.

To retrieve your lost widgets, go into Appearance >> Widget Options and check the Show Lost Widgets box. When you edit widget sets, all unassigned widgets will show up at the bottom of the interface.

„Popis a plugin ke stažení »“:http://shibashake.com/wordpress-theme/wordpress-custom-widgets-plugin

*Alternativa:*

**Widget Logic**
„http://wordpress.org/extend/plugins/widget-logic/“:http://wordpress.org/extend/plugins/widget-logic/

Widget Logic lets you control on which pages widgets appear. It uses any of WP’s „conditional tags“:http://codex.wordpress.org/Conditional_Tags. It also adds a ‚widget_content‘ filter.
This plugin gives every widget an extra control field called „Widget logic“ that lets you control the pages that the widget will appear on.

The text field lets you use WP’s „Conditional Tags“:http://codex.wordpress.org/Conditional_Tags, or any general PHP code.

Jak přidat tagy ke stránkám nebo stránky zařadit do rubriky

Možnost tagování stránek docílíme zaregistrováním příslušných *post_tag* a *category* taxonomií prostřednictvím funkce „register_taxonomy_for_object_type function“:http://codex.wordpress.org/Function_Reference/register_taxonomy_for_object_type:

/—code php
// Add to the admin_init hook of your theme functions.php file
register_taxonomy_for_object_type(‚post_tag‘, ‚page‘);
register_taxonomy_for_object_type(‚category‘, ‚page‘);
\—

která rovněž zobrazí příslušné metaboxy pro přidávání tagů a zařazení stránky do rubriky v administraci.

[* http://wordpress.shibashake.com/wp-content/uploads/2010/09/add-wordpress-tags-categories2-520×325.jpg *]

Abychom pak stránku v rámci přiřazené rubriky či tagů (štítků) zobrazili, přidáme do *functions.ph* filtr:

/—code php
// Add to the init hook of your theme functions.php file
add_filter(‚request‘, ‚my_expanded_request‘);

function my_expanded_request($q) {
if (isset($q[‚tag‘]) || isset($q[‚category_name‘]))
$q[‚post_type‘] = array(‚post‘, ‚page‘);
return $q;
}
\—

ev. pluginem **Tag Pages**
„http://wordpress.org/plugins/tag-pages/“:http://wordpress.org/plugins/tag-pages/

This plugin adds the ‚post_tag‘ taxonomy to the Page post type. This enables the tags metabox in the New or Edit Page interface. To show tagged Pages on a tags archive page or in a feed, it uses the ‚pre_get_posts‘ hook to change the post_type query parameter to ‚any‘.

Chat / instant messenger

**ConverseJS**
„https://wordpress.org/plugins/conversejs/“:https://wordpress.org/plugins/conversejs/

Converse.js is an open source webchat client, that runs in the browser and can be integrated into any website.
It’s similar to Facebook chat, but also supports multi-user chatrooms.

*Alternativy:*

**Cartpauj PM**
„http://wordpress.org/extend/plugins/cartpauj-pm/“:http://wordpress.org/extend/plugins/cartpauj-pm/
„http://cartpauj.com/projects/cartpauj-pm-plugin/“:http://cartpauj.com/projects/cartpauj-pm-plugin/

Cartpauj PM will allow you to easily add a Private Messaging system to your WordPress blog/site. Unlike the other Private Messaging plugins available, Cartpauj PM works through a Page rather than the WP Dashboard. This is very helpful if you want to keep users out of the Dashboard area! Please see the features list below for more about what Cartpauj PM can do. You can demo the plugin here on my site by logging in and sending me a message.

**Live Chat**
„http://wordpress.org/extend/plugins/wp-live-chat-software-for-wordpress/“:http://wordpress.org/extend/plugins/wp-live-chat-software-for-wordpress/

LiveChat is a fast and intuitive live chat software to enable your sales representatives contact customers on the website. Help online visitors find what they need before they leave your site.

– Increase sales conversion rate and customer satisfaction level.
– Allow customers to chat live with the sales person.
– Increase number of successful transactions.
– Secure and reliable communication channel.
– Easy to customize and rebrand chat window. Out-of-the-box chat window templates.

**WP Chat**
„http://wordpress.org/extend/plugins/wp-chat/“:http://wordpress.org/extend/plugins/wp-chat/

WP Chat embeds Jaxl IM which is a simple easy to use communicator for websites with Instant Messaging, Social Networking and Sharing capabilities.
Jaxl IM is a simple easy to use communicator for websites with Instant Messaging, Social Networking and Sharing capabilities.

1. No hardware/software pre-requisite required
2. Compatible with all websites and frameworks
3. Setup by simple copy/paste of javascript code
4. Hosted dashboard for site admins and visitors
5. Customize look and feel using various skins
6. Enhance chat experience using plugins

**Banckle Live Chat**
„http://wordpress.org/extend/plugins/banckle-live-chat-for-wordpress/“:http://wordpress.org/extend/plugins/banckle-live-chat-for-wordpress/

Through Banckle Live Chat Plugin, you can effectively communicate and conduct live chat sessions with the visitors of your WordPress website.

**Pure Cat“
„https://wordpress.org/plugins/pure-chat/“:https://wordpress.org/plugins/pure-chat/
„https://www.purechat.com/“:https://www.purechat.com/

A Personal Chat Page is a customizable, one-page website hosted by Pure Chat, where people can live chat with you. A web app that makes it easy for website owners to chat with their visitors from anywhere! When users create an account and activate our simple, lightweight Pure Chat plugin for WordPress, they’ll be able to design fully-customized chat widgets that automatically appear on their site.

Free up to 15 chats per month.