I need to write a Wordpress Function, but really stuck
Posted: Wed Feb 13, 2019 4:32 am
Hi
Not sure if this is the right place to ask this. I've used this forum extensively for PHP coding and learnt a massive amount, but this is about Wordpress.
There are tutorials on how to do functions, but they are all about writing "hello there" in the header or footer of Wordpress; not how to tap into an existing bit of code and edit it.
Here's what we need:
To take the Woocommerce Brands plugin, find it's brand entry (ie. brand-name), and add that into the shop/archive pages, so that you get:
Product Title
£price
Brand name
Maybe someone can help.
Not sure if this is the right place to ask this. I've used this forum extensively for PHP coding and learnt a massive amount, but this is about Wordpress.
There are tutorials on how to do functions, but they are all about writing "hello there" in the header or footer of Wordpress; not how to tap into an existing bit of code and edit it.
Here's what we need:
To take the Woocommerce Brands plugin, find it's brand entry (ie. brand-name), and add that into the shop/archive pages, so that you get:
Product Title
£price
Brand name
Maybe someone can help.