S
S
Sasha Kiryanov2018-02-19 18:29:24
WordPress
Sasha Kiryanov, 2018-02-19 18:29:24

How to add an additional field in Wordpress to the directory?

Hello, how can I add the inscription "/per 100 grams" in the easiest way - here prntscr.com/igw6uk .
Either lower, higher, it doesn’t matter, the main thing is in the catalog itself for the goods.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-02-19
@azerphoenix

Hello.
It is unlikely that someone will be able to answer you on the screen. You didn't even say what plugin it was.
If this is Woocomemrce, then you can install the plugin https://wordpress.org/plugins/woo-price-per-unit/
or edit the woocomer template that displays this information and add /per 100 grams to the end.
If this is some other plugin or self-made catalog (taxonomy + custom post type), then you definitely need to find a template with the name category-xxx or taxonomy-xxx or archive-xxx and there already find the code that displays this information and add / for 100 grams

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question