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

  1. sitesme
    Posted 2 years ago #


    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


  2. Tobias Schutter
    Plugin Author

    Posted 2 years 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

  • Column Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.