• I do use the purchaised theme “Restinn” and it comes with cutom post fields that I can’t get to translate. Not even the {:en}english{:}{:de}deutsch{:} syntax workes. It’s printed as {:en}english{:}{:de}deutsch{:}. The sh_room_meta looks like this:

    $options[] = array(
    ‘id’ => ‘sh_room_meta’,
    ‘types’ => array(‘sh_room’),
    ‘title’ => __(‘Rooms Options’, ‘wp_restinn’),
    ‘priority’ => ‘high’,
    ‘template’ => array(
    array(
    ‘type’ => ‘group’,
    ‘repeating’ => false,
    ‘length’ => 1,
    ‘name’ => ‘sh_room_options’,
    ‘title’ => __(‘Room Information’, ‘wp_restinn’),
    ‘fields’ => array(
    array(
    ‘type’ => ‘textbox’,
    ‘name’ => ‘price’,
    ‘label’ => __(‘Room Price’, ‘wp_restinn’),
    ‘description’ => __(‘Enter room price’, ‘wp_restinn’),
    ‘default’ => ”,
    ),

    How to make custom post fields translate?

  • The topic ‘WPGlobus 1.5.8 does not support Custom Post fields’ is closed to new replies.