Is there a (relatively easy!) way to create relationships between taxonomies WITHOUT needing a post as an intermediary

Using standard WordPress functionalities this is, simply, not possible, unless using complicated and poorly performing tricks. The method I suggest you is to create your custom table where store relationship. It should consists of 5 columns: person_id | post_id | post_type | taxonomy | term_id Now, copying out your example: Person A may be the … Read more

Exclude specific slug in ‘get_terms’

The get_terms() (see docs) function accepts the same args as WP_Term_Query(see docs) You have to get those terms Ids first and then pass it to the exclude arg: // default to not exclude terms $ids_to_exclude = array(); $get_terms_to_exclude = get_terms( array( ‘fields’ => ‘ids’, ‘slug’ => array( ‘graduate’, ‘job-market-candidate’, ‘graduate-student’, ‘research’ ), ‘taxonomy’ => ‘role’, … Read more

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