adding URL in the Thumbnail picture in Portfolio Section

This topic has 1 reply, 1 voice, and was last updated 5 years, 3 months ago by Spiracle Themes.

Viewing 1 reply thread
  • Author
    Posts
    • #1245


      Vladimir
      Guest

      Hi,

      Can you advice us with the following please?

      In the Portfolio Section, is it possible to add the URL in the Thumbnail picture instead of opening the picture in lightbox?

      Thank you,

      Regards,

      Vladimir

    • #1246


      Spiracle Themes
      Guest

      Hello Vladimir,

      You need to do some modifications in PHP code. Please follow the steps below

      Step 1) Go to your theme root folder ie (wp-content/themes/prasoon)
      Step 2) Go to inc->Widgets folder inside the theme root folder
      Step 3) Find the file portfolio-section-widget.php and open it any text editor
      Step 4) Go to line number 109 or find the line

      <p><a title="<?php echo $prjheading; ?> <small><?php echo $prjdescr; ?></small>" class="image-popup-link" href="<?php echo esc_url($image); ?>"><?php _e('VIEW','prasoon'); ?></a></p>

      Step 5) Remove the text class=”image-popup-link” from above line.
      Step 6) Save it and close
      Step 7) Now you can insert the URL in the big image field

      Warm Regards

Viewing 1 reply thread

Reply To: adding URL in the Thumbnail picture in Portfolio Section

Your information: