Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #25396

    I’m having an issue getting the Showbiz Plugin to work with the Enfold theme. It has worked with others by placing the shortcode in the editor. So within the page I added a text block and inserted the short code but nothing displays.

    If I switch to the Default Editor I can get it to display but I lose all the Advance Editor Settings. I wanted to make the page a Template using Advanced.

    Right now the only solution I can think of is to View the Source of the Result of the Advance Editor page and then copy paste that into a default editor page where I add the Showbiz plugin. I guess that would work (not tried yet) but looking for a way to use the plugin within the Advance Editor.

    #126796

    It looks like the first thing the short code does is load style settings. The advance editor seems to enclose a number of the lines in <p>. When it gets to the <div> section of the shortcode it seems ok.

    Here is what it creates:

    <div class=’avia_textblock’><p> <!– START SHOWBIZ 1.1.2 –> </p>

    <style type=”text/css”>

    /**************************************</p>

    <p> STYLE SETTINGS FOR MODERN SKIN</p>

    <p>***************************************/</p>

    <p>#showbiz_slide-our-favorite-products_1 ul { background:#000;}

    #showbiz_slide-our-favorite-products_1 ul li { margin-right:0px; border-right:1px solid #000;}</p>

    <p>#showbiz_slide-our-favorite-products_1 .darkhover { position:absolute; top:0px; left:0px; width:100%;height:100%;

    background:rgba(0,0,0,0);

    -webkit-transition: all 0.2s ease-out;

    -moz-transition: all 0.2s ease-out;

    -o-transition: all 0.2s ease-out;

    -ms-transition: all 0.2s ease-out;

    }</p>

    Here is it looks like when using the default editor:

    <!– START SHOWBIZ 1.1.2 –>

    <style type=”text/css”>

    /**************************************

    STYLE SETTINGS FOR MODERN SKIN

    ***************************************/

    #showbiz_slide-our-favorite-products_1 ul { background:#000;}

    #showbiz_slide-our-favorite-products_1 ul li { margin-right:0px; border-right:1px solid #000;}

    #showbiz_slide-our-favorite-products_1 .darkhover { position:absolute; top:0px; left:0px; width:100%;height:100%;

    background:rgba(0,0,0,0);

    -webkit-transition: all 0.2s ease-out;

    -moz-transition: all 0.2s ease-out;

    -o-transition: all 0.2s ease-out;

    -ms-transition: all 0.2s ease-out;

    }

    #126797
    #126798

    Hi,

    Why are you trying to insert css codes on text block? You can add them on custom.css.

    Please let us know if the direct html code work. We can’t give you support for 3rd party plugins but we’ll try our best to help.

    Regards,

    Ismael

    #126799

    I’m not trying to add css in the text block. I’m just trying to add the plugin shortcut … I just want to add “[showbiz slide-our-favorite-products]”. And with the advanced editor the only way seems to be through a text block.

    It is the shortcut that seems to insert the css as the first steps in the shortcut code. The Enfold Theme seems to add the <p> around it.

    It’s seems like there needs to be a different kind of component to insert beyond text block … something in the editor that allows you to just enter html or 3rd party shortcuts.

    The “Color” section seems to offer something like that but “Color” section does not work on pages that have sidebars.

    Having some problems with direct html … seems not to take the formatting of the slider but need to look more into it.

    #126800

    Please try following – open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodestextblock.php and replace

    return "<div class='avia_textblock'>".wpautop( ShortcodeHelper::avia_remove_autop($content) )."</div>";

    with

    return "<div class='avia_textblock'>".ShortcodeHelper::avia_remove_autop($content)."</div>";

    This modification will remove the wpautop() function/filter which adds p tags to the content.

    #126801

    That did it!! You guys are great! Thanks.

    #126802

    Hi Dude. I was also considering using this plugin. With your fix above, won’t this affect other pages that are being created? Seems like there should be a better fix that doesn’t break new and/or existing pages that use the layout builder. Thanks!

    #126803

    Hi!

    Yes it will remove the wpautop filter: http://codex.wordpress.org/Function_Reference/wpautop from all text elements. I’ll talk to Kriesi – maybe he can improve the the filter logic somehow.

    Best regards,

    Peter

    #126804

    Thanks Dude. I have purchased this plugin and would really like to use it within this theme. But I just can’t afford to have anything break at this point. I really appreciate if you can reach out to Kriesi on this. I’m sure this will be the case with other plugins also. Regards.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Issue with Showbiz Plugin in Advance Editor’ is closed to new replies.