do_shortcode & render custom field won’t work

Question

I am wondering why this code just won’t work.. I am frustrated about it. It creates the tabs, but doesn’t render the custom fields (types).

<?php
    echo do_shortcode('[xt_tabs_button]'.' 

        do_shortcode([xt_tab title="Informatie"] (types_render_field("informatie", array("output"=>"html"))); [/xt_tab]);
        do_shortcode([xt_tab title="Spelregels"] (types_render_field("spelregels", array("output"=>"html"))); [/xt_tab]);

    '.'[/xt_tabs_button]');
?>

How can I make this code work?

0
Dylan D 8 years 2013-02-23T06:51:02-05:00 0 Answers 78 views 0

Leave an answer

Browse
Browse