global $wp_query; $id = $wp_query->get_queried_object_id(); $sidebar = get_post_meta($id, "qode_show-sidebar", true); $enable_page_comments = false; if(get_post_meta($id, "qode_enable-page-comments", true) == 'yes') { $enable_page_comments = true; } if(get_post_meta($id, "qode_page_background_color", true) != ""){ $background_color = get_post_meta($id, "qode_page_background_color", true); }else{ $background_color = ""; } $content_style_spacing = ""; if(get_post_meta($id, "qode_margin_after_title", true) != ""){ if(get_post_meta($id, "qode_margin_after_title_mobile", true) == 'yes'){ $content_style_spacing = "padding-top:".esc_attr(get_post_meta($id, "qode_margin_after_title", true))."px !important"; }else{ $content_style_spacing = "padding-top:".esc_attr(get_post_meta($id, "qode_margin_after_title", true))."px"; } } if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } elseif ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } ?>
Máquinas
Materiales
Soluciones