Práce s formáty příspěvků

Post Formats are not the same as Custom Post Types. WordPress has five major default Post Types (Post, Page, Attachment, Revision and Nav Menu) and in the release of WordPress 3.0, we were given the ability to register our own types, e.g. Podcast, Book, Gallery etc. These new types appear separately within WordPress admin panel and are independent “channels” of content.

In contrast Post Formats are applied to the Post Post Type and add an additional piece of information that can then be used for formatting on a per post basis.

Více »

Spammer Blocker je na světě již celý rok

Před rokem, dne 27. 5. 2010, jsem do repozitáře WordPressu nahrál první verzi svého pluginu Spammer Blocker. SB byl již třetím pluginem v pořadí, na kterém jsem tehdy pracoval a tříbil si své znalosti PHP. Na rozdíl od mých prvních dvou pluginů, jejichž vývoj jsem dávno pozastavil (Validation Helper a Extra Security), se Spammer Blocker […]

CRM na šabloně TwentyTen

TwentyTen CRM
http://www.billerickson.net/twentyten-crm/

TwentyTen CRM is a child theme for TwentyTen specifically designed as a Customer Relationship Management tool. It creates a series of taxonomies and custom meta boxes to collect relevant data, displays the data in a useful Dashboard page template, features a Download page template that can be used to copy/paste all the data to Excel for more advanced analysis, and is easily customized to your specific needs. Oh, and it’s free.

Nastavení úrovně přístupu v pluginech

Almost every plugin needs to have at least one page in the admin area to let users customize how the plugin is used. In order to do this, you need to add your own administration menu items. There are a bunch of WordPress functions which let you do this:


// add top level menu
add_menu_page(page_title, menu_title, capability, handle, [function], [icon_url]);
 
// add sub-menu pages
add_submenu_page(parent, page_title, menu_title, capability, file/handle, [function]);
 
// add Options sub-menu
add_options_page(page_title, menu_title, capability, handle, [function]);
 
// add Management sub-menu
add_management_page(page_title, menu_title, capability, handle, [function]);
 
// add Pages sub-menu
add_pages_page( page_title, menu_title, capability, handle, [function]);
 
// add Posts sub-menu
add_posts_page( page_title, menu_title, capability, handle, [function]);
 
// add Appearances sub-menu
add_theme_page( page_title, menu_title, capability, handle, [function]);

Více informací viz
Ultimate Guide to Roles and Capabilities

Co dělat, když selže automatická aktualizace WP

After initiating the auto-update of the WordPress core (say, from 3.1.0 to 3.1.1), the “Update WordPress” screen will begin displaying the status of each step, beginning with these messages:

*Downloading update from http://wordpress.org/wordpress-3.1.1.zip…
Unpacking the update…
Verifying the unpacked files…
Installing the latest version…
Couldn’t copy file…
Installation failed*

The status message that appears just before “Installation Failed” explains what WordPress thinks is the issue, but there are cases where things go wrong and no messages are displayed. In either case, the user can get locked out of the site. When this happens, trying to load any of your pages – admin, blog, login, etc. – gets you the nothing but the WordPress maintenance page:

*Briefly unavailable for scheduled maintenance.
Check back in a minute.*

Very frustrating, and very difficult to fix things when you can’t log in to Admin. Fortunately, you don’t need Admin to fix it and get back in. Just FTP your way to the root directory and delete the .maintenance file. The name begins with a dot, so if you don’t see it using your FTP program, try logging into your server’s control panel and using the file manager to find and delete.

Zdroj: http://digwp.com/2011/04/wordpress-auto-updates/

Prolinkování webů tagy

Tag Search
http://wordpress.org/extend/plugins/tag-search/

Tag search grabs your saved post tags and when a tag word or phrase is encountered in your post content, Tag Search automatically creates a link which is pointed to the search page to turn the tag into a search term. When the user clicks the linked tag word or phrase all posts found to contain the tag word or phrase will be returned in the results. This is different from similar plugins that link the tagged word or phrase to it’s tag page so only those posts sharing the tag are returned.

*Alternativa*

WP-Hashtag
http://wordpress.org/extend/plugins/wp-hashtag/

Pokud při psaní nějakého příspěvku vložíte před nějaké slovo „křížek“, tj. např. #slovo, pak se toto slovo jednak automaticky po uložení stane štítkem daného příspěvku (pokud podobný štítek neexistoval, tak se vytvoří) a současně bude toto slovo prolinkováno.

Části obsahu pro opakované použití

WordPress Reusables
http://wordpress.org/extend/plugins/wordpress-reusables/

A pretty common feature among content management systems is the ability to pull pieces of content onto a page which have been pre-defined within the database. However, with WordPress you are unable to do this on the page/post level. Only in theme creation are you able to dynamically pull content from other files. This can be extremely useful for content that gets used throughout a site, as it can be very cumbersome trying to update something like a headline that is hard coded onto multiple pages. However, with this plugin you are able to create a reusable for these types of content and manage them in one place rather than editing each post/page that the content is on.

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

ManageWP Worker
http://wordpress.org/extend/plugins/worker/
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…

Upozorňování na nové komentáře

Subscribe to Comments
http://wordpress.org/extend/plugins/subscribe-to-comments/

Subscribe to Comments is a robust plugin that enables commenters to sign up for e-mail notification of subsequent entries. The plugin includes a full-featured subscription manager that your commenters can use to unsubscribe to certain posts, block all notifications, or even change their notification e-mail address!

*Alternativy*

Comments notifier
http://wordpress.org/extend/plugins/comment-notifier/