Pilot Fish
Changing project URL (3 posts)

  1. 000HR000
    Posted 3 years ago #

    Hi Daniel,

    thank you for this beautiful theme, I have a simple question but I really can't figure out the solution by myself.

    I'm trying to use an URL different from 'project' for the portfolio section.

    If I simply change the post-type and names in register_post_type function (scripts.php file), it doesn't works. I can access the customized archive section but WordPress doesn't load posts I entered with the modified tag that is no more 'project' but a new customized one.
    Can you explain me how to change the post type name without this side effect?

    I really thank you in advance!

  2. Daniel Zhao
    Theme Author

    Posted 3 years ago #

    Hi Marco -- do you have an live example so I can look? What is the URL of your site?

  3. 000HR000
    Posted 3 years ago #

    Hi Danni, thanx for your reply. Actually I don't have a running site but only a temporary one where I do some experiment.
    However I'll try to explain what I mean. If you take for example yor site, I'd like to do this URL customization:

    --> http://danielatwork.com/custom-post-type/

    and of course:
    --> http://danielatwork.com/custom-post-type/utopia-meio/

    I tried to edit the register_post_type() function but it doesn't work.
    Could you tell me how to rename the "project" folder / post-type?

    Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic