Change Portfolio/project url - by TRUEcph

This topic has 4 replies, 3 voices, and was last updated 9 years ago ago by Brian Johnson

  • Avatar: TRUEcph
    TRUEcph
    Participant
    November 26, 2015 at 21:09

    Hi

    I have made a standard page and via JS composer put in a post grid with the portfolio items.

    The page where I have the portfolio is called /press, but when I click one of the items (portfolio items) it links to: /project/description-5/

    How do I change “project” to “press

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 27, 2015 at 10:30

    Hello,

    To change project slug you need to edit the file wp-content/plugins/et-post-types/post-types.php in line 95.

    Best regards,
    Jack Richardson.

    Avatar: TRUEcph
    TRUEcph
    Participant
    November 27, 2015 at 10:33

    Can I copy that to the child theme to make sure it stays after updates?

    If so what would the folder structure be?

    Avatar: Brian Johnson
    Brian Johnson
    Member
    November 27, 2015 at 10:42

    Hello

    In this case you should copy both et-post-typs folder and file with changes(Childtheme\et-post-types\post-types.php)

    Regards,
    Brian Johnson

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.