Skip Navigation

[Waiting for user confirmation] View not loading for some taxonomy cases

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 1 voice.

Last updated by Minesh 1 day, 20 hours ago.

Assisted by: Minesh.

Author
Posts
#2793840

Hi, my site is developed with Divi and Toolset. I have a CPT, "viajes" (travels) with a custom taxonomy "Grandes viajes" (Great/long distance travels). I have set Africa, Asia, America, Oceania and Europe as items for this taxonomy with a title, a hero image, a description, and created a view to filter my travels for each continent. The design is applied via a Divi Theme Builder Template.
This is working fine for Europe, Oceania and Africa, but America and Asia it's showing a blank page. These are the URLs:

hidden link
hidden link

while it's supposed to look like africa, for instance: hidden link

Can you help me, please?

#2793843

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please check now:
- hidden link
- hidden link

The issue was with few posts you have set price field to 0 or not available and you were using the following custom shortcode to format the number that you added to your theme's functions.php file:

function format_my_number($atts)
{
    $atts = shortcode_atts(
        array(
        'num' => '',
        'sym' => '',
    ),
        $atts
    );
    $num = $atts['num'];
    return number_format($num, 0, ',', '.').' '.$atts['sym'];
	
}
add_shortcode('format-currency', 'format_my_number');

I've adjusted the above code as given under:

function format_my_number($atts)
{
    $atts = shortcode_atts(
        array(
        'num' => '',
        'sym' => '',
    ),
        $atts
    );
    $num = $atts['num'];
	if($num > 0) {
  		return number_format($num, 0, ',', '.').' '.$atts['sym'];
	}else{
		return "0".$atts['sym'];
	}
}
add_shortcode('format-currency', 'format_my_number');

Can you please confirm it's working as expected now.