Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1259332

    With Enfold Child Category Styling set to Display product and description as fullwidth page banner (https://prnt.sc/vg7zkg) shortcode will not be rendered (https://prnt.sc/vg82mw). This is the category page set to default styling (https://prnt.sc/vg85li). Is there a solution to this? as I am trying to standardize the look of my store with a fullwidth banner on category pages.

    Thank you,

    John

    #1259854

    Hey crabjack,

    Thank you for the inquiry.

    We might have to wrap the description output with the do_shortcode function in the avia_woocommerce_parallax_banner function. This function or snippet is in the enfold\config-woocommerce\config.php file around line 1135.

    if($description) $output .= "<h1>".$description."</h1>";
    

    Replace the line with:

    if($description) $output .= "<h1>".do_shortcode($description)."</h1>";
    

    Best regards,
    Ismael

    #1259947

    Hi Ismael,

    Perfect – Just what I wanted!

    Thanks for your help.

    John

    #1260010

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Shortcode not rendering when category styling set to fullwidth page banner’ is closed to new replies.