I have created custom page template. Now I have to make it configurable, however since I am using more than one template in my theme I would like to make sure that configuration will be available only when the user chooses this template for a page. Is there an option to do so?
add_meta_box accepts different
$post_type, so the closest I can get is to add metabox to all pages, which I would like to avoid.