Plugin / Advanced Page Template




Advanced Page Template is a nice new approach to custom fields by page template.
Please try to configure the custom fields easily in the template file itself using this plugin.

It doesn’t require to save any configuration data to database, just config the custom fields in template file itself as how wordpress recognize the templates – Its just wordpress way!

I think that it makes developing and deploying more easy and more sense for the developers. 🙂

Note: I highly recommend you to install and activate Advanced Custom Fields plugin so as to get its perfect benefit. Field Types only works with Advanced Custom Fields plugin.


Open a template file with any text editor and add some additional templating comment lines starting with @custom_field keyword:

Example 1:

* Template Name: 2column-layout
* @custom_field main, type: wysiwyg, label: Main content
* @custom_field sidebar, type: wysiwyg, label: Sidebar

Example 2:

* Template Name: Contact Page
* @custom_field photo, type: image, label: Photo of manager
* @custom_field phone, type: text
* @custom_field map, type: google_map
* Note: The photo, phone, map are the custom field names in each '@custom_field' line,
* therefore use wordpress's 'get_post_meta' or ACF's 'get_field' method with those custom field names to get the values in this template. :)

Please bring the page edit link up in the backend and select the template which you just edited and hit ‘Update’ or ‘Save’ button.
After page refreshing, You can’t miss new custom fields block from this template file.

Available Types and options with Advanced Custom Fields plugin are:

* @custom_field tab1, type: tab, instructions: Tab

* @custom_field field1, type: checkbox, choices: (1|2|3), label: Checkbox
* @custom_field field2, type: color_picker, label: Color Picker
* @custom_field field3, type: email, label: Email
* @custom_field field4, type: file, label: File
* @custom_field field5, type: google_map, label: Google map
* @custom_field field6, type: image, label: Image
* @custom_field field7, type: message, message: Message goes right here, label: Message
* @custom_field field8, type: number, label: Number
* @custom_field field9, type: page_link, label: Page link
* @custom_field field10, type: password, label: Password

* @custom_field tab2, type: tab, label: Tab

* @custom_field field11, type: post_object, label: Post object
* @custom_field field12, type: radio, choices: (1|2|3), label: Radio
* @custom_field field13, type: relationship, label: Relationship
* @custom_field field14, type: select, choices: (1|2|3), label: Select
* @custom_field field15, type: taxonomy, label: Taxonomy
* @custom_field field16, type: text, label: Text
* @custom_field field17, type: textarea, label: Textarea
* @custom_field field18, type: true_false, label: True/False
* @custom_field field19, type: user, label: User
* @custom_field field20, type: wysiwyg, label: Wysiwyg


2 reviews

Rating breakdown

Details Information



First Released

09 Jun, 2014

Total Downloads


Wordpress Version

3.0.0 or higher

Tested up to:


Require PHP Version:





The plugin hasn't been transalated in any language other than English.


The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.