'; } ?> */?> ID; if( ICL_LANGUAGE_CODE != 'es' ) { $_contact_page_ID = icl_object_id( $_contact_page->ID, 'page', false, ICL_LANGUAGE_CODE ); } global $_survey_page, $_survey_page_ID; $_survey_page = get_page_by_title( 'Opina' ); $_survey_page_ID = $_survey_page->ID; if( ICL_LANGUAGE_CODE != 'es' ) { $_survey_page_ID = icl_object_id( $_survey_page->ID, 'page', false, ICL_LANGUAGE_CODE ); } global $_group_page_ID; $_group_page = get_page_by_title( 'Grupos' ); $_group_page_ID = $_group_page->ID; if( ICL_LANGUAGE_CODE != 'es' ) { $_group_page_ID = icl_object_id( $_group_page_ID->ID, 'page', false, ICL_LANGUAGE_CODE ); } global $_franchaises_page, $_franchaises_page_ID; //$_franchaises_page = get_page_by_title( 'Franquicias' ); $_franchaises_page = get_page_by_title( 'S&F A TU CASA' ); $_franchaises_page_ID = $_franchaises_page->ID; if( ICL_LANGUAGE_CODE != 'es' ) { $_franchaises_page_ID = icl_object_id( $_franchaises_page->ID, 'page', false, ICL_LANGUAGE_CODE ); } global $_aboutus_page, $_aboutus_page_ID; $_aboutus_page = get_page_by_title( 'QuiƩnes somos' ); $_aboutus_page_ID = $_aboutus_page->ID; if( ICL_LANGUAGE_CODE != 'es' ) { $_aboutus_page_ID = icl_object_id( $_aboutus_page->ID, 'page', false, ICL_LANGUAGE_CODE ); } global $_survey_results, $_survey_results_ID; $_survey_results = get_page_by_title( 'Opiniones' ); $_survey_results_ID = $_survey_results->ID; if( ICL_LANGUAGE_CODE != 'es' ) { $_survey_results_ID = icl_object_id( $_survey_results->ID, 'page', false, ICL_LANGUAGE_CODE ); } // Query global $_pages; global $_pages_section; $_pages = get_pages( array( 'sort_column' => 'menu_order', 'sort_order' => 'asc', 'exclude' => array( $_contact_page_ID, $_survey_results_ID ) ) ); $sections_title = ''; $_pages_section[0] = strtolower( __('Inicio','sandwichfriends') ); for( $i=0;$ipost_name; } /* ----------- SECTIONS ----------- */ global $_promos; global $_products; global $_locals; $_promos = query_posts( array( 'post_type' => 'promociones', 'order_by' => 'post_date', 'order' => 'DESC', 'posts_per_page' => -1 ) ); wp_reset_query(); $_products = query_posts( array( 'post_type' => 'productos', 'order_by' => 'post_date', 'order' => 'DESC', 'posts_per_page' => -1 ) ); wp_reset_query(); $_locals = query_posts( array( 'post_type' => 'locales', 'order_by' => 'post_date', 'order' => 'DESC', 'posts_per_page' => -1 ) ); wp_reset_query(); ?> body { overflow-y: auto !important; } #nav-marker { display:none; visibility: hidden; } /*#top-containter, #bottom-containter { position: relative; } #logo-f { position: relative; margin-top: -35px;}*/ '; } ?>
ID ); echo do_shortcode( $survey_code ); ?>