“Reversable” and “Re-useable” Subcategories (or other taxonomic structure)

The only possible way I can think to achieve this would be through getting neck deep in rewrite rules. You would have to flip your actual category structure around so that ‘exotic’ is the parent category, with two subcategories, ‘design’ and ‘travel’. Obviously you would put any posts you wanted in /design/exotic, into /exotic/design, same … Read more

Change code to display image attachment page

As pointed in the other answer, you should not have prettyPhoto part The link should be changed to utilize the function get_attachment_link Basically change this line in your code $link = ‘<a href=”‘.get_attachment_link($id).'”>’.wp_get_attachment_image($id, $size, false).'</a>’;

Handling URLs in WordPress application

../directory1/directory2/directory3/css/stylesheet.css should get you there if I am reading your description accurately. However, I would be very cautious using relative links in WordPress. They do not always work the way you’d expect because a lot of ‘directories’ don’t actually exist. They are fabricated by WordPress and mod_rewrite. The two conspire to lie about filesystem structure. … Read more

CPT posts listed by category with custom rewrite URL, please help!

I did look at your code and saw you changed the original code. To make it more clear what you can achieve with this snippet. You would end up with the following permalinks: /recetas-argentinas/category/desserts Shows all post with the post_type recetas-argentinas and with the category desserts. /recetas-argentinas/my-single-recept-post Shows a single post of the post_type recetas-argentinas. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)