• Resolved CodeyMonkey

    (@codeymonkey)


    Hi,

    I am using a local/dev environment, so I can’t paste a URL example, but I’d like to explain the issue I’ve just found using the latest WordPress/WooCommerce and your plugin version.

    I’m creating reusable blocks (standard Gutenberg blocks) e.g. those that can be found using: /wp-admin/edit.php?post_type=wp_block

    And then calling them within the header.php & footer.php e.g.

    <?php
    
        $reuse_block = get_post(99);
        $reuse_block_content = apply_filters( 'the_content', $reuse_block->post_content);
        echo $reuse_block_content;
    
    ?>

    This works great sidewide using your Bootstrap editor/code when creating resuable elements, the only issue I am facing is with your Bootstrap-created elements when specifically viewing a WooCommerce category index/page e.g. ‘/product-cat/running-shoes/

    I’m finding that the contents of the block editor e.g. images/ paragraphs etc. get displayed, but NONE of your Bootstrap code, so everything looks unfortmatted/not right at all! When inspecting the source code, the elements no longer contain any Bootstrap markup and has fully stripped the code your plugin produces.

    Can you assist/investigate further please and help with a fix?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Miles

    (@areoimiles)

    Hi @codeymonkey

    Thank you for reaching out and flagging this issue. I’m struggling to re-create the problem on my local machine, everything seems to work fine with Woo, so please could you help me replicate the issue by answering a few questions?

    Have you tried deactivating all other plugins other than Woo and All Bootstrap Blocks? There probably isn’t but, it’s worth checking that no other plugins are causing conflicts.

    Are you using a specific theme or is it custom?

    Do the reusable blocks work on other Woo templates such as the product page?

    Could you send me the contents of your header file and any custom Woo category template?

    If you could answer the above, hopefully I can replicate the issue and find a solution for you. Thanks again for flagging this.

    Miles

    Plugin Author Miles

    (@areoimiles)

    Hi @codeymonkey

    I haven’t heard back in a while, hopefully this means going through the above steps helped you solve your issue. I’m going to mark this ticket as resolved but if you’re still having problems or need any more help please don’t hesitate to get back in touch.

    Thanks

    Miles

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bootstrap not parsing / applying within WooCommerce’ is closed to new replies.