33 reputation
6
bio website
location
age
visits member for 2 years, 3 months
seen Jul 11 at 11:18

May
12
comment Custom post type archive pagination query issue
I'm still trying to work this out. But it's a dead end. any ideas anyone?
May
6
asked Custom post type archive pagination query issue
Dec
8
answered Nice URLs for a Custom Post Type List with a Shared Custom Taxonomy?
Dec
7
accepted MF2 and qTranslate problem with custom post types post titles
Dec
7
answered MF2 and qTranslate problem with custom post types post titles
Dec
7
comment MF2 and qTranslate problem with custom post types post titles
Thanks Gnuget for the notice. I managed to solve it with an extra option on the adminimize settings for the custom post type of the magic fields.
Dec
6
awarded  Supporter
Dec
6
comment Function to delete a term when a custom post with the same slug is trashed
Many thanks 28inch for your help! It was tricky but i nailed it. setcookie helped me with the hook (it needed trashed_post) and var_dump lead me to use term_exists that actually outputs an object from which i found the id for the term to delete! thanks again!
Dec
6
awarded  Scholar
Dec
6
accepted Function to delete a term when a custom post with the same slug is trashed
Dec
6
comment Function to delete a term when a custom post with the same slug is trashed
I haven;t managed to debug the function actually. Can you give me some guidance on how i could use the var_dump? I tried echo for $theterm var after it gets it's value but i don't know now if i;m doing the wrong way. Just a simple echo $theterm after the line of code when the var is defined. Could you give me an example please?
Dec
6
answered Use different taxonomies in different custom post types' permalinks?
Dec
5
comment Function to delete a term when a custom post with the same slug is trashed
Thanks for the comment. If you see me updated function I don't use term_exists() now, i have changed it to get_term_by() and according to wp codex this returns an array? Please let me know if this is wrong.
Dec
5
comment Function to delete a term when a custom post with the same slug is trashed
28inch thanks for the suggestions. I updated my question with the latest changes, still it doesn't work. The publish_post function is working when adding an artist i don't know about the trashed_post.
Dec
5
awarded  Editor
Dec
5
revised Function to delete a term when a custom post with the same slug is trashed
added 494 characters in body
Dec
5
comment Function to delete a term when a custom post with the same slug is trashed
Thanks Tom, i didn't thought about that and in fact i had already tried with the slug.
Dec
5
asked Function to delete a term when a custom post with the same slug is trashed
Dec
4
comment Custom field drop down to set the term of the post when published
Many thanks Geert it almost worked. While it sets the term it appears with a number so i guess the output is the ID of the selected item.
Dec
4
asked Custom field drop down to set the term of the post when published