studiocaro
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trouble with custom post type/categories entry metaThank you so much! Saved me another couple hours of searching!
Forum: Fixing WordPress
In reply to: Trouble with custom post type/categories entry metaI think it’s a bit too late for that because I started editing the main theme in the beginning and I read about child themes when I was about in the middle of my work. Now, the website is all finished except for this one little detail.. Also never got any trouble doing so, just never occured to me until now that this wasn’t working yet. I decided it was safe to go on because I have multiple back-ups. So I’d rather not download a child theme… Unless it is impossible to achieve what I want, without creating a child theme.
Of course I could create a child theme out of the current that I am using and edit from there on.
Forum: Fixing WordPress
In reply to: Trouble with custom post type/categories entry metaTwentytwelve
Forum: Fixing WordPress
In reply to: Trouble with custom post type/categories entry metaAlso, I have found a piece of code which claims to be able to show custom taxonomies of entries. So I am quite sure I would have to code the entry data by hand for the custom post type. I put this in the content of my single ‘Case’ post, but it doesn’t work.
<?php echo get_the_term_list( get_the_ID(), 'casecategory', "Case category:" ); ?>
Forum: Fixing WordPress
In reply to: Trouble with custom post type/categories entry metaHi, thanks for your answer. Actually I have a clue that the problem might not be in this code, for it works in the default blogposts. It’s just the custom post type categories that it needs to show now, but WordPress’ default categories are something else. The posts inside the custom post type ‘Case’ have a taxonomy called casecategory, and that’s what I want this placeholder to show. So everything simultaneous for the custom post type considering entry meta, only the categories should be completely seperate.
// Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. if ( $tag_list ) { $utility_text = __( '<span style="font-size: 9px;">Dit bericht werd geplaatst door %4$s in %1$s en getagd met %2$s op %3$s.</span>', 'twentytwelve' ); } elseif ( $categories_list ) { $utility_text = __( '<span style="font-size: 9px;">Dit bericht werd geplaatst door %4$s in %1$s op %3$s.</span>', 'twentytwelve' ); } else { $utility_text = __( '<span style="font-size: 9px;">Dit bericht werd geplaatst door %4$s op %3$s.</span>', 'twentytwelve' ); }