Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #852285

    Hey,

    my client’s using the yoast local seo premium plugin. Since he has multiple (20) locations, he has activated the multi location option of yoast local seo.

    So in the backend you see a new custom post type: post_type=wpseo_locations
    All his location pages are made of this custom post type. And even though we see your avia page builder on sites, pages and portfolio post type, we can’t see it on this specific post type ‘wpseo_locations’.

    Is this a common problem and what’s the easiest workaround?

    Kind regards
    David

    #852776

    Hey HITFighter,

    Please try this in your child theme functions.php file:

    add_filter('avf_builder_boxes', 'avia_register_meta_boxes', 10, 1); 
    //Add meta boxes to custom post types
        function avia_register_meta_boxes($boxes)
        {
            if(!empty($boxes))
            {
                foreach($boxes as $key => $box)
                {
                        $boxes[$key]['page'][] = 'wpseo_locations';
                }
            }
            return $boxes;
        }

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.