HarroH
Member
Posted 9 months ago #
Hi All,
First of all; awesome plugin. All kudos to the developer(s).
However, I seem to have a problem with the WYSIWYG editor. I made a custom field, added it to my content type. Filled it in when adding a new page for this content type. I can see the value in my database. But as soon as I do...
print_custom_field('vacanciestxt:do_shortcode');
...I get no output of the actual text. Tested it by using this and the sample template, but on both templates I get no value back.
Anybody any idea what could be going wrong here?
http://wordpress.org/extend/plugins/custom-content-type-manager/
Try using the "raw" output filter and see if that shows anything:
print_custom_field('vacanciestxt:raw');
That would tell you if the problem was in the "do_shortcode" function.
Rimmon
Member
Posted 8 months ago #
There is a problem with do_shortcode function. It works using the RAW filter, but it doesn't work using do_shortcode.
I've had problems with the do_shortcode() function in the more recent versions of WP -- the CCTM just wraps WP's function, but I think WP is doing something weird there like relying on global variables or ???. You can try adding an event in your functions.php file.