Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8295855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:45:19+00:00 2026-06-08T14:45:19+00:00

(wordpress version 3.4) Ok, Here’s what I’m trying to do: Create a page called

  • 0

(wordpress version 3.4)

Ok,
Here’s what I’m trying to do:

Create a page called “Custom Fields” that will never actually be seen by a user. It’s simply for the client to add in custom fields. He will constantly be needing to change these custom fields on a weekly/monthly basis.

I need these custom fields to be displayed inside the header, footer, or sidebars so that they will be universal on all pages.

Do you know the proper way to tweak the code so I can achieve this?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T14:45:20+00:00Added an answer on June 8, 2026 at 2:45 pm

    Since Custom-Fields are meant on a per-post scope, I would recommend using the Options meta-data store instead. This way you can change the values from the Admin panel which is mush more convenient and consistent.

    This is a tutorial showing how you can add this functionality to WP

    //Custom Theme Settings
    add_action('admin_menu', 'add_gcf_interface');
    
    function add_gcf_interface() {
        add_options_page('Global Custom Fields', 'Global Custom Fields', '8', 'functions', 'editglobalcustomfields');
    }
    
    function editglobalcustomfields() {
        ?>
        <div class='wrap'>
        <h2>Global Custom Fields</h2>
        <form method="post" action="options.php">
        <?php wp_nonce_field('update-options') ?>
    
        <p><strong>My Name:</strong><br />
        <input type="text" name="myname" size="45" value="<?php echo get_option('myname'); ?>" /></p>
    
        <p><strong>Amazon ID:</strong><br />
        <input type="text" name="amazonid" size="45" value="<?php echo get_option('amazonid'); ?>" /></p>
    
        <p><strong>Today's Featured Website:</strong><br />
        <input type="text" name="todaysite" size="45" value="<?php echo get_option('todaysite'); ?>" /></p>
    
        <p><strong>Welcome Text:</strong><br />
        <textarea name="welcomemessage" cols="100%" rows="7"><?php echo get_option('welcomemessage'); ?></textarea></p>
    
        <p><input type="submit" name="Submit" value="Update Options" /></p>
    
        <input type="hidden" name="action" value="update" />
        <input type="hidden" name="page_options" value="myname,amazonid,todaysite,welcomemessage" />
    
        </form>
        </div>
        <?php
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create my own theme, called Conservatoire. For that I've first added
I'm trying to design a theme on WordPress (version 3.3.2) but I am having
I am using wordpress latest version. Currently my blog is set to custom permalink
Hi I am running WordPress latest version with a custom coded jQuery featured post
thanks for reading! Here's what I'm up to. I'm writing a WordPress plugin that
I am trying to create my first WordPress plugin. Even in trying to create
I'm new to writing WordPress plugins. I'm trying to write a little plugin that
I need to create a WordPress plugin that calls a PHP function when a
I saw these codes from here: http://learnr.wordpress.com/2009/08/10/ggplot2-version-of-figures-in-lattice-multivariate-data-visualization-with-r-part-9/ hc1 <- hclust(dist(USArrests, method = canberra)) hc1
First off, let me define the end goal: I'd like to Wordpress (version 2.8)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.