Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
  • #25672


    I having some formatting issues when placing a third-party short code inside your layout short code or visual editor.

    you can see in the image the spacing the theme short code adds. I have spent hours playing in firebug but can not figure it out. I would like to use your themes layout elements for formatting, and must have the third party short code to get my dynamic content.

    please help.





    We can’t test this unless you give us a link to your website.




    Any indication on how to fix the display issues?





    Please try to insert following code into the quick css field

    .wolfnet_listings br{
    display: none !important;

    Best regards,



    this helped thank you. I still have some formatting issues, but this is caused by the plugin



    Great, glad the styling/layout looks better now :)

    Best regards,



    What’s up Dude, i talked to the plugin author and he said:

    “…JavaScript is being wrapped in paragraph tags. This is something that WordPress does when it is processing content. Normally this isn’t an issue with shortcode content however I have seen it happen with several “premium” theme frameworks and plugins which attempt to do cache. Essentially what happens in the content gets rendered and saved to the cache then it gets re-rendered when it is read from the cache and WordPress interprets line breaks and paragraphs and then adds paragraph tags. Obviously this creates unexpected consequences. The themes that I have encountered this with offered a [raw][/raw] shortcode which needed to wrap around our shortcode to prevent this from happening. Take a look at the “wpauto” filter (”

    Does enfold have such a raw short code?



    Did you try <code></code> instead of the raw shortcode?

    I think it is possible to wrap shortcodes inside a shortcode. I tested this on my end.




    code did not work. still have the added <p>


    would this affect any of your short codes?

    function my_formatter($content) {

    $new_content = '';

    $pattern_full = '{([raw].*?[/raw])}is';

    $pattern_contents = '{[raw](.*?)[/raw]}is';

    $pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE);

    foreach ($pieces as $piece) {

    if (preg_match($pattern_contents, $piece, $matches)) {

    $new_content .= $matches[1];

    } else {

    $new_content .= wptexturize(wpautop($piece));



    return $new_content;


    remove_filter('the_content', 'wpautop');

    remove_filter('the_content', 'wptexturize');

    add_filter('the_content', 'my_formatter', 99);


    [raw]Unformatted code[/raw]



    I’m trying to install the Vimeography plugin with a short code, but the layout is being messed uo.

    I’ve tried wrapping the code in [raw] and ` but it doesn’t fix it.

    This is what it should look like:</p&gt;

    This is how it displays within the Advanced layout editor: (Purchase code hidden if logged out)

    One piece of advice which the developer give (and I don’t know the answer to is the following:

    – Make sure that your theme is calling the wp_footer(); function so that all of the Vimeography stylesheets are printed.

    Please could you help?`


    Here is the link to what it should look like (re-posted):


    Hi jamesmac007,

    If the shortcode isn’t working with the Advanced Layout Editor you’ll need to use the regular visual editor and shortcodes to build the layout. There are and will always be some plugins that just don’t mesh well with the Advanced Layout Editor.





    I have tried this with my Issue and still have the same result.


    Do you have an example of it added into the regular visual editor?

    If its not working there then it could be a fundamental conflict with the theme code which doesn’t leave us much ability to try and address it.

Viewing 18 posts - 1 through 18 (of 18 total)

The topic ‘Nested short codes’ is closed to new replies.