Reply To: All Post Type Field Sets show when using default WP template (i.e. page.php)

Author Replies
multipliertech # Posted on January 23, 2015 at 3:47 pm

Hi Dave and Trav,

I seem to be having the same problem too.

Say I have 3 templates – page.php, page-one.php, page-two.php.

The field sets will display accordingly on page-one.php and page-two.php templates. Perfect.

However, if I choose the “Default template” (page.php), which has no field sets assigned to it, the page displays all the field sets that I have set for page-one.php and page-two.php.

Here’s an example.

My visibility setting of a field set for page-one.php is as follow:

1. Post types –
[selected] Include all specific post types
[ticked] Pages

2. Templates –
[selected] Include all specific templates
[ticked] page-one.php

3. Taxonomies –
[selected] Include only in specific taxonomies
[ticked] none

4. User profiles –
[selected] Include only in specific roles
[ticked] none

This field set will display correctly when I select the page-one.php template, and will not display on other templates. But it will be displayed when page.php template is selected.

If I have the same visibility settings for page-two.php. The field sets for page-one and page-two will both be displayed when page.php template is selected.

I would appreciate any help with this.

Cheers

Kat

Latest From the Blog

MasterPress 1.3.8 is now available

16th December 2022

MasterPress 1.3.8 is a bugfix release. Fixed a bug where MB, KB, and GB were being converted to bytes incorrectly via WOOF file functions. Fixed a bug where transparent images were losing their transparency on resize.

Plugin Requirements

MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.

We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).

This plug-in is not compatible with the WordPress.com hosted service.

Three AM