=== 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.
[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.
[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}.
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.
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.
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 =