pixelmorph
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] yoast sitemap xml :This is not a valid URL.well sure but how do i get the pluggin to do that?
Forum: Plugins
In reply to: [WooCommerce Product Tabs] #anchors and keyscan 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 #Forum: Themes and Templates
In reply to: [Storefront] customize featured products homepageyes ! 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*Forum: Plugins
In reply to: [SD PDF Template Customizer] Installs though not sure what to dohi 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