Advertisement:

Author Topic: Identifier name not working  (Read 63 times)

BenKia

  • Newbie
  • *
  • Posts: 17
Identifier name not working
« on: September 14, 2019, 04:53:32 am »
Don't know why the custom field outputs the html like below by default, unlike OSClass says it will outputs "meta_1", "meta_2"... if no name is identified. Moreover, it gets nothing changed even the custom field have an 'Identifier name' on it under Custom fields >> Custom fields' name >> Advanced options >> Identifier name -


<div class="meta>...</div>
<div class="meta>...</div>
<div class="meta>...</div>

Are anyone knows to fix it? Please help.

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2183
  • osclass.work
Re: Identifier name not working
« Reply #1 on: September 14, 2019, 08:54:36 am »
Expand those tags... and you will see id meta_id(s).
If you refer to item page (cannot say from your screenshot/description), then you can edit your theme's item.php template to include it.
« Last Edit: September 14, 2019, 09:01:01 am by dev101 »

BenKia

  • Newbie
  • *
  • Posts: 17
Re: Identifier name not working
« Reply #2 on: September 14, 2019, 05:21:13 pm »
Hi dev101,

It was not different when the tag is expanded. Please see the screenshot attached.

This screenshot shows a custom fields called 'Trading Hours' with an Identifier name of 'tradinghours', it should outputs a class with 'tradinghours' in general.