Topic: Variable of additional fields

Hay, so i need to know variable of additional fields.

For example in this code - "<title><? if ($entry) {echo ''. $entry['t']. ' '. $entry['s'].''; } print($page_title);?></title>"
- $entry['t'] is variable of "Article title", $entry['s'] is variable of "Shot story".

I made additional field "Description" and i need to add a variable in this code.

Re: Variable of additional fields

All values for the additional fields are stored in MF as an associative array, where the key is responsible for the field name.

Best regards,
CN Support team

3 (edited by Kasey00 2019-12-04 05:17:37)

Re: Variable of additional fields

resort wrote:

Hay, so i need to know variable of additional fields.

For example in this code - "<title><? if ($entry) {echo ''. $entry['t']. ' '. $entry['s'].''; } print($page_title);?></title>"
- $entry['t'] is variable of "Article title", $entry['s'] is variable of "Shot story" .

I made additional field "Description" and i need to add a variable in this wp engine code.

It is stored in an associated array. So it can only be invoked.

Regards,
Kasey.