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

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


Feb
21
comment Custom Post Types posts as submenus in Nav Menu
Hi @MatthewBoynes I don't recall fixing it (I would've probably answered my own question). Unfortunately I am quite busy now and not working on this any more so I can't help, but would be happy to see an answer for future references.
Dec
27
comment Can I use the same nonce for multiple requests on the same page?
@scribu thanks for the insight. I edited the answer.
Dec
27
comment How do you find out which template page is serving the current page?
I inspect the html and find an identified tag or something unique.
Dec
9
comment Remove “Are You Sure” dialogue when leaving editor
I haven't tried, but it should overwrite the window.onbeforeunload event so nothing happens. Can you track that the function is called with firebug?
Dec
8
comment How to make search include data from wp_postmeta?
and the question is?
Dec
8
comment Change Output for Images in Content
I think the code/images after "from this" and "to this" are missing
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.
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
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
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
Sep
18
comment How can I get my Custom Post Types to appear in nav-menus.php 'Menu'?
This post may help