199 reputation
113
bio website wikaina.com/blog
location Barcelona, Spain
age 31
visits member for 3 years, 4 months
seen Jul 30 at 15:34

I am a web developer from Barcelona. I work intensevely with WordPress


Nov
27
answered Integrate Mailchimp to a Contact Form 7 contact form
Nov
20
answered Is there a WordPress form plugin that can easily be configured for Google Analytics goals?
Nov
19
asked Integrate Mailchimp to a Contact Form 7 contact form
Nov
18
comment Custom Post Types posts as submenus in Nav Menu
it should be automatic. the page would be an index/archive page of the custom post entries, and the submenu would be the titles of each entry, linking to an anchor in the same index/archive page instead than an individual page.
Nov
8
awarded  Student
Oct
18
awarded  Commentator
Oct
18
comment Theme localization of “slugs” (custom post types, taxonomies)
The question asks if the __() function can be used with slugs, and "what is the practice to localize slugs". That could be interpreted as having a slug translated as string does when you view a theme in a given language, regardless of it being used in a CPT. That's why the bounty was put in the first place.
Oct
18
comment Change attachment filename
I see. Thanks for the feedback
Oct
17
awarded  Teacher
Oct
17
comment Theme localization of “slugs” (custom post types, taxonomies)
It seems as if this option is for a WPLANG-based localization. But what if you are working with a multi-language site? (for example WPML plugin). The question is more about displaying a different slug depending on the client's localization than being able to set a custom post type slug from the server's options.
Oct
17
comment Theme localization of “slugs” (custom post types, taxonomies)
just for curiosity, why wpse30021?
Oct
17
comment Theme localization of “slugs” (custom post types, taxonomies)
translated slugs, both from a seo and a user experience perspective, make a lot of sense...
Oct
11
awarded  Autobiographer
Oct
11
comment Theme localization of “slugs” (custom post types, taxonomies)
+1 for the plugin on gist and the well documented code. In my case, though, it defeats the purpose, which is to not give power to the user but to make localization-aware (seo friendly) urls for custom post types
Oct
10
comment Theme localization of “slugs” (custom post types, taxonomies)
I decided redirect the pages from /en/press to /en/prensa so the link will probably not work as mentioned any more. Too bad I couldn't use the localized slug but working-on-time is better thant url-localization-friendly
Oct
10
comment Theme localization of “slugs” (custom post types, taxonomies)
it is basically the same code in another style
Oct
10
comment Theme localization of “slugs” (custom post types, taxonomies)
I don't know if we are dealing with the same problem but it seems like it. To better illustrate it here is a link to an original index page for a custom post type called prensa with a slug set to prensa. Using WPML the translated's page slug is press as it can't be prensa again: /en/press/ which doesn't display anything (note that now clicking the ES link doesn't bring you back to /prensa/). BUT, if you visit /en/prensa/ it does work...
Oct
10
comment Theme localization of “slugs” (custom post types, taxonomies)
this didn't work for me
Oct
10
answered Change attachment filename
Oct
10
awarded  Investor