So I am currently still playing around with the theme doing some child theme edits etc etc.
While I was in the process of creating all of our Portfolio items I added a custom slug in the portfolio options (I named it "resultaten" which translates to "results"). so my Portfolio item url will be like: http://development.redactiepartners.nl/resultaten/portfolio-name
What I would like to have is the following: http://development.redactiepartners.nl/resultaten/category-name/portfolio-item/
Where in the theme can I find the code to edit this maybe? or is this a simple edit?.
It allows me to edit the permalink more but I think it has something to do with the way the custom post type works. Somehow the code does not understand that %category% is set for the "Portfolio" Custom post type.
If I use %category% for the normal blog posts it works the permalink will show the category.
But the pages for Portfolio Items will literally have "%category%" embedded in the url structure.
Do you guys use a special name for the categories in the Portfolio post type? or is %category% not defined in your code. I am not 100% sure how this works cause I never created something like that before.
I am not using Wordpress SEO plugins that break the tag (in fact there are nog extra plugins used except for Revolution Slider)
Here is a post I found that sounds like the problem I am encountering maybe you can make sense of it in terms of the theme?
Okay so I found a solution. Using the plugin you mentioned instead of adding "%category%" to the line I instead looked in the code and just by trial and error I found out that "%project-type%" does exactly what I want.
So now my permalink structure for portfolio items is as follows "/resultaten/%project-type%/%postname%/" and that generates the exact url that I need.
No problem! as always the support here is great. I was especially surprised to see a fix for WP3.9 this morning so fast! I definitely do not regret my purchase on this theme dare I say you could even bump up the price for the theme! Considering the amount of support and work has been done I am definitely very happy.
I will mark this topic as closed since you did help me along the way and of course I got my answer :)
Awesome help with this plugin, i was looking to do exactly this. Now is there a way to remove the portfolio slug completely (the "reslutaten" in Patrick's example)? I am using portfolio items for many different things on my website and for examples for the 'location' category i would like to have the url:
I believe for that you will have to do some url rewriting. Not really an expert so best would be to google it out :) . Just found this link: http://vip.wordpress.com/documentation/remove-the-slug-from-your-custom-post-type-permalinks/
Thanks for the plugin. It's working fine for me when we have only a Parent Category; it's not working for the sub-category and sub-sub-category. Could you please assist?
You can please reach out to the plugin's team as it is not our plugin. While we are experts in our own products, third-party plugins are best handled by their owners.
If you have any more questions or run into any problems, please feel free to reach out.
I am afraid in this case you will have to amend the "Portfolio" CPT code that is registering it. Please create a new ticket with your login credentials and elaborate on what you exactly intend to do .
Greetings Nectarians!
So I am currently still playing around with the theme doing some child theme edits etc etc.
While I was in the process of creating all of our Portfolio items I added a custom slug in the portfolio options (I named it "resultaten" which translates to "results").
so my Portfolio item url will be like:
http://development.redactiepartners.nl/resultaten/portfolio-name
What I would like to have is the following:
http://development.redactiepartners.nl/resultaten/category-name/portfolio-item/
Where in the theme can I find the code to edit this maybe? or is this a simple edit?.
Hey Patrick!
You can try out this plugin http://wordpress.org/plugins/custom-post-type-perm... .
Hope this helps.
Cheers
ThemeNectar Support Team
Hey Tahir,
The plugin works to a certain extent.
It allows me to edit the permalink more but I think it has something to do with the way the custom post type works.
Somehow the code does not understand that %category% is set for the "Portfolio" Custom post type.
If I use %category% for the normal blog posts it works the permalink will show the category.
But the pages for Portfolio Items will literally have "%category%" embedded in the url structure.
Do you guys use a special name for the categories in the Portfolio post type? or is %category% not defined in your code.
I am not 100% sure how this works cause I never created something like that before.
I am not using Wordpress SEO plugins that break the tag (in fact there are nog extra plugins used except for Revolution Slider)
Here is a post I found that sounds like the problem I am encountering maybe you can make sense of it in terms of the theme?
http://wordpress.stackexchange.com/questions/53515...
EDIT:
Okay so I found a solution.
Using the plugin you mentioned instead of adding "%category%" to the line I instead looked in the code and just by trial and error I found out that "%project-type%" does exactly what I want.
So now my permalink structure for portfolio items is as follows "/resultaten/%project-type%/%postname%/" and that generates the exact url that I need.
Hey Patrick!
Thank you for posting the solution.
Cheers
ThemeNectar Support Team
Hey Tahir,
No problem! as always the support here is great.
I was especially surprised to see a fix for WP3.9 this morning so fast! I definitely do not regret my purchase on this theme dare I say you could even bump up the price for the theme!
Considering the amount of support and work has been done I am definitely very happy.
I will mark this topic as closed since you did help me along the way and of course I got my answer :)
Yet again you guys are awesome!
Awesome help with this plugin, i was looking to do exactly this. Now is there a way to remove the portfolio slug completely (the "reslutaten" in Patrick's example)? I am using portfolio items for many different things on my website and for examples for the 'location' category i would like to have the url:
mysite.com/location-one/post-title
instead of
mysite.com/portfolio-slug/location-one/post-title
Makes sense?
Hey Simon!
I believe for that you will have to do some url rewriting. Not really an expert so best would be to google it out :) . Just found this link: http://vip.wordpress.com/documentation/remove-the-slug-from-your-custom-post-type-permalinks/
Cheers
ThemeNectar Support Team
Hi
Thanks for the plugin. It's working fine for me when we have only a Parent Category; it's not working for the sub-category and sub-sub-category. Could you please assist?
Here is the staging URL
https://staging6.nustar.ph/portfolio/gaming/nustar-slots-tournament/ - Working
https://staging6.nustar.ph/portfolio/offers/hotel/summer-promo/ - Not Working
Attached files: Screenshot 2024-09-13 at 8.29.58 AM.png
Hi there,
Thanks for writing back.
You can please reach out to the plugin's team as it is not our plugin. While we are experts in our own products, third-party plugins are best handled by their owners.
If you have any more questions or run into any problems, please feel free to reach out.
Best regards,
Hey Again,
I am afraid in this case you will have to amend the "Portfolio" CPT code that is registering it. Please create a new ticket with your login credentials and elaborate on what you exactly intend to do .
Thanks.
ThemeNectar Support Team