Multikriteriální filtrování příspěvků

**Query Multiple Taxonomies**
„http://wordpress.org/extend/plugins/query-multiple-taxonomies/“:http://wordpress.org/extend/plugins/query-multiple-taxonomies/

Say you have two custom taxnomies defined: *genre* and *artist*.

Currently, you can do the following types of queries on your site:
?genre=jazz
?genre=jazz&cat=1

But you can’t do this:
?genre=jazz&artist=chet-baker

WordPress will just ignore one of the parameters. This plugin fixes that. It also comes with a drill-down navigation widget.

[* http://s.wordpress.org/extend/plugins/query-multiple-taxonomies/screenshot-1.png?r=358842 *]

Umístění uživatelských funkcí do pluginu

Standardní umístění uživatelských funkcí je v souboru *functions.php*.
Nešikovná na tomto postupu je skutečnost, že jsou pak vaše funkce vázány pouze na danou šablonu vzhledu a pro každou jinou šablonu je musíte do *functions.php* zkopírovat. Šikovnější metoda, umožňující jejich snadnou přenositelnost nezávisle na šablonách vzhledu, je proto umístění těchto funkcí do *pluginu*.

Vytvoříme si soubor *s u* s následujícím kódem:

/—code php

\—

Soubor *my-custom-functions.php* umístíme do adresáře */wp-content/mu-plugins/* (podadresář */mu-plugins* musíme nejprve vytvořit). Veškeré pluginy umístěné v tomto podadresáři se spouští automaticky (mu = must use), není je tedy třeba aktivovat (a nelze je ani deaktivovat či odinstalovat, v seznamu pluginů se zobrazují bez těchto možností).

Chcete-li mít možnost plugin s funkcemi standardně aktivovat, vložíte soubor *my-custom-functions.php* jako každý jiný plugin do adresáře */wp-content/plugins/*.

„Zdroj: Creating a custom functions plugin for end users »“:http://justintadlock.com/archives/2011/02/02/creating-a-custom-functions-plugin-for-end-users

„How to create your own WordPress functionality plugin »“:http://wpcandy.com/teaches/how-to-create-a-functionality-plugin

Grafická šablona pro web realitní kanceláře

Podařenou premium šablonu „Elegant Estate“:https://wordpresso.ovx.cz/wp-ee.php připravenou pro web realitní kanceláře nabízí „Elegant Themes“:https://wordpresso.ovx.cz/wp-et.php. Součástí jsou .PO/.MO soubory pro snadnou lokalizaci do češtiny. Šablonu jsme funkčně přizpůsobili a použili pro web „Reality Dobrý den“:http://www.realitydobryden.cz/.

šablona pro web realitní kanceláře

*Alternativa*

**Avenue**
„http://www.web2feel.com/avenue/“:http://www.web2feel.com/avenue/

„Demo »“:http://jinsonathemes.com/fabs/?themedemo=Avenue

Shortcode pro přímé zobrazení PDF souboru

Just open *functions.php* file and put following code in that file.

/—code php
function pdflink($attr, $content) {
return ‚‚.$content.‘‚;
}
add_shortcode(‚pdf‘, ‚pdflink‘);
\—

Upload the PDF file to your wordpress and then get the path of PDF file and then put above lines in article.
For showing link of PDF file in article or post you need add the following lines in the article.

/—code php
[pdf href=“http://yoursite.com/linktoyour/file.pdf“]View PDF[/pdf]
\—

If you does not want to create PDF link in your site and you want to show the pdf doc in your site then use following code.

/—code php
function pdfshow($attr, $content) {
return ‚‚;
}
add_shortcode(‚pdfshow‘, ‚pdfshow‘);
\—

For showing the PDF file in article or post you need add the following lines in the article.

/—code php
[pdfshow href=“http://yoursite.com/linktoyour/file.pdf“]View PDF[/pdf]
\—

„Zdroj »“:http://wordpressapi.com/2011/01/18/show-pdf-file-wordpress-blog-site/

Přiřazení stejného obrázku více příspěvkům (opakované použití)

If you use the library and use a lot of pictures in the posts, the following small link in the library will surely help you. Thus, images can be easily reused. A link will be created so you can access the image directly and there is no need to upload the image again to your new post.

[* http://wpengineer.com/wp-content/uploads/medialibrary3.png 645×316 *]

/—code php
function upload_columns($columns) {
unset($columns[‚parent‘]);
$columns[‚better_parent‘] = __( ‚Parent‘ );
return $columns;
}

function media_custom_columns($column_name, $id) {
$post = get_post($id);

if ( $column_name != ‚better_parent‘ )
return;

if ( $post->post_parent > 0 ) {
if ( get_post($post->post_parent) )
$title = _draft_or_post_title($post->post_parent);
?>

Jak přidat Facebook tlačítko „Líbí se mi“

**Like**
„http://wordpress.org/extend/plugins/like/“:http://wordpress.org/extend/plugins/like/

The Facebook Like Button Widget adds a ‚Like‘ button to your WordPress blog posts. It uses the new Facebook Like button released on Apr. 21st 2010.

*Alternativy*

**Facebook Likes You!**
„http://wordpress.org/extend/plugins/facebook-likes-you/“:http://wordpress.org/extend/plugins/facebook-likes-you/

Facebook Likes You! is simple plugin which makes it easy to add Facebook Like button and widgetable Like box. K dispozici i v české jazykové verzi.

**WordPress Facebook Like Plugin**
„http://wordpress.org/extend/plugins/wordpress-facebook-like-plugin/“:http://wordpress.org/extend/plugins/wordpress-facebook-like-plugin/

Add a Facebook „Like“ Button to your blog posts and increase your visitor engagement instantly! This plugin adds a simple and easy to use Facebook Like functionality with admin options to change the location of Facebook Like button, font, show faces, use the box with count as well as other cool and useful options.

**Bez pluginu do šablony**
„http://duben.org/wordpress/pridavame-facebookove-tlacitko-to-se-mi-libi-do-wordpressu“:http://duben.org/wordpress/pridavame-facebookove-tlacitko-to-se-mi-libi-do-wordpressu

/—code php