WordPress.org

Ready to get started?Download WordPress

Forums

Column Shortcodes
[resolved] Rename the shortcodes (2 posts)

  1. sitesme
    Member
    Posted 1 year ago #

    Hi,

    This plugin is awesome, but my existing theme uses the same shortcodes.
    How can I change the shortcode names? I tried renaming to [cs_one_half] on the PHP file but then I don't get the "last" column code properly: http://d.pr/i/ql8P/3fibaWWF

    Any help please?

    Thank you

    http://wordpress.org/extend/plugins/column-shortcodes/

  2. Tobias Schutter
    Member
    Plugin Author

    Posted 1 year ago #

    I have a fix ready for this, will include it in v0.6.

    In the meanwhile you can get the beta from github: https://github.com/codepress/column-shortcodes

    You can prefix the shortcode by placing the following in your functions.php.

    add_filter( 'cpsh_prefix', 'set_shortcode_prefix' );
    function set_shortcode_prefix() {
    	return 'myprefix_'; // edit this part if needed
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.