• Flavio
    February 26, 2015 at 10:15 pm #103778

    Hello, somebody could help me?

    I want to put the ‘google map’ as the pattern already selected, but when I change the sequence in the source code, nothing happens.

    libs/metaboxes.php

    Rows of 30 to 70:

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////
    /// Header Option
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////

    if( !function_exists(‘estate_header_function’) ):
    function estate_header_function(){
    global $post;
    $header_array = array(
    ‘global’,
    ‘none’,
    ‘image’,
    ‘theme slider’,
    ‘revolution slider’,
    ‘google map’
    );

    $header_type = get_post_meta ( $post->ID, ‘header_type’, true);
    $header_select = ”;

    foreach($header_array as $key=>$value){
    $header_select.='<option value=”‘.$key.'” ‘;
    if($key==$header_type){
    $header_select.=’ selected=”selected” ‘;
    }
    $header_select.=’>’.$value.'</option>’;
    }

    print ‘
    <table>
    <tr>
    <td width=”33%” valign=”top” align=”left”>
    Selecione o Cabeçalho:
    </td>
    <td width=”33%” valign=”top” align=”left”>
    <select name=”header_type”>
    ‘.$header_select.’
    </select>
    </td>
    </tr>
    </table>’;

    Roxana
    February 27, 2015 at 3:39 pm #103796

    Hi Flaviounai,

    Please open a ticket here: http://support.wpestate.org/

    Thank you,
    Roxana

You must be logged in to reply to this topic.

'
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.