Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #161743

    I have created a Page with portfolio-grid. This works perfectly. URL shows as \?page=992
    Items are shown 4 across with no sidebar as I specified for page.
    Portfolio category is committee.

    When I click on a portfolio item image it displays the item on its own page. eg. URL as /?portfolio=secretary
    Breadcrumb shows Home / Committee / secretary

    Problem: If I click on Committee in breadcrumb, it does not go back to committee page ( /?page=992)
    but instead displays a default page with portfolio grid 3 across and sidebar. URL /?portfolio_entries=committee

    How can I change this, or edit the default page???

    #161987

    Hi,

    The content of that page is handled by the “taxonomy-portfolio_entries.php” file in the theme directory, you can change it the way you want, however i found a better solution:

    1. Create a file with this exact name: taxonomy-portfolio_entries-committee.php (in the root of the theme folder)

    2. Open it and paste this code:

    <?php header("Location: http://yourwebsite.com/?page=992"); ?>

    3. Replace “http://yourwebsite.com/&#8221; with the correct URL.

    This will redirect from /?portfolio_entries=committee to /?page=992.

    Regards,
    Josue

    #162115

    Works perfectly. THANK YOU.

    #162119

    I have several different portfolio Categories, and doing the same for all of them I will end up with lots of small files in the theme folder. Just for neatness, is there an easy way to combine these various redirects into one file?

    Regards
    Chris

    #162270

    Hi Chad,

    You could try using server redirection (.htaccess) with a plugin like this one.

    Regards,
    Josue

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Portfolio_entries. Where to edit?’ is closed to new replies.