Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi nicheru,

    I just ran a test using the Zerif Lite theme and the columns displayed as expected. Have you tried deactivating your other plugins to see if the problem stops happening? In doing so you might be able to determine which the plugin (is there is one) that is causing the conflict. If you can isolate the plugin(s), I will look into them.

    My guess is that the custom CSS that this plugin adds is being overwritten somehow. But I can confirm that this plugin with a fresh install of Zerif Lite seems to exhibit no issues.

    Nick

    Thread Starter nicheru

    (@nicheru)

    Hi Nick,

    Thank you for that.
    It is working only for the default post description.

    I have additional custom metaboxes and it is not working.
    I think the custom metabox does not convert the shortcode.

    Is there any way that I could do_shortcode the custom ones?

    Nicheru

    Plugin Author Nick Diego

    (@ndiego)

    Hi nicheru,

    Yes you would have to wrap the output of the metaboxes such as do_shortcode( $content ) where $content is just the output of the metaboxes. Did you create the metaboxes, or were they generated by some other plugin. If the later, I would hope there is an option to enable shortcodes. If you created them, then adding do_shortcode() is really straight forwards.

    Let me know if I can do anything else to help.

    Nick

    Thread Starter nicheru

    (@nicheru)

    Hi Nick,

    I am really new at wordpress, where can I put the code do_shortcode?
    I created the custom metaboxes.

    Thank you.

    Plugin Author Nick Diego

    (@ndiego)

    Hi nicheru,

    How did you create the metaboxes, by hand, or are you using another plugin to create them? If by a plugin you might be out of luck unless the plugin includes an option to allow shortcodes.

    If you actually coded them yourself, you should be able to manipulate how the data is “printed” to the frontend of your site. All of the data that is saved in the metabox will be stored as metadata attached to the post/page the metabox is on. You must have created a function that take this metadata and does something with it on the frontend such as echoing it out. So for instance, if you are echoing it, something like this might work: echo do_shortcode( $metabox_content ).

    I hope this helps a little.

    Nick

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode not working in fields’ is closed to new replies.