Thank you for your help @joyously !
- I made a copy of storefront-template-functions.php (from the storefront theme) in my child theme: I’ve added my own code to output some post meta info in the
<aside> tag.
- I’ve tried to follow your advise using
the_taxonomies() but it shows me the following error message:
Fatal error: Cannot redeclare the_taxonomies() (previously declared in …/public_html/wp-includes/taxonomy.php:4465) in …/public_html/wp-content/themes/storefront-child/storefront-template-functions.php on line 454
- I think my code is too long and clunky, maybe I should use something like
str_replace calling the taxonomy value and adding the <mark> tags before and after.
I’m a real beginner to PHP and wordpress code, sorry if these questions are stupid, I still have lots to learn
-
This reply was modified 5 years, 1 month ago by Terra Adopt.