By default, all the portfolio items have this format, http://abc.com/?portfolio=portfolio1. For our project, we have courses as our portfolio. So in such case, how can I replace the “portfolio” with “course” in the URL?
1) Go to Settings > Permalinks and select a “pretty” permalink structure
2) Go to Enfold > General Settings and insert “course” in the “Portfolio: Enter a page slug…” option field.
I did #2 but not #1 because I have WPML and it was recommending me not to use the “pretty” permalink. Is that the reason why URLs have “portfolio” instead of “course”?
Yes, if you don’t use pretty permalinks wordpress will just add the custom post type name to the php query vars. In this case the post type is called “portfolio”.
so in other words, only the default term “portfolio” would be used if don’t configure WP to use pretty permalink and that “portfolio” word cannot be changed in such a case?
The topic ‘Customization of the portfolio URL format’ is closed to new replies.