Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

Post Snippets – Anpassen eigener WordPress Code Snippets

Beschreibung

Erstelle individuelle Shortcodes und wiederverwendbaren Inhalt und füge alles in Deine Seiten und Beiträge ein.

Dieses Plugin ermöglicht es dir, eine Bibliothek von Snippets mit HTML, PHP-Code oder wiederkehrendem Text, den du oft in deinen Seiten und Beiträgen verwendest, zu erstellen. Du kannst vordefinierte Variablen nützen, um Teile des Snippets beim Einfügen zu ersetzen. Alle Snippets stehen über einen Button im visuellen Editor von Seiten und Beiträgen zur Verfügung. Das Snippet kann eingefügt werden wie definiert oder als Shortcode, um Änderungen im Snippet überall dort zu übernehmen, wo es eingesetzt ist. PHP-Code wird unterstützt bei Snippets, die als Shortcode eingefügt werden.

Grundfunktionen

  • Einfügen: Alle vorhandenen Snippets werden über einen Button direkt beim Beitragsseditor eingefügt.
  • Shortcodes: Du kannst dieses Plugin dafür verwenden, deine eigenen Shortcodes zu erstellen.
  • PHP: Ein Shortcode-Snippet kann optional als PHP-Code ausgeführt werden.
  • Buttons: Die Snippets findest Du im visuellen WordPress Editor über den angezeigten Button und im HTML-Editor mit einem Quicktag.
  • Benutzerfreundlich: Einfach zu verwendende ‚Manage Snippets‘ Seite, auf der Du Snippets hinzufügen, bearbeiten und entfernen kannst.
  • Variablen: Jedes Snippet kann beliebig viele individuelle Variablen aufweisen, die zum Einfügen verwendet werden können.
  • Import/Export: Snippets können zwischen Sites importiert und exportiert werden.
  • Dokumentation: Vollständige Dokumentation ist verfügbar direkt im Hilfe-Panel über den ‚Hilfe‘ Tab rechts oben in WordPress.
  • De-Installieren: Sobald Du das Plugin über die Plugins-Übersicht löscht, werden auch alle Daten, die von dem Plugin erstellt wurden, aus der WordPress-Datenbank gelöscht

Premium Funktionen

  • Snippet-Duplizierung – Dupliziere ganz einfach Shortcode-Snippets und füge sie in Posts und Seiten ein.
  • Rich-Text-Editor – Verwende den integrierten Rich-Text-Editor, um Deine Snippets nach Deinen Wünschen anzupassen.
  • Snippets-Reihenfolge – Ändere die Reihenfolge Deiner Snippets einfach mit Drag-and-Drop.
  • Rest-API – Gewähre beliebigen Usern die Berechtigung, Snippets hinzuzufügen, zu bearbeiten, zu aktualisieren und zu löschen, ohne ihnen Administratorzugriff zu gewähren.
  • Tags Verwende die Tags-Funktion, um mehrere Tags hinzuzufügen und verschiedene Snippets mithilfe von Tags zu filtern.
  • Cloud-Snippet Mithilfe der Cloud-Snippets-Funktion kannst Du Snippets direkt in der Cloud speichern, bearbeiten, herunterladen und löschen.
  • Unterstützung des Gutenberg-Blockeditors – Gutenberg-Blocktypen können eine beliebige Anzahl integrierter Kernfunktionen wie Name, Symbol, Beschreibung, Kategorie und mehr unterstützen.
  • Snippet-Typ Zeige die Snippet-Typen (PHP, JS, CSS) an, indem Du auf der Seite mit der Snippet-Liste eine Spalte hinzufügst.
  • Der Gutenberg-Editor integriert einen Block für Quellcode-Snippets, um den Code ausgewählter Snippets ohne Ausführung im Frontend einzufügen und in der Vorschau anzuzeigen.
  • Der Elementor-Editor fügt einen Post-Snippet-Block zum Einfügen von Snippets mit PHP-Ausführung, Formatierung, Shortcode-Unterstützung und einen Post-Snippet-Quellblock zur Präsentation des Snippet-Quellcodes hinzu.

Technische Dokumentation

Weitere Informationen, einschließlich Anleitung zur Plug-in-Installation, findest Du auf unserer technischen Dokumentationsseite zu Post Snippets. Um über die neuesten Plugin-Updates, Verbesserungen und relevanten Neuigkeiten auf dem Laufenden zu bleiben, kannst Du außerdem jederzeit unseren Post Snippets-Blog besuchen.

Support

Um Deine Fragen zu Post-Snippets zu beantworten, kannst Du jederzeit die Unterstützung vom WordPress-Support in Anspruch nehmen

Preistabellen

Post Snippets bietet budgetfreundliche Preisoptionen, die zu Deinen geschäftlichen Anforderungen passen. Die Details zum Preisplan findest Du hier.

Screenshots

  • Einstellungen > Post Snippets: Die Administrationsseite, auf der Du Snippets erstellen und verwalten kannst.
  • Der praktische Button für Post Snippets im WordPress HTML-Editor.
  • Der Post Snippet Einfügen-Dialog, der alle Snippets anzeigt.
  • Beispiel eines eingefügten Snippets, mit optionalen Variablen.
  • Einfach zugängige Inline-Dokumentation ('Hilfe' Button rechts oben in WordPress).

Blöcke

Dieses Plugin unterstützt 2 Blöcke.

  • Post Snippets
  • Post Snippets New

Installation

Anforderungen

  • PHP Version 7 oder höher.
  • WordPress Version 5.8 oder höher.

Automatische Installation

  1. Installiere das Plugin in Plugins > Installieren. Suche nach ‚Post Snippets‘.
  2. Aktiviere das ‚Post Snippets‘ Plugin im ‚Plugins‘ Menü in WordPress.
  3. Gehe zu Einstellungen > Post Snippets und beginne, deine Snippets zu erstellen.

Manuelle Installation

  1. Entpacke die heruntergeladene Datei
  2. Lade das entpackte ‚Post-Snippets‘-Verzeichnis auf den Server in das Verzeichnis /wp-content/plugins/
  3. Aktiviere das ‚Post Snippets‘ Plugin im ‚Plugins‘ Menü in WordPress
  4. Gehe zu Einstellungen > Post Snippets und beginne, deine Snippets zu erstellen.

Deinstallieren

  1. Deaktiviere Post Snippets im ‚Plugins‘ Menü in WordPress.
  2. Markiere Post Snippets unter der ‚zuletzt aktiven Plugins‘ Rubrik und wähle ‚Löschen‘ aus dem ‚Sammelaktionen‘ Drop Down Menü.
  3. Dies wird alle Dateien des Plugins vom Server und alle Einstellungen zu diesem Plugin aus der Datenbank löschen

FAQ

Wo finde ich die Dokumentation?

Die Dokumentation des Plugins steht direkt im Hilfe-Panel zur Verfügung (Tab rechts oben im WordPress Adminbereich).

Warum funktioniert der Import von Snippets in eine Multisite-Installation nicht?

Das Hochladen von zip-Datei muss erlaubt sein. Aktiviere das in Sites Network Admin > Einstellungen > Upload Settings > Upload Dateitypen.

Wie kann ich den Inhalt in einem angehängten Shortcode verwenden?

Falls der Shortcode angehängt ist und Inhalt zwischen den Tags eines Beitrages beinhaltet. Beispiel: [shortcode]Some text[/shortcode] Der enthaltene Text ist verfügbar in einer Variable „Content“. Verwende im Snippet {content} um ihn anzuzeigen. Gib nicht ‚content‘ in das Variable-Feld ein, das wird automatisch hinzugefügt.

Wo bekomme ich Unterstützung?

Bitte besuche das Support Forum für Fragen, Antworten, Support und Anfragen nach Funktionen.

Kann ich die Funktion zum Ausführen von PHP-Code deaktivieren?

Um die Funktion zu Ausführung von PHP-Code in diesem Plugin zu deaktivieren, füge den nachstehenden Code in die functions.php deines Themes oder in die Datei wp-config.php ein: define('POST_SNIPPETS_DISABLE_PHP', true);

Das ist sinnvoll, wenn du dieses Plugin auf einer Kunden-Website installiert hast und verhindert möchtest, dass deine Kunden PHP-Code in Snippets verwenden.

Rezensionen

6. Dezember 2023
I use plugin for years and it helps me a lot to insert texts i need in different places of my page and update it only in one place.
31. August 2023
Been using this product for almost a year now. It is a huge help for adding codes seamlessly. It has a user-friendly interface which is really perfect for beginners. It also covers a wide range of code types which even experts in the field will find helpful. It has enhanced our workflow and saved us a huge amount of time. Most important of all is the prompt response from their customer support. First thing everyone should look for when subscribing to something.
4. August 2023
When PostSnippets unexpectedly wouldn't allow me to create, duplicate or edit I contacted support. After some troubleshooting, support offered to log in to the site and explore. They quickly determined the problem and wrote a custom function to restore PostSnippets. Very happy with support
Alle 92 Rezensionen lesen

Mitwirkende & Entwickler

„Post Snippets – Anpassen eigener WordPress Code Snippets“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Post Snippets – Anpassen eigener WordPress Code Snippets“ wurde in 1 Sprache übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Post Snippets – Anpassen eigener WordPress Code Snippets“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

Version 4.0.4 – 6 july 2023

  • Fixed – Minor Bug fixes
  • Improvement – Updated Feedback library to the latest version.

Version 4.0.3 – 14 Feb 2023

  • Improvement – Added Validation, so on ‚Custom CSS‘ snippet only css styles can be added.

Version 4.0.2 – 3 Jan 2023

  • Tweak- Minimum required wordpress version change from 5.8 to 5.3

Version 4.0.1 – 14 Dec 2022

  • Fixed – Error when using script tag in snippets

Version 4.0.0 – 14 Jan 2021

  • Improvement – Plugin code revamped.
  • Improvement – Added sanitation, escaping and validation.
  • Improvement – Cloud upload and download.
  • Improvement – Snippets now getting saved in separate db table instead of options table.
  • Improvement – back-end UI .
  • Improvement – Bulk Actions now include Activate/Deactivate
  • Improvement – Post Editor screen for editing of snippets.
  • Improvement – Snippets now displayed as table list.
  • Added – Snippets Groups,
  • Added – Option to delete snippets on uninstalling of plugins
  • Fixed – Block Editor bugs

Version 3.1.3 – 5 Mar 2021

  • Added – snippets search functionality
  • Added – REST API functionality

Version 3.1.2 – 11 Nov 2020

  • Updated freemius SDK

Version 3.1.1 – 4 Nov 2020

  • Fix – Menu icons not loading in The7 Theme
  • Fix – Cloud Features not working

Version 3.1 – 1 Sep 2020

  • Fix – Post Snippets Blocks throwing error in WordPress 5.5

Version 3.0.23 – 20 May 2020

  • Improvement – Improved import functionality
  • Fix – Issues in freemius redirects
  • Fix – POST_SNIPPETS_ALLOW_EDIT_POSTS not working

Version 3.0.22 – 05 May 2020

  • Fixed Saving breaks when PHP snippets are disabled
  • Fixed Wrong message being displayed when we save title without making any changes
  • Fixed Title always saving in lowercase letters
  • Improvement Code Optimized to improve security

Version 3.0.19 – 17 Apr 2020

  • Fixed Title not saving on save button
  • Fixed On Plugin activation it redirects to some inaccessible URL
  • Fixed Move not working if we move more than 1 snippets

Version 3.0.18 – 09 Apr 2020

  • Updated News Page and Author
  • Fixed Duplicate snippet not working

Version 3.0.17 – 02 Apr 2020

  • Fixed reordering of snippets (Premium only)

Version 3.0.16 – 16 Mar 2020

  • Fixed rename snippet

Version 3.0.15 – 10 Mar 2020

  • Gutenberg block
  • Save snippets through ajax calls
  • News page with changelog
  • Post Snippets menu

Version 3.0.14 – 19 Nov 2019

  • Fixed issue with attributes containing hyphens/dashes

Version 3.0.13 – 12 Nov 2019

  • Updated Freemius SDK

Version 3.0.12 – 28 Aug 2019

  • Updated Freemius SDK

Version 3.0.11 – 2 Lug 2019

  • Added language pack for TinyMCE

Version 3.0.10 – 2 Lug 2019

  • Updated Freemius SDK
  • Added compatibility with PHP 7.3

Version 3.0.9 – 1 Lug 2019

  • Updated Freemius SDK (Premium only)

Version 3.0.8 – 8 Apr 2019

  • Added multi-site snippets sync feature (Premium only)

Version 3.0.7 – 27 Feb 2019

  • Removed unused function

Version 3.0.6 – 27 Feb 2019

  • Security Fix
  • Rich Text Format (PRO version only)

Version 3.0.5 – 13 May 2018

  • Fix conflict with SiteOrigin Page Builder (Editor), increase z-index so Post Snippets Insert box opens on top of the editor
  • Only show submenu when Post Snippets is opened, not on all Settings pages, and remove Support Forum and Contact submenu items
  • Improve stability by updating Post Snippets to string-based menu slug
  • Add instructions and optimize UI for new users/new sites (with slightly pulsating „Add New Snippet“ button)
  • Automatically disable Post Snippets if premium version is activated
  • Make ‚Post Snippets‘ header title in plugin translatable

Version 3.0.4 – 20 Feb 2018

  • Add „Support forum“ link to support forum
  • Add „Contact Us“ link with contact form
  • Add „Account“ and „Upgrade“ link for Pro version
  • Updated Freemius SDK to 1.2.4

Version 3.0.3 – 15 Feb 2018

  • FIX:
    • Check for unique titles/shortcodes when creating new snippets, prevent duplicates
    • Improper slashes parsing, some users woudl see multiple clashes in shortcodes/PHP code, causing snippets to not render correctly
    • Prevent some editors (TinyMCE Advanced) from stacking above the Post Snippets dialog, add zindex to .ui-dialog

Version 3.0.2 – 13 Jan 2018

  • Fixed a PHP error by changing a new style array syntax to the version that also works in PHP 5.3 (this: array())

Version 3.0.0 – 13 Jan 2018

  • NOTES:

    • Reviewed close to 30 issues and either closed, fixed or registered them to be fixed in the future, see https://github.com/GreenTreeLabs/post-snippets/issues/68
  • NEW:

    • A nice new User Interface, a good starting point for more improvements in the future. Switched from old tables to div’s and css
    • The new UI supports updating the snippet name/shortcode without a page refresh
    • Expanding and collapsing individual snippets, or all snippets with a click, is now possible
    • The state of snippets (expand/collapse) is personal, so snippet managers can open and close snippets as they see fit
    • Added a date to the export filename as requested by multiple users, example: post-snippets-export-2014-06-14.zip
  • FIX:

    • Compatibility for PHP 7.2
    • Fix some URL’s in the plugin so they also work when post-snippets folder is not exactly „post-snippets“
    • Remove uninstall actions, I believe it’s not user friendly to remove data when user uninstalls, what if they are updating (manually)?
  • DEV:

    • Added version tags to assets, so updated of javascript and css happen without issues in the following updates
    • Added conditional code for checking if dialog and tabs functions exists, by KZeni
    • Added Freemius SDK, which will help with improving Post Snippets in the future. It’s completely opt-in, you can keep it disabled.

Version 2.5.4 – 30 Nov 2017

  • UI improvement: Add update, add new and delete buttons to top of Snippets list, not just bottom
  • Add better note to guide new users to the documentation (‚Help‘ in the top right of the screen)
  • Update URL’s etc to https://www.postsnippets.com and update other plugin details
  • Add ‚Get started‘ admin notice to guide new users to Post Snippets in WordPress Settings
  • Add a newsletter opt-in so users can get Post Snippets updates via email
  • Add ‚Pro features‘ page for feature voting, tell me what you need in Post Snippets

Version 2.5.3 – 14 Feb 2016

  • Fixes an issue with the compression library for import and export.

Version 2.5.2 – 7 Feb 2016

  • Fixes an issue than can occur when other plugins bootstrap WordPress Admin
    and then includes admin_head but not admin_footer, like download monitor.
  • Refactors parts of the code to prepare for a future snippet storage update.

Version 2.5.1 – 6 Feb 2016

  • Makes strings inside javascripts translatable.
  • Removes {content} from shortcode output if the shortcode is not enclosed.

Version 2.5 – 21 Jan 2016

  • Implements an options tab to handle plugin settings.
  • Reverts the change implemented in version 2.3.9 to exclude post snippets from
    custom editors by default, and instead adds it as an optional setting.
  • Fixes a conflict with plugins that adds custom editors on the frontend.

Version 2.4 – 18 Dec 2015

  • Fixes potential conflict with WP Editor on none post screens.
  • Removes notice message on some screens if WordPress debug mode is enabled.

Version 2.3.9 – 14 Dec 2015

  • Only includes the javascript code to include Post Snippets in WordPress‘
    editor on post editing related screens, to avoid potential conflicts with
    other plugins.

Version 2.3.8 – 10 Dec 2015

  • Adds validation of shortcode names. Invalid shortcode names now gets
    highlighted in red.

Version 2.3.7 – 4 Nov 2015

  • Updates translatable strings to be Language Pack compatible.

Version 2.3.6 – 15 Jul 2015

  • Bumps minimum required PHP version to 5.3.0.
  • Adds list of translators to inline documentation.

Version 2.3.5 – 18 Jan 2015

  • Adds new developer filter, post_snippets_snippets_list.
  • Integrates plugin doc to the post editor help tab.
  • Adds complete plugin usage documentation to the settings help tab.

Version 2.3.4 – 20 Sep 2014

  • Tested up to WordPress v4.0.
  • Update Swedish translation.
  • Add Ukrainian translation.

Version 2.3.3 – 12 Apr 2014

  • Updates Post Snippets admin screen to not let Chrome XSS Auditor preventing
    snippets containg form elements to be saved.
  • Adds Serbo-Croatian translation.
  • Updated Polish translation.

Version 2.3.2 – 5 Aug 2013

  • Updates insert snippets into the editor to be compatible with jQuery 1.9+
    (which makes it compatible with WordPress 3.6).
  • Changes WP version check to comply with WordPress 3.3 as the minimum required
    version.

Version 2.3.1 – 1 Jun 2013

  • Removes the $isArray argument from PostSnippets::getSnippet() as it was
    not needed.

Version 2.3 – 1 Jun 2013

  • Updates PostSnippets::getSnippet($name, $variables) to be able
    to accept an array with variables and not only a querystring. Fixes
    issue #22.
  • Removes get_post_snippet() which was deprecated in version 2.1.
  • Adds POST_SNIPPETS_DISABLE_PHP constant to easy disable the PHP code
    execution in snippets. Add
    define(‚POST_SNIPPETS_DISABLE_PHP‘, true);
    to wp-config.php or the theme’s functions.php to disable PHP execution in the
    plugin.

Version 2.2.3 – 11 May 2013

  • Fixes issue with the QuickTag button not being displayed in Firefox.

Version 2.2.2 – 10 May 2013

  • The Post Snippets buttons now works everywhere there is a wp_editor present
    and not only on post/page edit screens.

Version 2.2.1 – 1 May 2013

  • Added an option to give users with edit_posts capability access to the
    Post Snippets Admin. Add
    define(‚POST_SNIPPETS_ALLOW_EDIT_POSTS‘, true);
    to wp-config.php to enable access for those users. Fixes
    issue #12.
  • Optimizes code for the admin section.

Version 2.2 – 26 Apr 2013

  • Bumps required WordPress version to v3.3.
  • Fixes a problem with using some HTML entities in snippets.
  • Removes the screenshots from the plugin archive, to make a smaller archive.
  • Updates help text for PostSnippets::getSnippet().
  • Fixes a PHP warning that occurred when no post snippets exist.
  • Makes the plugin PSR-2 compliant and introduces Travis CI for testing.

Version 2.1.1 – 23 Feb 2013

  • Fixes a bug that PHP snippets called an old class definition.

Version 2.1 – 22 Feb 2013

  • Default values are now respected as shortcode defaults and not only to
    populate the insert window’s fields.
  • Allow other plugins or themes to disable the PHP Code execution feature using
    the new post_snippets_php_execution_enabled filter.
  • PostSnippets::getSnippet() now executes shortcodes within snippets.
  • The function get_post_snippet() used to retrieve snippets from other
    places in WordPress has been deprecated. Please update any code using this
    function to use PostSnippets::getSnippet() instead, which replaces the old
    function. get_post_snippet() will be removed in a future version. Most
    users are not affected by this change.
  • Refactored code to comply with the PSR-0 standard.
  • Migrated to GitHub to maintain the code in development.
    Post Snippets at GitHub.
  • Included Polish translation (pl_PL) by Tomasz Wesołowski.
  • Included Slovak translation (sk_SK) by Branco Radenovich.

Version 2.0 – 29 Mar 2012

  • Added tabs to the Admin page, and moved Import/Export to a separate tab.
  • Pressing enter in a text field now defaults to Update and not Add.
  • Fixed debug notice message displayed when deleting without any snippets
    selected.
  • Various code refactoring and optimizations.

Version 1.9.7 – 22 Mar 2012

  • Updated the styling for the snippet insert window in the post editor. This
    fixes the visual glitch with tabs spanning multiple rows.
  • Users without manage_options but with edit_posts capability (authors,
    contributors, editors) can now see a read-only list of available snippets and
    related info.
  • Users with read-only access can toggle if they want to see their snippets
    overview as rendered output or as-is.
  • Enabled label for= with checkboxes.
  • Included Romanian translation by Web Hosting Geeks.

Version 1.9.6 – 19 Mar 2012

  • Added two new filters. post_snippets_import and post_snippets_export.

Version 1.9.5 – 17 Mar 2012

  • The HTML and scripts for the popup window in the post editor is now only
    generated on the screens where it’s needed.

Version 1.9.4 – 8 Feb 2012

  • Added an option to run shortcodes through wptexturize before output.
  • Bugfix: Default values could be cut off. Corrected in this update.

Version 1.9.3 – 30 Jan 2012

  • Fixed a bug that variables using a default value wasn’t inserted properly.

Version 1.9.2 – 29 Jan 2012

  • A variable can now be assigned a default value that will be used in the
    insert window. Use the = sign to give a variable a default value. Ie.
    var1,var2=default,var3.
  • Added versioning to the admin jQuery dialog CSS and the TinyMCE plugin
    JavaScript to prevent browser caching of older versions on update.

Version 1.9.1 – 22 Jan 2012

  • Updated the built-in help text to include all the latest features added.

Version 1.9 – 17 Jan 2012

  • Initial implementation to allow snippets to be evaluated as PHP code.
  • PHP version 5.2.4 or greater is now required to run Post Snippets.

Version 1.8.9.2 – 15 Jan 2012

  • Added an additional check to see if Post Snippets is loaded via a
    bootstrapped WP Admin that doesn’t set the is_admin() flag, so it works in
    that environment as well.

Version 1.8.9.1 – 11 Jan 2012

  • A bug fixed with get_post_snippets() that were introduced in the last update.
  • Unit test for get_post_snippets() added to automate testing that it won’t
    break in future updates.

Version 1.8.9 – 10 Jan 2012

  • Updated the help text to take advantage of the new Help API introduced with
    WordPress 3.3.
  • Updated the Swedish translation.

Version 1.8.8 – 28 Dec 2011

  • Removed the unneeded QuickTag checkbox from the settings screen for snippets,
    as all snippets are now always available from the HTML editor’s QuickTag
    button.

Version 1.8.7 – 25 Dec 2011

  • Updated the TinyMCE plugin for the Post Snippets button in WordPress Visual
    Editor to use the same jQuery UI Dialog window that the HTML button have had
    for some time. The consolidation of using the same window and code for the
    different buttons will make Post Snippets easier to maintain and update.
  • Added an admin notice when running on PHP versions below 5.2.4 to prepare
    users that future Post Snippets requirements will be on par with WordPress
    3.3.

Version 1.8.6 – 15 Dec 2011

  • The Post Snippets HTML editor button is updated to be compatible with
    WordPress 3.3 refactored QuickTags.

Version 1.8.5 – 22 Nov 2011

  • Included German translation by Brian Flores.
  • For all translators: Updated the .pot file to include all the latest strings
    and changes.

Version 1.8.4 – 10 Nov 2011

  • Included Belarusian translation by Alexander Ovsov.

Version 1.8.3 – 13 Oct 2011

  • Included Hebrew translation by Sagive.

Version 1.8.2 – 3 Sep 2011

  • Added support for using enclosed shortcodes with the snippets. Use the
    variable {content} in your snippets to retrieve the enclosed content.
  • Updated the dropdown help text.
  • Included Lithuanian translation by Nata Strazda.

Version 1.8.1 – 11 Jul 2011

  • Fixed that a PHP warning is thrown when other scripts called the
    get_post_snippet() function without supplying a second argument.

Version 1.8 – 30 May 2011

  • Fixed an escaping problem with the snippet description.
  • Added Import / Export functionality.
  • Snippets used as shortcodes can now nest other shortcodes in them.

Version 1.7.3 – 3 Mar 2011

  • Added a text area field in the settings panel to enter an optional
    description for each snippet. This decription is displayed for the editor
    writing a post in the jQuery Post Snippet dialog.
  • Fixed the styling of the quicktag jQuery window when the user have disabled
    the visual editor completely.
  • Fixed problem with line formatting in the new quicktag snippets.
  • Fixed a problem with JavaScript snippets breaking the admin page.
  • Various small bugfixes.

Version 1.7.2 – 28 Feb 2011

  • Specified text/javascript for the UI dialog script.
  • Updated the Spanish translation by Melvis E. Leon Lopez.

Version 1.7.1 – 26 Feb 2011

  • Added styling to the Tabs in the Quicktag jQuery dialog window to make them
    more „tab-like“.
  • Added the possibility to use a description for each snippet to display for
    the user when opening the Quicktag jQuery dialog window. Snippets without
    description and variables, has a default information message.
  • Moved the help text from below the snippets to the contextual help dropdown
    menu at the top of the settings page.
  • Changed the required version of WordPress to 3.0.
  • Request by proximity2008: A snippet without anything entered in the snippet
    field will not be registered as a shortcode.

Version 1.7 – 26 Feb 2011

  • Complete rewrite of the QuickTags insert functionality. It now uses jQuery UI
    to display a similar tabbed window as the TinyMCE button does. There is now
    one ‚Post Snippets‘ button in the HTML editor instead of a separate button
    for each snippet. As the QuickTags function is completely rewritten, and this
    is the initial release of the new method, please report if you encounter any
    problems with it.
  • Fixed QuickTags compability with WordPress 3.1.
  • Added a link to the Post Snippets Settings directly from the entry on the
    ‚Plugins List‘ page.
  • Added get_post_snippet() function to retrieve snippets directly from PHP.

Version 1.5.4 – 26 Jan 2011

  • Included Turkish translation by Ersan Özdil.

Version 1.5.3 – 19 Sep 2010

  • Included Spanish translation by Melvis E. Leon Lopez.

Version 1.5.2 – 17 Sep 2010

  • The plugin now keeps linefeed formatting when inserting a snippet directly
    with a quicktag in the HTML editor.
  • Updated the code to not generate warnings when running WordPress in debug
    mode.

Version 1.5.1 – 12 Mar 2010

  • Fixed ampersands when used in a shortcode, so they are XHTML valid.

Version 1.5 – 12 Jan 2010

  • Updated the plugin so it works with WordPress 2.9.x (the quicktags didn’t
    work in 2.9, now fixed.).

Version 1.4.9.1 – 5 Sep 2009

  • Included French translation by Thomas Cailhe (Oyabi).

Version 1.4.9 – 10 Aug 2009

  • Included Russian translation by FatCow.

Version 1.4.8 – 9 May 2009

  • Changed the handling of the TinyMCE button as some server configurations had
    problems finding the correct path.
  • Fixed a problem that didn’t let a snippet contain a tag.

Version 1.4.7 – 27 Apr 2009

  • Added a workaround for a bug in WordPress 2.7.x wp-includes/compat.php that
    prevented the plugin to work correctly on webservers running with PHP below
    version 5.1.0 together with WP 2.7.x. This bug is patched in WordPress 2.8.

Version 1.4.6 – 25 Apr 2009

  • Updated all code to follow the WordPress Coding Standards for consistency, if
    someone wants to modify my code.
  • Removed the nodechangehandler from the TinyMCE js, as it didn’t fill any
    purpose.
  • Updated the save code to remove the PHP Notice messages, if using error
    logging on the server.
  • Added additional proofing for the variables string.

Version 1.4.5 – 24 Apr 2009

  • Fixed a problem in the admin options that didn’t allow a form with a textarea
    to be used as a snippet.
  • Widened the columns for SC and QT slightly in the options panel so they
    should look a bit better on the mac.

Version 1.4.4 – 19 Apr 2009

  • Minor fix with quicktags and certain snippets that was left out in the last
    update.

Version 1.4.3 – 16 Apr 2009

  • Fixed an escaping problem with the recently implemented shortcode function,
    that could cause problems on certain strings.
  • Fixed an escaping problem with the quicktag javascript, that could cause
    problems on certain strings.

Version 1.4.2 – 11 Apr 2009

  • Fixed some additional syntax for servers where the short_open_tag
    configuration setting is disabled.

Version 1.4.1 – 10 Apr 2009

  • Removed all short syntax commands and replaced them with the full versions so
    the plugin also works on servers with the short_open_tag configuration
    setting disabled.

Version 1.4 – 10 Apr 2009

  • Added a checkbox for Shortcodes (SC) in the admin panel. When checking this
    one a dynamic shortcode will be generated and inserted instead of the
    snippet, which allows snippets to be updated later on for all posts it’s been
    inserted into when using this option.
  • Added a checkbox for Quicktags (QT) in the admin panel, so Quicktags are
    optional. Speeds up loading of the post editor if you don’t need the quicktag
    support, and only use the visual editor. Defaults to off.

Version 1.3.5 – 9 Apr 2009

  • Fixed so the TinyMCE window adds a scrollbar if there is more variables for a
    snippet than fits in the window.
  • Fixed a bug that snippets didn’t get inserted when using the visual editor in
    fullscreen mode.

Version 1.3 – 2 Apr 2009

  • Fixed a problem with the regular expressions that prohibited variables
    consisting of just a single number to work.
  • Updated the Help info in the admin page to take less space.
  • Included a check so the plugin only runs in WP 2.7 or newer.

Version 1.2 – 1 Apr 2009

  • Added support for Quicktags so the snippets can be made available in the HTML
    editor as well.

Version 1.1 – 24 Mar 2009

  • Included Swedish translation.
  • Added TextDomain functionality for I18n.

Version 1.0 – 23 Mar 2009

  • Erste Version