Viewing 8 posts - 1 through 8 (of 8 total)
  • #19935
    urba
    Member
    Post count: 28

    Hi,
    In my main menu, instead of having a page named “Portfolio”, I’ve called it “Collection”.
    I used the Portfolio section to add my collection items but when I view the item page, the breadcrumbs indicate …/portfolio/MyItem but I would like to read …/collection/MyItem instead. Is it possible?

    Thanks!

    #20164
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You have to edit /includes/custom-post-types/portfolio-type.php via FTP; change line 29 from

    'name' => _x('Portfolio', 'post type general name', "swiftframework"),
    

    to

    'name' => _x('Collections', 'post type general name', "swiftframework"),
    

    Let me know, what you got.

    Thanks,
    laranz.

    #20199
    urba
    Member
    Post count: 28

    Thank you so much Laranz.
    It worked perfectly! : )

    Now I’m wondering, when I make changes like that on .php files, is that changes will be kept if I upgrade to a new version of Neighborhood?

    If not, should I make a copy a the .php file first in my -child folder, then make the change?

    Thanks!

    #20327
    Melanie – SUPPORT
    Member
    Post count: 11032

    Yes you need to modify them in a child theme if you want to safely upgrade. Cheers”!

    #20334
    urba
    Member
    Post count: 28

    Ok, so, just to make sure, if for example I made a change in the portfolio-type.php file, I simply made a copy of this file, with the same name, and I place it in my child folder?

    #20458
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    I am not have much experience in child themes, but Changing the name of the Custom Post type from child theme is a tedious process, if you are okay with coding you can try searching Google for your solution.

    Thanks,
    laranz.

    #20493
    urba
    Member
    Post count: 28

    Ok, I will make some search on Google about that.
    Thank you both!

    #20534
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Thanks 🙂

    Let me know if you have any other questions.

    Thanks,
    laranz.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register