Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Mourat

    (@mourat)

    Nobody can help me?

    Thread Starter Mourat

    (@mourat)

    In the file _inc/user-view-show-staff-list.php add variables after $tw_url = 'https://www.twitter.com/' . $custom["_staff_member_tw"][0]; (line 85) add custom variable $company_name = get_field('company_name', $post->id); for example.

    Add this variable to array $replace_single_values = array( in the end of the list.

    In the file admin-install-uninstall.php in array $default_tags = array( add your short code like ‘[company-name]’ in the end of the list.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom fields in template’ is closed to new replies.