• Resolved bctech05

    (@bctech05)


    Currently product images link to individual product links. I wish to link product titles below images to products links as well. How to do that? Can somebody please help? Thanks.

    • This topic was modified 5 years, 11 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • You currently use the 456industry theme that could not be found in the wordpress.org/themes/ directory. I recommend asking at your theme’s support channel, so you can get support from the people who know it best.

    Kind regards

    Thread Starter bctech05

    (@bctech05)

    The site was developed by someone and I don’t have contact of theme developer. I now host the site myself. That’s why I need to figure out myself.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Developing with WordPress topic.

    Thread Starter bctech05

    (@bctech05)

    I have still not found a solution..

    Thread Starter bctech05

    (@bctech05)

    I took professional help. Developer added following code to content-product.php file under class=”item-details”.

    Before

    <?php woocommerce_get_template( 'loop/price.php' );?>
    <div class="item-details">
    <h3><?php the_title(); ?></h3>
    <div class="product-item-cat"><?php echo $product->get_categories(', ');?></div>
    </div>

    After

    <?php woocommerce_get_template( 'loop/price.php' );?>
    <div class="item-details">
    <h3><a href="<?php echo get_permalink(); ?>" class="custom-link"><?php the_title(); ?></a></h3>
    <div class="product-item-cat"><?php echo $product->get_categories(', ');?></div>
    </div>
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Link Title to Products’ is closed to new replies.