Close

Account

Documentation

Forum

Menu

Portfolio layout lost when using generated links

  • Post count: 3
    hermbil
    April 19, 2017 at 12:44 am #23413

    Hello,

    I’m building a portfolio of hotels for my site, and each portfolio page is set to “Cover Portfolio” > “Portfolio Layout – Normal”. Note that I renamed “Portfolio Layout – Normal” to “Accommodation Options” to make the URL structure more intuitive, and the URL structure includes “accommodations” to trigger the right template.

    As an example, here’s one page: http://billandkaio.com/accommodations/fasano/

    Whenever there’s a generated link to a specific portfolio page, such as the “next button” on the page above, the “accommodations” is dropped from the URL, and the template changes to only shows a thumbnail.

    For example, clicking on the next button on the page above goes to http://billandkaio.com/sol-ipanema/ when it should go to http://billandkaio.com/accommodations/sol-ipanema/

    Can you please advise why this might be happening and how I might be able to fix this?

    Thanks,

    Bill

    Post count: 3
    hermbil
    April 19, 2017 at 12:51 am #23414

    Sorry, quick update. I noticed that the links I provided above are actually working as they should. Looks like it’s limited to certain portfolio pages. Here’s an example where it fails:

    Here’s one page: http://billandkaio.com/accommodations/sol-ipanema

    Clicking on the next button on the page above goes to http://billandkaio.com/caesar-park/ when it should go to http://billandkaio.com/accommodations/caesar-park/

    Post count: 6402
    Adek
    April 19, 2017 at 2:37 am #23416

    Hi Hermbil,

    Yeah i notice these issues. Please try to replace this file /jkreativ-themes/template/portfolio/template-portfolio-cover.php with this one https://pastebin.com/eGhAarpE

    Let us know if you have further question.

    Thank you

You must be logged in to reply to this topic.