Link of each Project


#1

When I’m configuring the projects information, I putted a link to a created page.

The result is that When we click in the image of the project, the links goes to that page.

When we click in the link of the project name (just below the image) it goes to the “automatic page” of the project.

How can We solve this?

Thank you!


#2

Hello there,

Please try doing the below steps:

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box
    jQuery(function($) {

      if( $('.widget_athemes_portfolio').length ) {
        $('.portfolio-section .portfolio-item').each(function(){
          var link = $(this).children('a').attr('href');
          if(link != undefined) {
            $(this).children('.portfolio-content').find('a').attr('href', link);
          }
        });
      }

    });
  1. Update

You might need to flush any applied site cache. Otherwise the new code addition won’t take any effect in the front-end. Further reading regarding this:
https://codex.wordpress.org/I_Make_Changes_and_Nothing_Happens

Regards,
Kharis


#3

Hi! Even cleaning the cookies does not work but solve with other solution. Thanks!


#4

Hello there,

Please share a link to your projects page to allow me inspecting and correcting the code, as probably you’ve enabled different projects layout.

Regards,
Kharis


#5

Hi! The website is not online yet, but We solve the problem. Thanks!