Codex Tag: custom fields

Architect is very powerful but this means Blueprints have many options. This can cause a problem with PHP’s default setting  “max_input_vars”.

In case you encounter this problem with other plugins, I’ve retained this info:

This is a problem that could affect any plugin that saves a lot of information, such as WooCommerce, Gravity forms or Advanced Custom Fields.

PHP has a default limit of max_input_vars of 1000.

If this is exceeded, some fields won’t get saved and will return to their default settings.

It is easily changed by updating your PHP.ini file with this:

max_input_vars = 2000

or your .htaccess with:

php_value max_input_vars 2000

If necessary, please contact your website host and ask them to do it for you.

As WordPress gets used more and more for major applications rather than just blogs and CMSes, this will become a more common problem. However, hopefully, hosts will start changing the default to 2000 or more.

For more information, see these posts:

http://jonathannicol.com/blog/2014/03/02/wordpress-custom-fields-not-saving-phps-max_input_vars-may-be-to-blame/

http://docs.woothemes.com/document/problems-with-large-amounts-of-data-not-saving-variations-rates-etc/

If you are working with WooCommerce, Advanced Custom Fields, or any other plugin that adds many fields to your WordPress, the following plugin is highly recommended for debugging this issue.

https://wordpress.org/plugins/wp-max-submit-protect/p

 

Architect 1.5 added the ability to have filtering and sorting options on Masonry layouts.   Enabling Filtering and Sorting Enabling Filtering and SortingOnce you set your Layout type as Masonry, you will get a Masonry tab. In that you can enable Filtering, Sorting or both. Filtering FilteringEnable Filtering to see all the filtering options. Note:…

In this tutorial, we will show just the steps for displaying and configuring some custom fields. There is an advanced tutorial that goes into more depth that shows a specific project involving Advanced Custom Fields (from which these steps have been extracted): Using Advanced Custom Fields and Snippets to make a Pricing Table So, if…

In this tutorial, we will learn about using the custom fields feature of Architect by using the very popular Advanced Custom Fields plugin and Architect’s own Snippet post type, to make a product pricing table. In this tutorial we’ll learn about: Custom fields Custom CSS Custom taxonomies Snippets This tutorial covers custom CSS which involves…