Title: Using Custom Fields Globally
Last modified: August 22, 2016

---

# Using Custom Fields Globally

 *  [mobetman2](https://wordpress.org/support/users/mobetman2/)
 * (@mobetman2)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/using-custom-fields-globally/)
 * I’m trying to use the value of one custom field on multiple pages and posts. 
   I’m a newbie to PHP and custom fields so what I’m trying to accomplish could 
   possible be done using a different method.
 * I have a WPMU setup with all new sites created from a default blog that includes
   multiple custom post type templates. When users create a new site they are redirected
   to their site admin dashboard.
 * Here comes my challenge, I want users to be able to enter information into form
   fields contained in metabox(es) on their admin dashboard (not post editor) that
   will be used on the various custom post type templates. For example, a user will
   need to enter their company name, address, logo, etc.
 * Depending on the temple, the information entered into the form fields will be
   used on the frontend of the site. For example, the company logo will be display
   where the custom field or shortcode is placed on the post template.
 * I’m having issues using custom fields for this because each custom field is specific
   to each post. In addition, I’m having issues rendering a form on the admin dashboard
   for this.
 * I’m also thinking that custom fields may not be the best way to accomplish my
   objective because they are usually post specific. I’m really asking for a variable
   that will be used globally and is static unless the user updates the form.
 * I’d appreciate any assistance on this.

The topic ‘Using Custom Fields Globally’ is closed to new replies.

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [globals](https://wordpress.org/support/topic-tag/globals/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [mobetman2](https://wordpress.org/support/users/mobetman2/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/using-custom-fields-globally/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
