Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Advanced Custom Fields - show on all pages

Is there any way of making Advanced Custom Fields(ACF) to set a rule = "ALL"? So that this specific group shows up on all page types?

like image 612
Nabil Ghulam Avatar asked Apr 03 '13 08:04

Nabil Ghulam


People also ask

Where are advanced custom fields stored?

Where Are Advanced Custom Fields Stored? ACF stores the data for post custom fields in the post_meta table. It stores the data for all other custom fields in the options table.

How do you display field value of ACF?

To retrieve a field value as a variable, use the get_field() function. This is the most versatile function which will always return a value for any type of field. To display a field, use the the_field() in a similar fashion.


2 Answers

Page is not equal to x or is equal to x

Just specify that the field should appear on every post other than a particular one or it should appear on that post.

like image 82
miscbits Avatar answered Sep 28 '22 08:09

miscbits


Where it says "Show this field group if" choose "post type", "is equal to" and "page"

like image 27
user3603151 Avatar answered Sep 28 '22 09:09

user3603151