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

  • Home
  • SEARCH
  • 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 8330263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:04:32+00:00 2026-06-09T02:04:32+00:00

Hi i am a new bee to wordpress i need to know that how

  • 0

Hi i am a new bee to wordpress i need to know that how can i write a simple wordpress plugin with a page option in wordpress.

I need a demo for editing footer text in admin panel and in also the front end

  • 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-09T02:04:33+00:00Added an answer on June 9, 2026 at 2:04 am

    Use the below code for changing the admin footer text dynamically.
    Save the below code as a .php file in your wordpress plugins directory.

    <?php
    /*
    Plugin Name: Fancy Search Box For Your Theme
    Plugin URI: http://svarun.in/
    Description: Fancy Search Form
    Version: 1.0.5
    Author: Varun
    Author URI: http://svarun.in
    License: GPL
    */
    
    register_activation_hook(__FILE__,'footer_word_install');
    register_deactivation_hook( __FILE__, 'footer_word_remove' );
    
    function footer_word_install() {
        add_option("footer_word_data", 'Default', '', 'yes');
    }
    
    function footer_word_remove() {
        delete_option('footer_word_data');
    }
    
    if (is_admin()) {
        add_action('admin_menu', 'footer_word_admin_menu');
        function footer_word_admin_menu() {
            add_options_page('footer word', 'footer word', 'administrator',
        'footer-world', 'footer_word_html_page');
        }
    }
    
    function footer_word_html_page() {
        ?>
        <div>
        <h2>footer_word Options</h2>
        <form method="post" action="options.php">
        <?php wp_nonce_field('update-options'); ?>
        <table width="510">
        <tr valign="top">
        <th width="92" scope="row">Enter Text</th>
        <td width="406">
        <input name="footer_word_data" type="text" id="footer_word_data" value="<?php echo get_option('footer_word_data'); ?>" />
        </td>  
        </tr>
        </table>
        <input type="hidden" name="action" value="update" />
        <input type="hidden" name="page_options" value="footer_word_data" />
        <p>
        <input type="submit" value="<?php _e('Save Changes') ?>" />
        </p>
        </form>
        </div>
        <?php
    }
    
    function change_footer_admin() {
        echo get_option('footer_word_data');
    }
    
    add_filter('admin_footer_text', 'change_footer_admin');
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

new to c#. I'm trying to make a simple system where I can search
I am a new-bee to MySQL cluster and wanted to know where exactly the
I need page curl option for my ebook reader just like iBooks by Apple.
I am new bee in ANDROID , so for that I am unable to
I am new bee in Android, so for that I have only limited knowledge
I am a new bee to iphone programming and I need some help with
Hello Everyone I'm really new bee in android and for that I'm confused to
I have a page that lists over 100 items and I need to dynamically
I am a new bee to Android App Development . I am practicing the
I've bee reading up on git and git-svn. I'm pretty new to git but

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.