Title: IFTTT Post Formats &amp; Post Types
Author: Justin Sternberg
Published: <strong>28. Januar 2014</strong>
Last modified: 16. August 2016

---

Plugins suchen

Dieses Plugin wurde **nicht mit den 3 neuesten Hauptversionen von WordPress getestet**.
Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung
mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

![](https://s.w.org/plugins/geopattern-icon/ifttt-post-formats.svg)

# IFTTT Post Formats & Post Types

 Von [Justin Sternberg](https://profiles.wordpress.org/jtsternberg/)

[Herunterladen](https://downloads.wordpress.org/plugin/ifttt-post-formats.zip)

 * [Details](https://de.wordpress.org/plugins/ifttt-post-formats/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/ifttt-post-formats/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/ifttt-post-formats/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/ifttt-post-formats/#developers)

 [Support](https://wordpress.org/support/plugin/ifttt-post-formats/)

## Beschreibung

IFTTT (if this, then that) is one of the coolest web services available, and allows
you to connect your different web service accounts to create ‚recipes‘. An example
of a recipe that I have is to create a new WordPress post on my blog whenever I 
favorite a YouTube video.

Unfortunately IFTTT doesn’t have a way to specify a post format or a custom post
type, so this plugin provides a couple ways to update them.

To set the post format, you need to set the category in IFTTT to one of the following
categories:

 * `ifttt-aside`
 * `ifttt-gallery`
 * `ifttt-link`
 * `ifttt-image`
 * `ifttt-quote`
 * `ifttt-status`
 * `ifttt-video`
 * `ifttt-audio`
 * `ifttt-chat`

So for my YouTube -> WordPress recipe, I have it adding the ‚ifttt-video‘ category
in IFTTT (IFTTT allows you to specify the category for the posts it creates), and
voilà, when it’s published, the format has been set.

If you want to instead set the new post to a custom post type, you can do so by 
setting the category in IFTTT to one that matches this pattern: **`ifttt-posttype-{
post_type_slug}`**. So if you wanted to create new WordPress pages with IFTTT, you
would add the **`ifttt-posttype-page`** category.

And finally, if you want the IFTTT categories to be stored as a _different_ taxonomy,
you can do so by setting the category in IFTTT to one that matches this pattern:**`
ifttt-taxonomy-{taxonomy_slug}`**.

**Note:** These speciall `ifttt-*` categories will not actually be set on the post/
page/object. These are ’special‘ categories which simply serve as flags for which
post format, post-type or taxonomy to send the data to, and they are removed from
the list of categories which are actually stored to the post.

Hope you find this useful!

Feel free to [contribute to or fork this plugin on github](https://github.com/jtsternberg/IFTTT-Post-Formats).

## Installation

 1. Upload the `ifttt-post-formats` directory to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress.

## FAQ

  How do I set the post type with this plugin?

 * This was added in version [0.1.1](https://wordpress.org/plugins/ifttt-post-formats/changelog/).
   To set the new post to a custom post type, you can do so by setting the category
   in IFTTT to one that matches this pattern: **`ifttt-posttype-{post_type_slug}`**.
   So if you wanted to create new WordPress pages with IFTTT, you would add the **`
   ifttt-posttype-page`** category.

  How can I change the taxonomy for the IFTTT categories?

 * As of [0.1.3](https://wordpress.org/plugins/ifttt-post-formats/changelog/) You
   can do so by specifying a `ifttt-taxonomy-{taxonomy_slug}` category in the IFTTT
   category field. Will only work if the `taxonomy_slug` is a valid registered taxonomy.
   You can also hook into the `ifttt_pfpt_taxonomy_to_save_as` filter like so:
    
   function ifttt_pfpt_save_as_custom_taxonomy( $taxonomy ) { $taxonomy = ‚custom-
   taxonomy-slug‘; return $taxonomy; } add_filter( ‚ifttt_pfpt_taxonomy_to_save_as‘,‚
   ifttt_pfpt_save_as_custom_taxonomy‘ );

  I don’t like the `ifttt-*` categories hanging around.

 * You can delete them by adding the following snippet to your theme’s functions.
   php file or as an mu-plugin:
 * `php
    add_filter( 'ifttt_pfpt_delete_ifttt_cats', '__return_true' );

  ??

 * If you run into a problem or have a question, contact me ([contact form](http://j.ustin.co/scbo43)
   or [@jtsternberg on twitter](http://j.ustin.co/wUfBD3)). I’ll add them here.

## Rezensionen

Zu diesem Plugin liegen noch keine Rezensionen vor.

## Mitwirkende und Entwickler

„IFTTT Post Formats & Post Types“ ist Open-Source-Software. Folgende Menschen haben
an diesem Plugin mitgewirkt:

Mitwirkende

 *   [ Justin Sternberg ](https://profiles.wordpress.org/jtsternberg/)

[Übersetze „IFTTT Post Formats & Post Types“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/ifttt-post-formats)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/ifttt-post-formats/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/ifttt-post-formats/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/ifttt-post-formats/)
per [RSS](https://plugins.trac.wordpress.org/log/ifttt-post-formats/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 0.1.3

 * Added the ability to set the taxonomy via the special `ifttt-taxonomy-{taxonomy_slug}`
   category.
 * Added the ability to delete the `ifttt-*` terms with the `ifttt_pfpt_delete_ifttt_cats`
   filter.

#### 0.1.2

 * New filter, `ifttt_pfpt_taxonomy_to_save_as`, to override which taxonomy the 
   terms should be saved to (if not category).
 * New action, `ifttt_pfpt_set_post_format`, called when a ifttt post format has
   been found and set.
 * New action, `ifttt_pfpt_set_post_type`, called when a ifttt post type has been
   found and set.
 * New action, `ifttt_pfpt_handle_format_post_type`, called when either a ifttt 
   post format or ifttt post type has been found and set.

#### 0.1.1

 * Add custom post type support

#### 0.1.0

 * First Release

## Meta

 *  Version **0.1.3**
 *  Zuletzt aktualisiert **vor 10 Jahren**
 *  Aktive Installationen **60+**
 *  WordPress-Version ** 3.1 oder höher **
 *  Getestet bis **4.6.0**
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/ifttt-post-formats/)
 * Schlagwörter
 * [automation](https://de.wordpress.org/plugins/tags/automation/)[ifttt](https://de.wordpress.org/plugins/tags/ifttt/)
   [post formats](https://de.wordpress.org/plugins/tags/post-formats/)[post types](https://de.wordpress.org/plugins/tags/post-types/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/ifttt-post-formats/advanced/)

## Bewertungen

 5 von 5 Sternen.

 *  [  2 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/ifttt-post-formats/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/ifttt-post-formats/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/ifttt-post-formats/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/ifttt-post-formats/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/ifttt-post-formats/reviews/?filter=1)

[Deine Rezension](https://wordpress.org/support/plugin/ifttt-post-formats/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/ifttt-post-formats/reviews/)

## Mitwirkende

 *   [ Justin Sternberg ](https://profiles.wordpress.org/jtsternberg/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/ifttt-post-formats/)

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](http://j.ustin.co/rYL89n)