Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pixelmorph

    (@pixelmorph)

    well sure but how do i get the pluggin to do that?

    Thread Starter pixelmorph

    (@pixelmorph)

    can anyone help ?

    Im trying to give the user a link to either open or at least navigate to a specific tab
    how do i get or assign a tab an id #

    Thread Starter pixelmorph

    (@pixelmorph)

    yes ! sort of muddled through not perfect and theres probably better ways to do it but I found a mod that targeted the image thumbnail and got it working:

    if ( ! function_exists( ‘woocommerce_template_loop_product_thumbnail’ ) ) {

    function woocommerce_template_loop_product_thumbnail() {

    echo woocommerce_get_product_thumbnail();

    }

    }

    if ( ! function_exists( ‘woocommerce_get_product_thumbnail’ ) ) {

    function woocommerce_get_product_thumbnail( $size = ‘shop_catalog’, $placeholder_width = 0, $placeholder_height = 0 ) {

    global $post, $woocommerce;

    $output = $output =
    ‘<div class=”featured_text”>’.
    ‘<h3 class=”featured-heading”>Featured Product</h3>’.
    ‘<h4 class= “featured-product_heading”>’.
    the_title().
    ‘</h4>
    <p class= “featured-desc”>’.the_excerpt().'</p></div>
    <div class=”imagewrapper”>’;

    if ( has_post_thumbnail() ) {

    $output .= get_the_post_thumbnail( $post->ID, $size );

    }

    $output .= ‘</div>’;

    return $output;

    }

    }

    removing the title underneath is going to also be tricky as i feel like i have to fish for where it lives
    heres my site..
    https://www.pixelmorph.com.au/sandbox/
    odd that it seems to write the title before the <h3> content – given its shoved in after.
    making it conditional on the front page sounds like a fantastic plan ill go look at that now.
    *grow brain grow*

    hi i cant seem to activate it… tryed your suggestion of doing that through the database but im not sure what to put in there to force it.. php error message :
    plugins.php?error=true&charsout=258&plugin=sd-pdf-template-customizer%2FSD_PDF_Template_Customizer.php&plugin_status=all&paged=1&s&_error_nonce=9fa8304119

Viewing 4 replies - 1 through 4 (of 4 total)