CMS Mastering Development Wordpress

Orderby is working with one query but not with other

I’m using a shortcode to show some price boxes. I use a CPT with a custom field called ‘posicion’ which has a number that I use later to customize the loop. This is the code: <?php if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed directly // Add Shortcode function mostrar_tarifas_shortcode( $atts […]