Services – Linking Images to Page within Site

  • Hello,

    I really like the services section and I am uploading images instead of using icons. I’d like customers to be able to click pictures and be taken to the appropriate page of my website. Where can I add hyper links to uploaded images in the services section?

    Thanks,
    Dee

    @dudette3d

    Unfortunately, this cannot be done at this time without editing the Widget files.

    /inc/widgets/services-widget.php

    You are welcome to edit it if you like.

    We will be adding this feature in the next release of Integral.

    Okay, thanks. Are you able to help me with what code and where to insert in the below code?

    $services_layout = $integral[‘services-layout’];

    register_sidebar( array(
    ‘name’ =>__( ‘Homepage Services Section’, ‘integral’),
    ‘id’ => ‘service-widgets’,
    ‘description’ => __( ‘The SERVICES section which appears on the homepage. Drag and drop widgets titled [Integral – Service Widget] here to add services.’, ‘integral’ ),
    ‘before_widget’ => ‘<div class=”col-sm-‘.$services_layout.’ col-md-‘.$services_layout.’ col-lg-‘.$services_layout.’ feature”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h3>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    The file which you need to edit is service_widget.php located in /inc/widgets/.

    We will be adding this as a new feature in the next release of Integral, which will be in the next 1-2 weeks.

    Either you can wait until then or you can edit the file yourself.

    Here is a widget file which contains a link, https://www.dropbox.com/s/s95bas6disydnu4/feature-widget.php?dl=0

    You can use this file to compare with the current service_widget.php and re-create the link feature.

    You will see references to btn_link

    Hope that helps for now.

You must be logged in to reply to this topic.