• Resolved sirgeordie

    (@sirgeordie)


    I’ve used the shortcode to add the table, however it is still appearing automatically at the top of the page.

    Can I disable the automatic placement of the table and just have it show with the shortcode? I am using the Divi builder for this.

Viewing 1 replies (of 1 total)
  • Plugin Author Hakik Zaman

    (@hakik)

    Hi @sirgeordie

    Thanks for reaching out to us. Please confirm you are using PVT V1.3.9

    Please create a child theme or use Code Snippet plugin. Then put the below snippet inside your child theme’s funcitons.php or inside snippet plugin.

    function pvt_divi_builder_support(){
    	global $pvtfw_table, $pvtfw_allocation;
    	remove_action('template_redirect', array( $pvtfw_table, 'remove_add_to_cart'), 29 );
    	remove_action('template_redirect', array($pvtfw_allocation, 'pvtfw_variant_table_init'), 30);
    }
    add_action('init', 'pvt_divi_builder_support');

    I have created a screencast for you, to demonstrate the process. After adding the above snippet, I have placed shortcode [pvtfw_table_display] in separate places. Please check the screencast here

    Hope to hear from you soon.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘PVT & Divi’ is closed to new replies.