How do I add a row of social media icons in the footer? and lightbox image quest

This topic has 11 replies, 3 voices, and was last updated 9 years, 1 months ago ago by Eva Kemp

  • Avatar: justdave
    justdave
    Participant
    December 22, 2015 at 23:10

    I want to add a horizontal set of social media icons linking to my different social media profiles. Is there an easy way to do this?

    Also in woocommerce when I open a product image in the lightbox there is a title here I can’t seem to get rid of despite specifying all fields for the image including alt description and title. The class for this text is class=”mfp-title”. Where can I change this?

    Thanks
    Dave

    10 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 23, 2015 at 09:08

    Hello,

    You can add social icons using shortcode [share].
    To change links to your social accounts you need edit the file wp-content/themes/classico/framework/shortcodes.php in line 459 (find the section “Share This Product”) and edit the code, for example for Twitter <a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ETHEME_DOMAIN).'" target="_blank"> and replace https://twitter.com/share?url='.$permalink.'&text='.$post_title.' with a link to your Twitter account.

    Do you mean to remove lightbox title or change it?
    Please show a screenshot for better understanding.

    Best regards,
    Jack Richardson.

    Avatar: justdave
    justdave
    Participant
    December 23, 2015 at 09:32

    Hi
    I am wanting to use the share this product code too, this wont affect that right? I want to change or remove the lightbox title without resorting to a display none in css. Ideally it would be the title or caption of the image.

    Dave

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 23, 2015 at 09:50

    Hello,

    In this case you have to use some plugin for social icons.
    Please show on a screenshot what you want to remove and provide us with WP Dashboard credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: justdave
    justdave
    Participant
    January 2, 2016 at 03:47

    I want to be able to show the caption or something there, or nothing at all without resorting to css.

    https://dl.dropboxusercontent.com/u/9461810/Capture.PNG

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 4, 2016 at 08:53

    Hello,

    Sorry, but your last query is unclear.
    Please clarify with more details what you want to do with that image.

    Thank you.

    Best regards,
    Jack Richardson.

    Avatar: justdave
    justdave
    Participant
    January 4, 2016 at 09:38

    How can it be any more clear. On lightbox photos in thw woocommerce store there is a title here cpation. All fields are set on the image. How do I get rid of the “title here2 text without display none.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 4, 2016 at 13:53

    Hello,

    Please show us direct page where the title is shown and provide us with WP Dashboard credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: justdave
    justdave
    Participant
    January 4, 2016 at 22:14

    With all due respect I’d rather not give the admin login. If you tell me what to edit it I will do it myself.

    I have provided a link to a page; every image has the title here in the lightbox view.

    Regards
    Dave

    Please, contact administrator
    for this information.
    Avatar: justdave
    justdave
    Participant
    January 4, 2016 at 23:45

    I have fixed it myself now. If anyone else has issues the problem is in line 54 of:

    /wp-content/themes/classico/woocommerce/single-product/product-image.php

    Change: ” class=”product-lightbox-btn” <?php echo $data_rel; ?> title=”title here”>lightbox

    to:

    ” class=”product-lightbox-btn” <?php echo $data_rel; ?> title=”<?php echo $image_title?>”>lightbox

    If this could be fixed in the next update that would be ideal 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    January 5, 2016 at 09:04

    Hello,

    We’re glad you’ve found the solution.
    If there are any questions feel free to contact us.

    Regards,
    Eva Kemp.

  • Viewing 11 results - 1 through 11 (of 11 total)

The issue related to '‘How do I add a row of social media icons in the footer? and lightbox image quest’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.