#
Click Portfolio - connect to specific page

If I click view portfolio on the 3 column portfolio, it connects to the details of the portfolio. I just want to connect it to a specific page. How can I make it?

Asked 5 days ago on May 14, 2022 12:29 AM Comments 3 times


  1. Generic placeholder image

    Kintesh replied

    Hi,


    There is a two ways that may help you to do so.
    1st -  Override the single-portfolio.php template in child theme. So that theme update will not affect your changes. You can find single-portfolio.php in ../wp-content/themes/nicol/single-portfolio.php

    Copy this file in child theme and make chages in it as per your requirements.

    2nd - Make metabox using ACF for portfolio. Which gives you a field to add custom link for portfolio. And then set that links in the portfolio widget so it will redirect you to desire page .

     

    Thanks, And Regards
    - Kintesh
  2. Generic placeholder image

    정원식 replied

    can I know which code I should edit?ˀ

  3. Generic placeholder image

    Kintesh replied

    Hi, There
     
    Portfolio is the custom post type. So it will redirect you to their single page. If you want to redirect it on specific page then you have to customize the code.

    Thanks, And Regards
    - Kintesh
Recent Tickets
Admin Side Appointments N... 4 months ago on January 12, 2022 3:17 PM erro doctor - Select Clin... 1 year ago on February 22, 2021 8:25 PM NotePlus change default v... 1 year ago on February 19, 2021 10:02 PM [ERROR] Failed to import ... 1 year ago on August 22, 2020 7:19 AM Problem in building ios a... 8 hours ago on May 19, 2022 7:16 AM Homepage not clicking, on... 1 day ago on May 17, 2022 9:51 PM Click Portfolio - connect... 5 days ago on May 14, 2022 12:29 AM prescription with a Logo,... 6 days ago on May 13, 2022 7:19 AM header hides 1 week ago on May 11, 2022 9:50 AM demo 1 week ago on May 11, 2022 1:56 AM