Support

Account

Home Forums Front-end Issues custom field applied to "page" not seen in archive-page Reply To: custom field applied to "page" not seen in archive-page

  • @plinth Hi, This is what I have in my code today :

    $bgimg = get_field('bg_img');
    		if(is_woocommerce()){
    			$bgimg = get_field('bg_img', 75);
    		}

    So as time passed, I guess the is_woocommerce() replace the is_archive(MY-ARCHIVE-ID) and cehck if I’m on a woocommerce page.
    Tell me if it solve your issue.