Change the staff and service words of the url to Spanish
This support request was posted in Paeon by angeldavo
- angeldavo December 24, 2013 at 11:11 am
Change the staff and service words of the url to Spanish (equipo-servicio)
Juanfra Aldasoro December 24, 2013 at 1:54 pmHello Angel,
Thanks for writing.
You need to go to the Theme Options panel, under the Home Options, you can change that on the “Staff Title” and “Service Title”.
Best,
Juan.angeldavo December 24, 2013 at 2:36 pmJuanfra Aldasoro December 24, 2013 at 2:55 pmHi Angel,
Thanks for your response.
Those are defined when creating the Custom Post Types, if you’re proficient in PHP, you can edit that by editing the code. You’ll need to go to the folder /paeon/includes/custom-post-types/ and open the file that defines the custom post type you want to change the url for. In your case, staff.php and service.php
You’ll find that the definition of the Custom Post Types has different arguments. Following the documentation of WordPress for this function, you’ll see that what you need to edit is the ‘rewrite’ parameter. (Link to docs: http://codex.wordpress.org/Function_Reference/register_post_type)
You’ll need to change this:
'rewrite' => true,
with this:
'rewrite' => array( 'slug' => 'whateveryouneed' ),
Change ‘whateveryouneed’ with the slug you want to use.
After completing this, you’ll need to go to the “Settings > Permalinks” area and re save the permalinks structure.
The second option would be finding a plugin to achieve this.
Best,
Juan.
You must be logged in to reply to this topic.