Shortcodes_xh : Compatibility WordPress shortcode syntax :

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
utaka
Posts: 52
Joined: Fri Sep 18, 2015 6:00 am
Location: japanese
Contact:

Shortcodes_xh : Compatibility WordPress shortcode syntax :

Post by utaka » Mon Feb 08, 2016 3:52 pm

[ external image ]
This plugin is to use the familiar WordPress shortcode syntax in CMSimple_XH.
Supports enclosing shortcodes such as [myshortcode]content[/myshortcode]

For Developer :Usage The location of the short code that you have created.
  • Type1:plugins/shortcodes_xh/shortcodes_library/
    shortcodes_library/* is ideal for the location of a simple short code .like plugins/shortcodes_xh/shortcodes_library/class_sample_hello2.php .
    Type2:plugins/
    Complex short code that uses javascript and style, please be installed as New plugin ,like plugins/sc_column-shortcodes
Function List

Code: Select all

/** plugins\shortcodes_xh\core\shortcodes_xh.php **/
global $badcow_shortcode

add_shortcode($tag, $func)
remove_shortcode($tag)
remove_all_shortcodes()
shortcode_exists( $tag )
has_shortcode( $content, $tag )
do_shortcode( $content, $ignore_html = false )
get_shortcode_regex( $tagnames = null )
do_shortcode_tag( $m )
unescape_invalid_shortcodes( $content )
get_shortcode_atts_regex()
strip_shortcodes( $content )
strip_shortcode_tag( $m )

shortcode_parse_atts($text)
do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames )
shortcode_atts( $pairs, $atts, $shortcode = '' )
shortcode_unautop( $pee )

/** Core ***/
plugins\shortcodes_xh\core\shortcodes.php
Include Sample1:
* 1:[y_url href="http://www.cmsimple-xh.org"]Site[/y_url]
* 2: no=1,2,3,4,5 [y_htag no="1"]ABCDE[/y_htag]
* 3:[y_class color="#00f" font-size="13px"]CMSimple_XH... [/y_class]
* 4:[y_hide]This text is only login_user can see [/y_hide]


2016/08 Add . Display Plugin's Code :P
* 5:[dpc]{{{test('aaaaa','bbbb');}}}[/dpc] --> Display/Show {{{test('aaaaa','bbbb');}}} .


Include Sample2:Column Shortcodes:

Code: Select all

[full_width][/full_width]
[one_half][/one_half]
[one_half_last][/one_half_last]
[one_third][/one_third]
[one_third_last][/one_third_last]
[two_third][/two_third]
[two_third_last][/two_third_last]
[one_fourth][/one_fourth]
[one_fourth_last][/one_fourth_last]
[three_fourth][/three_fourth]
[three_fourth_last][/three_fourth_last]
[one_fifth][/one_fifth]
[one_fifth_last][/one_fifth_last]
[two_fifth][/two_fifth]
[two_fifth_last][/two_fifth_last]
[three_fifth][/three_fifth]
[three_fifth_last][/three_fifth_last]
[four_fifth][/four_fifth]
[four_fifth_last][/four_fifth_last]
[one_sixth][/one_sixth]
[one_sixth_last][/one_sixth_last]
[five_sixth][/five_sixth]
[five_sixth_last][/five_sixth_last]
[ external image ]
Original https://wordpress.org/plugins/column-shortcodes/ (Ver0.6.6)



Download: https://github.com/bbfriend/shortcodes_xh
******************************************************
Japan Site http://cmsimple-jp.org
Twitter Googe+ github
*I English is not a good . I'm sorry...
*Ich habe nicht eine gut Deutsch. Es tut mir leid ...
*Jeg kender ikke dansk
--Powered by Google Translate-----

Post Reply