113 reputation
5
bio website cmorales.es
location
age
visits member for 2 years, 9 months
seen Jun 22 at 22:51

May
22
awarded  Commentator
May
22
comment How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
"If you'll have varying levels of nested terms then you'll need to write a function to check whether the the last uri segment is a custom post type or a taxonomy term to know which rule to add (ask me if you need help on that)..." Well, can you help me, please? :)
Feb
27
accepted Autologin only working the second time
Feb
26
asked Autologin only working the second time
Jan
29
comment Adding a div to wrap widget content after the widget title
Maybe hooking to this codex.wordpress.org/Function_Reference/the_widget would help? They use it (for other reason) in this article wp.smashingmagazine.com/2012/12/11/…
Jan
25
comment Adding a div to wrap widget content after the widget title
I have a problem with that: some widgets (like WP default ones, for example) set a default title if you leave that blank. So your function adds the div because there isn't a title in the params at that point, but the widget adds it afterwards and the code is messed up. Do you know how to check for the title from "within" the widget? Thanks
Jan
4
comment How to wrap the widget content with a div or get the widget title outside?
The problem with this solution is that if the user doesn't set any title, the html is broken. I know it because it happened to me after coming up with this same idea :(
Aug
2
awarded  Scholar
Aug
2
accepted Best way to style first post differently?
Jul
31
awarded  Student
Jul
31
asked wp e-commerce sort by stock
Jul
25
comment Custom field only on custom post type?
I keep getting false :S By the way... I add the post type on a plugin, maybe that's the reason?
Jul
24
awarded  Editor
Jul
24
comment Custom field only on custom post type?
get_post_type returns false. Maybe it is because of the way I add the meta box? (Check out my edits)
Jul
24
revised Custom field only on custom post type?
added images, improved code
Jul
24
asked Custom field only on custom post type?
Apr
7
comment How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
Hey Jeff, thanks for your answer! I'm almost there, after 4 hours fighting with this. My only problem is that I get a double slash before the post name (as this: portfolio/diseno-grafico-2/logo//alquimia-sonora/ ) Can you help me?
Mar
6
comment Best way to style first post differently?
Sorry, but I don't understand the second part. Could you provide an example?
Mar
4
answered Best way to style first post differently?
Mar
4
comment Best way to style first post differently?
If I add a filter... wouldn't I get that class with every post (every time post_class() is called)? I only want it for the first one.