Subscribe to my channel:
You have to add the following code in the functions.php file of your template:
add_filter( 'et_project_posttype_rewrite_args', 'wpc_projects_slug', 10, 2 ); function wpc_projects_slug( $slug ) { $slug = array( 'slug' => 'URL que deseas para Proyectos' ); return $slug; }
Remember that for the changes to take effect, you have to go to Settings –> Permalinks and without touching anything you save the changes.
I hope it will be useful to you 😉
regards
Oscar
Hello
What if I want to change project_category, how would I do it?
You are a great guy... You position the content that pleases, you solve the problem in a moment and without any problem. That's nice, thanks
Thank you very much David 😉
I appreciate it a lot!!!!
What a pleasure to read you Oscar.. you have solved the doubt that I had
Thanks and best regards
Thank you very much for your words 😉
Regards!!!
Hello Oscar:
I have seen this same problem in other templates. For example, for Listify and Listable, the job slug always appears and I only want the category to appear and then the title of the listing so that SEO works much better.
Is there any code like this to help me suppress the slug from working?
You are very kind as always, your help and support is great. I am a member of the premium zone and it is the best investment I have made. Thank you
Thank you very much for your words friend 😉
I'm afraid that listable and listify do not recommend removing the word from the slug, the creators of the template themselves 🙁
A hug!!!!