Title: Post Editor Buttons Fork
Author: Kailey (trepmal)
Published: <strong>23.05.2011</strong>
Last modified: 01.10.2016

---

ჩადგმების ძებნა

![](https://ps.w.org/post-editor-buttons-fork/assets/banner-772x250.png?rev=478746)

ეს პლაგინი **არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე**. როგორც ჩანს, ის უკვე
აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

![](https://s.w.org/plugins/geopattern-icon/post-editor-buttons-fork_f9f9f9.svg)

# Post Editor Buttons Fork

 ავტორი: [Kailey (trepmal)](https://profiles.wordpress.org/trepmal/)

[ჩამოტვირთვა](https://downloads.wordpress.org/plugin/post-editor-buttons-fork.2.4.zip)

 * [დეტალები](https://ka.wordpress.org/plugins/post-editor-buttons-fork/#description)
 * [მიმოხილვა](https://ka.wordpress.org/plugins/post-editor-buttons-fork/#reviews)
 *  [დაყენება](https://ka.wordpress.org/plugins/post-editor-buttons-fork/#installation)
 * [დეველოპმენტი](https://ka.wordpress.org/plugins/post-editor-buttons-fork/#developers)

 [მხარდაჭერა](https://wordpress.org/support/plugin/post-editor-buttons-fork/)

## აღწერა

Add custom buttons to the TEXT mode editor toolbar.

This is a fork of [Oren Yomtov’s](https://wordpress.org/extend/plugins/post-editor-buttons/)
plugin.

Unsure of the reason behind the poor rating and “doesn’t work” vote. Possibly the
user didn’t realized this only adds tags to the **HTML editor**? If you use this
plugin and it works for you, I’d appreciate it if you’d give my a good star rating
and an “it works” vote.

Conversely, if you have trouble, please post to the forums, and/or ask me on [twitter (@trepmal)](http://twitter.com/trepmal).

**If you need this to work on WordPress < 3.3** download [2.2.1](https://wordpress.org/extend/plugins/post-editor-buttons-fork/download/).

 * [I’m on twitter](http://twitter.com/trepmal)

## ეკრანული სურათები

 * [[
 * This is how the plugin’s interface looks (in 3.2)
 * [[
 * This is the output of the setting above (in 3.2)

## დაყენება

 1. Upload the `post-editor-buttons` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Visit the plugins page by clicking the `Use` link in the plugins description or
    from the `Settings` admin panel.

That’s it, now you can start adding your own buttons.

## ხდკ

  I don’t see the buttons I’ve created. Where are they?

This plugin creates buttons for the **TEXT** editor only.

  Can I put classes/styles or other attributes inside the tag?

Yes, but you must use single quotes. For example, this will work:

<

h2 style=’color:#ff0;’>
 But this will not:

<

h3 class=”clear”>
 As of version 2.1, **“** will be replaced with **‘** automatically
As of version 2.3, quote marks should be preserved

  Why are my inline styles are being removed?

Some styles are removed by WordPress while others aren’t. For example, this will
work:

But this will not:

These styles are being removed when the provided tags are passed through one of 
WordPress’s sanitation filters.

  Why isn’t this tag/attribute being saved?

When you save a custom button, the before/after pieces are filtered. No point in
creating a button that adds something that’ll only be removed when you save a post,
right?

To allow additional tags, you’ll need to add some code. (I recommend add it to your
functions.php file so it will be preserved if you update the plugin).

Here’s how to allow the `video` tag

    ```
    add_filter( 'admin_init', 'allowed_tags' );
    function allowed_tags() {
        global $allowedposttags;
        $allowedposttags['video'] = array();
    }
    ```

To add more attributes (in this case, `src`, `type`, `poster`):

    ```
    add_filter( 'admin_init', 'allowed_tags' );
    function allowed_tags() {
    global $allowedposttags;
        $allowedposttags['video']['src'] = array();
        $allowedposttags['video']['type'] = array();
        $allowedposttags['video']['poster'] = array();
    }
    ```

## მიმოხილვები

![](https://secure.gravatar.com/avatar/2794b9a3cf41aa07d8ba0ced0219b77d7e2c9a6aa4d9889b784a4a0125260595?
s=60&d=retro&r=g)

### 󠀁[Very handy](https://wordpress.org/support/topic/very-handy-134/)󠁿

 [Alvaro Gois dos Santos](https://profiles.wordpress.org/alvarogois/) 07.07.2017

When you have to edit content in HTML and insert a lot of the same classes, this
plugin becomes precious, as it let’s you customise your HTML editor buttons in a
rather simple way. There are 2 things I miss, and that’s why I’m giving it 4 stars:–
a way to re-order the created buttons – a way to export and import the created buttons
BTW, it seems to be working fine with 4.8.

![](https://secure.gravatar.com/avatar/56b7754cd77fd67384190fe4f57ab5f67696450a1906177db0369ae65c7cec35?
s=60&d=retro&r=g)

### 󠀁[Love it!](https://wordpress.org/support/topic/love-it-1438/)󠁿

 [esp2013](https://profiles.wordpress.org/esp2013/) 10.11.2016

This is just what I was looking for. I only use text editor but wanted to be able
to make custom buttons for the tags I use most. I’m delighted. Thank you for your
good work on this.

![](https://secure.gravatar.com/avatar/b302c52241eb77753cf8ef24e28a425a04c21c979a695c5127f8809bca995c3b?
s=60&d=retro&r=g)

### 󠀁[Super easy and super useful](https://wordpress.org/support/topic/super-easy-and-super-useful/)󠁿

 [Maciej Swoboda](https://profiles.wordpress.org/swoboda/) 03.09.2016

Doeas what it says. It is super useful for creating i.e. hX tags or shortcodes i.
e. [button]. I don’t like the visual editor, so this additions are great. PS. The
code could be more tidy.

 [ 11 რევიუს წაკითხვა ](https://wordpress.org/support/plugin/post-editor-buttons-fork/reviews/)

## მონაწილეები & დეველოპერები

“Post Editor Buttons Fork” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი
შეიტანეს მის განვითარებაში.

მონაწილეები

 *   [ Kailey (trepmal) ](https://profiles.wordpress.org/trepmal/)

[გადათარგმნეთ Post Editor Buttons Fork თქვენს ენაზე.](https://translate.wordpress.org/projects/wp-plugins/post-editor-buttons-fork)

### დაინტერესებული ხართ დეველოპმენტით?

[დაათვალიერეთ კოდი](https://plugins.trac.wordpress.org/browser/post-editor-buttons-fork/),
შეამოწმეთ [SVN რეპო](https://plugins.svn.wordpress.org/post-editor-buttons-fork/),
ან გამოიწერეთ [შექმნის ჟურნალი](https://plugins.trac.wordpress.org/log/post-editor-buttons-fork/):
[RSS](https://plugins.trac.wordpress.org/log/post-editor-buttons-fork/?limit=100&mode=stop_on_copy&format=rss).

## ცვლილებები

#### 2.4

 * Core buttons can now be removed
 * General maintenance

#### 2.3

 * Uses QTags API introduced in WordPress 3.3
 * Uses new Help Tabs method introduced in WordPress 3.3
 * Info on allowing additional tags/attributes added to help tab.
 * Better handling of quote marks in tags

#### 2.2

 * Fixed issues for non-administrators

#### 2.1

 * Rework of how custom javascript is saved
 * General cleanup and clarification

#### 2.0

 * Initial fork release

## მეტა

 *  Version **2.4**
 *  Last updated **10 წელი წინ**
 *  Active installations **800+**
 *  WordPress version ** 3.3, ან უფრო მაღალი **
 *  Tested up to **4.6.30**
 *  Language
 * [English (US)](https://wordpress.org/plugins/post-editor-buttons-fork/)
 * Tags
 * [add buttons](https://ka.wordpress.org/plugins/tags/add-buttons/)[buttons](https://ka.wordpress.org/plugins/tags/buttons/)
   [post editor](https://ka.wordpress.org/plugins/tags/post-editor/)[toolbar](https://ka.wordpress.org/plugins/tags/toolbar/)
   [toolbar buttons](https://ka.wordpress.org/plugins/tags/toolbar-buttons/)
 *  [დამატებითი ხედი](https://ka.wordpress.org/plugins/post-editor-buttons-fork/advanced/)

## რეიტინგები

 4.9 out of 5 stars.

 *  [  10 5-star reviews     ](https://wordpress.org/support/plugin/post-editor-buttons-fork/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/post-editor-buttons-fork/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/post-editor-buttons-fork/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/post-editor-buttons-fork/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/post-editor-buttons-fork/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/post-editor-buttons-fork/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/post-editor-buttons-fork/reviews/)

## მონაწილეები

 *   [ Kailey (trepmal) ](https://profiles.wordpress.org/trepmal/)

## მხარდაჭერა

გაქვთ კომენტარი? გჭირდებათ დახმარება?

 [მხარდაჭერის ფორუმის ნახვა](https://wordpress.org/support/plugin/post-editor-buttons-fork/)

## შემოწირულობა

გსურთ ამ ჩადგმის განვითარების მხარდაჭერა?

 [ შეწირეთ თანხა ამ ჩადგმას ](https://paypal.me/trepmal/5usd)