• Resolved johnph88

    (@johnph88)


    How to remove title Campaign Story without the Campaign Story content?

    There 2 lines with string < Campaign Story > : 1 in #wpneo-tab-description and 1 in wpneo-tab-content.

    How to remove the tab and relocate tab-content?

    Thank You —- by the way great plugin !

Viewing 3 replies - 1 through 3 (of 3 total)
  • FahimMurshed

    (@fahimmurshed)

    Hello,
    Thank you so much for using WP Crowdfunding plugin.

    You can remove that title two ways.

    1. Go to this file and remove this line \wp-crowdfunding\wpneotemplate\woocommerce\basic\include\tabs\story-tab.php

    <h2><?php _e(‘Project Story’, ‘wp-crowdfunding’) ?></h2>

    2. You can add CSS code on your theme style.css file

    .wpneo-tab h2 {
    margin-top: 15px;
    margin-bottom: 15px;
    display: none;
    }

    If you need more help, don’t hesitate to email us [email protected] also if you like our plugin, don’t forget to give us 5 stars rate with your review.

    Have a wonderful day.

    Fahim Murshed
    WPNeo Team

    Thread Starter johnph88

    (@johnph88)

    Hi – Thank you for your reply.
    almost but not quite there — the tab is still present

    Is something alike possible for WP Crowdfunding ?

    step_01 : remove tab
    step_02 : relocate description

    please find this example for woocommerce

    //step_01 : remove tab

    add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );

    function woo_remove_product_tabs( $tabs ) {
    unset( $tabs[‘description’] ); // Remove the description tab
    return $tabs;
    }

    //step_02 : relocate description + + adjust layout

    function woo_single_product_description() {
    echo ‘<div class=”single-product-description-section-wrap-WDM”>’;
    woocommerce_get_template( ‘single-product/tabs/description.php’ );
    echo ‘</div>’;
    }

    add_action( ‘woocommerce_after_single_product_summary’, ‘woo_single_product_description’, 40 );

    Thread Starter johnph88

    (@johnph88)

    solved
    in Dashboard —> Crowdfunding –> Woocommerce settings
    radio < In WooCommerce Default > in < Load single campaign template >

    consequently Crowdfunding follows the hooks mentioned in my previous post

    Great Day to All ! – Grtz. John

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to remove title Campaign Story without the Campaign Story content’ is closed to new replies.