Show code dependant on CPT & category

has_category applies only to default post type. You are working on a CPT so you should use has_term() if ( is_singular( ‘eventbrite_events’ ) && has_term( ‘network’, ‘{YOUR_CUSTOM_TAXONOMY}’ ) ) where {YOUR_CUSTOM_TAXONOMY} is optional and it must be the slug for eventbrite_events taxonomy to which the term ‘network’ is attached to.

WordPress slug confusion

In wordpress down the side you goto Settings then to permalinks. From there you select a custom structure and can put it how ever you want. When you are creating a page after you have added in a title you can press the edit button to change the permalink.

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