=== Speech Bubble (吹き出しプラグイン) === Contributors: snb arisoude-nakatta,Mamoru Fukuda Tags:Speech Bubble Posts Requires at least: 3.7.1 Tested up to: 3.7.1 Stable tag: 1.0.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Easy to add Speech bubbles in your post. == Description == You can easily add speech bubble ornament in your post, without direct HTML&CSS coding.

Features

[Example and How to use Page](http://www.arisoude-nakatta.com/wp-speech-bubble-plugin-toc-v-1-0-en/ "Example and How to use") [Japanse explanation](http://www.arisoude-nakatta.com/wp-speech-bubble-plugin-toc-v-1-0-jp/ "") == Installation ==
  1. See WordPress ControlPanel.
  2. Log in.
  3. Click Plugin->Add New.
  4. Search Speech Bubble Plugin
  5. Click Active Plugin button.
You can use Speach bubbles in your post. == Frequently Asked Questions == = How to add new icon = Upload to speach-bubble/img/ folder. = How to use "Quick" type short code = Write the below example to post by "Text mode". [speech_bubble type="std" subtype="a" icon="1.jpg" name="A san" ]Ask something. [/speech_bubble] [speech_bubble type="std" subtype="b" icon="2.jpg" name="B san" ]Answer something.[/speech_bubble] [speech_bubble type="std" subtype="c" icon="1.jpg" name="A san" ]Think something. [/speech_bubble] [speech_bubble type="std" subtype="d" icon="2.jpg" name="A san" ]Think something, too.[/speech_bubble]

type: std, fb, fb-flat,ln,ln-flat,pink, rtail,drop, think

subtype: a,b,c,d

icon: Use images in "speach-bubble/img/" folder.


= How to use "ID preset" type short code = Write the below example to post by "Text mode". [speech_bubble_preset] {sb_id=11:type=std ,subtype=left1,icon=1.jpg,name=Antonio} {sb_id=22A:type=st d, subtype=right1,icon=2.jpg,name=Sebastian} {sb_id=33:type=std ,subtype=left2,icon=1.jpg,name=Antonio} {sb_id=44:type=st d, subtype=right2,icon=2.jpg,name=Sebastian} {SPEECH_BUBBLE_DELIMITER} [speech_bubble_id sb_id=11]Ask something. [/speech_bubble_id] [speech_bubble_id sb_id=22A]Answer something.[/speech_bubble_id] [speech_bubble_id sb_id=33]Think something. [/speech_bubble_id] [speech_bubble_id sb_id=44]Think something, too.[/speech_bubble_id] [/speech_bubble_preset]

subtype: a,b,c,d,L1,R1,L2,R2,left1,right1,left2,right2

This {:} section is for preset id. Write this section from [speech_bubble_useid] to {SPEECH_BUBBLE_DELIMITER}.


= These short code doesn't work well. Why? =

We think it cause maybe by miss type.

Use Developer tools -> element and Search next message in html (for example in chrome)

These code will help you.


= These short code doesn't work well. Why? (in ID preset type) =

We think it maybe cause by miss type, too. But ID preset type is more complicated.

And, then we prepare the analysing flag for preset type. Input like,

[speech_bubble_preset id_analysis="ON"] {sb_id=11:type=ste ,subtype=left1,icon=1.jpg,name=Antonio} {SPEECH_BUBBLE_DELIMITER} [speech_bubble_id sb_id=11]Ask something. [/speech_bubble_id] [/speech_bubble_preset] Show the analysed result like below in your post. ---SPEECH_BUBBLE_ID_ANALYSIS_START--- sb_id=0001 =>type="std" subtype="a" icon="1.jpg" name="A san" sb_id=0002 =>type="std" subtype="b" icon="2.jpg" name="B san" sb_id=11 =>type="SB_ALERT_TYPE_MISSING" subtype="a" icon="1.jpg" name="Antonio" ---SPEECH_BUBBLE_ID_ANALYSIS_END---

In this example, I do miss type type="ste"(std:correct), and show type="SB_ALERT_TYPE_MISSING".

sb_id=0001 and sb_id=0002 are default preset id.

Also use id_analysis = "OFF", If this flag is off, this short code work as normal ID preset type.


= Using ID preset type, line's oreder is little bit upset. Why? =

We know this sympton, and couldn't pursue the exact cause of it. One of example is below,

FIRST [speech_bubble_preset id_analysis="ON"] {sb_id=11:type=std,subtype=left1,icon=1.jpg,name=Antonio} {SPEECH_BUBBLE_DELIMITER} SECOND [speech_bubble_id sb_id=11]Ask something. [/speech_bubble_id] [/speech_bubble_preset] THIRD Result of above code. SECOND "SpeechBubble" FIRST THIRD

We have Two solution for this

Solution 1. Use all FIRST,SECOND,THIRD in speech_bubble_preset shortcode. [speech_bubble_preset id_analysis="ON"] {sb_id=11:type=std,subtype=left1,icon=1.jpg,name=Antonio} {SPEECH_BUBBLE_DELIMITER} FIRST SECOND THIRD [speech_bubble_id sb_id=11]Ask something. [/speech_bubble_id] [/speech_bubble_preset] Solution 2. Use FIRST,SECOND in speech_bubble_preset shortcode, and THIRD is used in lower outside of shortcode. [speech_bubble_preset id_analysis="ON"] {sb_id=11:type=std,subtype=left1,icon=1.jpg,name=Antonio} {SPEECH_BUBBLE_DELIMITER} FIRST SECOND [speech_bubble_id sb_id=11]Ask something. [/speech_bubble_id] [/speech_bubble_preset] THIRD(outside of shortcode) == Screenshots == 1. Example, using type="std". 1. Fit narrow frame automatically, use type="std". 1. Short code sample 1. Using type="drop", please try other type! == Upgrade Notice == Make back up of added images by yourself. == Changelog == = var 1.0.2 - Bug Fix = = var 1.0.0 - Newly created =