Comments deadelia started the conversation2 weeks ago on February 9, 2025 at 3:37amHi,Is there a way to change the slug of the portfolio link so that it would say project instead of portfolio?https://neuronthemes.com/archzilla/portfolio/soft-minimal-apartment/Also, how to disable theĀ portfolio archive page entirely? I have no way of editing the layout.Thank you. 965Neuron replied2 weeks ago on February 9, 2025 at 3:36pmHi, 1) You can change the portfolio slug by adding the following code to the functions.php file of the Archzilla/ Archzilla child theme. function change_portfolio_post_type_slug() { if (post_type_exists('portfolio')) { $post_type = get_post_type_object('portfolio'); $post_type->rewrite['slug'] = 'project'; $post_type->rewrite['with_front'] = false; register_post_type('portfolio', $post_type); } } add_action('init', 'change_portfolio_post_type_slug', 20); 2) Please watch the following video tutorial on how to create the archive template and assign it to the portfolio page. Video Tutorial. Or, you can disable the archive for the portfolio by going to Dashboard > Neuron > Settings > Portfolio Archive https://prnt.sc/JRRWkhTAK0qv Feel free to ask for anything you need. Kind Regards Sign in to reply ...
Hi,
Is there a way to change the slug of the portfolio link so that it would say project instead of portfolio?
https://neuronthemes.com/archzilla/portfolio/soft-minimal-apartment/
Also, how to disable theĀ portfolio archive page entirely? I have no way of editing the layout.
Thank you.
Hi,
1) You can change the portfolio slug by adding the following code to the functions.php file of the Archzilla/ Archzilla child theme.
2) Please watch the following video tutorial on how to create the archive template and assign it to the portfolio page.
Video Tutorial.
Or, you can disable the archive for the portfolio by going to Dashboard > Neuron > Settings > Portfolio Archive
Feel free to ask for anything you need.
Kind Regards