robertocarroll / barjeel

WordPress theme for the website for Barjeel Art Foundation.
http://www.barjeelartfoundation.org/
0 stars 0 forks source link

Artists in more than one country #5

Open robertocarroll opened 11 years ago

robertocarroll commented 11 years ago

Artist in the country loop - not working when more than one country - see http://www.barjeelartfoundation.org/artist/egypt/lara-baladi/

robertocarroll commented 11 years ago

This isn't going to be possible with the current set-up.

In the example, Lara Baladi is a term which is a child of Egypt. You've added Lebanon to the artworks as well as Egypt > Lara Baladi and that works in some contexts, but on the country page the query looks at the slug, eg Lebanon and then gets all child terms. Lara Baladi isn't one of those terms for Lebanon because this artist is already a child of Egypt.

There's no easy fix.

robertocarroll commented 11 years ago

To change the current set-up to suit the heritage and born ...

  1. Go in and check that the current "country" taxonomy accurately represents "born in".
  2. Remove any additional taxonomies. This hierarchical taxonomy can only have one value.
  3. Use current "born in" for heritage - add the two or more countries as required.
  4. Change the title of "country" to "born in" except on the collections page where we leave it.
  5. Change the title of "born in" to "heritage"
  6. Done
clintmclean commented 11 years ago

I think this is worth doing (though admittedly a pain in the ass). I want to discuss with Mandy first so she isn't surprised by it. In your step by step, can you elaborate on number 4? Do you mean the landing page of collections? It does't say 'country' (or anything else) as is. That place would reflect heritage then or born in?

robertocarroll commented 11 years ago

On the artwork page, country would say "born in" and "born in" would say heritage.

On the collection page, the "By country" menu would remain as is ...

The important thing is that the template for country and its relationship to artist would be for "born in" while the heritage part would just use the standard collection template.

clintmclean commented 8 years ago

This is becoming a bigger and bigger job the longer we don't do it. I will put it on a list of things Suheyla needs to make a decision on. Will report back.

clintmclean commented 7 years ago

Now that we've removed 'born in' and just have country - IF we needed to have two countries listed, would a possible solution be to hide the current country we have only on the artist and artwork pages (the artwork preview circles I think would be too tricky?) but keep the connection in the taxonomy. Then use our 'born in' taxonomy to list the countries which would link to the country page? Would that work?