Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #66629
    Math
    Member
    Post count: 30

    Hi,

    I disabled Love It from the theme options panel, but now there’s an empty space in the “share links” where the Love It button used to be. Is there a way to remove it?

    I tried “display: none” but that hid the entire box, and made the panel look unsymmetrical (left side corners would be boxy and right side would be curved).

    Here’s my site… Bjior

    #66632
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit single-portfolio.php
    Find this code 140

    <li class="sf-love">
    <div class="comments-likes">
    <?php if (function_exists( 'lip_love_it_link' )) {
    echo lip_love_it_link(get_the_ID(), '<i class="ss-heart"></i>', '<i class="ss-heart"></i>', false);
    } ?>
    </div>
    </li>

    Replace with

    <?php if (function_exists( 'lip_love_it_link' )) {
    <li class="sf-love">
    <div class="comments-likes">
    echo lip_love_it_link(get_the_ID(), '<i class="ss-heart"></i>', '<i class="ss-heart"></i>', false);
    </div>
    </li>
    } ?>

    Thanks

    #66680
    Math
    Member
    Post count: 30

    Hi Mohammed,

    That didn’t work…the page stopped functioning.

    #66681
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please replace with given below code because i missed <?php tag .

    Replace with

    <?php if (function_exists( 'lip_love_it_link' )) {
    <li class="sf-love">
    <div class="comments-likes">
    echo lip_love_it_link(get_the_ID(), '<i class="ss-heart"></i>', '<i class="ss-heart"></i>', false);
    </div>
    </li>
    <?php } ?>

    Thanks

    #66684
    Math
    Member
    Post count: 30

    Thanks for that quick response but it still breaks the page. Still not working.

    Don’t know too much about php, but you have two opening php tags and only one closing tag.

    #66687
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please find this code
    <?php if (function_exists( ‘lip_love_it_link’ )) {

    Replace with
    <?php if (function_exists( ‘lip_love_it_link’ )) { ?>

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #66690
    Math
    Member
    Post count: 30

    The page is now working but that didn’t remove the empty box though.

    #66692
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You need to remove all code . I am sure that it will work 100% .

    <?php if (function_exists( 'lip_love_it_link' )) { ?>
    <li class="sf-love">
    <div class="comments-likes">
    echo lip_love_it_link(get_the_ID(), '<i class="ss-heart"></i>', '<i class="ss-heart"></i>', false);
    </div>
    </li>
    <?php } ?>

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #66694
    Math
    Member
    Post count: 30

    I didn’t know it needed to be changed at two locations. Ok it works now.

    Thank you for your patience and help!!

    #66696
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I’m glad that issue resolved .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register