WPAlchemy repeating and single textarea – shortcode problem

Home Forums WPAlchemy WPAlchemy repeating and single textarea – shortcode problem

This topic contains 1 reply, has 1 voice, and was last updated by  defi 1 year, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2484

    defi
    Participant

    Hey,

    Im using WP Alchemy Holy Grail to display multiply tinymce custom fields but i have problem with shortcodes.

    They dont work. They are just shown as [shortode]qq[/shortcode]

    Is there anyway to use shortcode in those fields ?

    Best Regards
    Charles

    #2485

    defi
    Participant

    I guess that my changes did the problem becouse with WPAlchemy default template all looks good.

    Thats how i print data from textarea in front-end

    apply_filters('meta_content',$qq['textarea']

    Also im using apply_fillters from an example template:

    add_filter( 'meta_content', 'wptexturize' );
    add_filter( 'meta_content', 'convert_smilies' );
    add_filter( 'meta_content', 'convert_chars' );

    //use my override wpautop
    if(function_exists('override_wpautop')){
    add_filter( 'meta_content', 'override_wpautop' );
    } else {
    add_filter( 'meta_content', 'wpautop' );
    }
    add_filter( 'meta_content', 'shortcode_unautop' );
    add_filter( 'meta_content', 'prepend_attachment' );

    • This reply was modified 1 year, 8 months ago by  defi.
    • This reply was modified 1 year, 8 months ago by  defi.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.