Tag Info

Hot answers tagged

2

As you had narrowed it down, since your post permalinks include category WP is trying to figure out how to put them together for every post. Object Cache The staple approach would be to optimize efficiency of overall setup, rather than micromanage generations of bits and pieces. If you set up persistent Object Cache for the site, then category information ...


1

Taxonomies don't by default have thumbnail images. Without knowing how those are set I can't say exactly how to get the thumbnails, but as for "what am I doing wrong?" get_post_thumbnail_id accepts a post ID or lacking that assumes the current post in the Loop. You are passing it a term_id, which isn't going to work. You can see that in the source: 32 ...


1

If you look at the template hierarchy, you need to create a template taxonomy-{$taxonomy}-{$term}.php. In your case, that template will be called taxonomy-product_cat-awesome.php where I assumed the slug of your term is awesome Just a tip, the "categories" of a custom taxonomy is called terms. The build in taxonomy category "categories" is also called ...



Only top voted, non community-wiki answers of a minimum length are eligible