Help with theme setting page

Viewing 2 posts - 1 through 2 (of 2 total)
  • #1643
    Danielx64
    Participant

    Hello,

    I’m reading this blog post: http://www.onedesigns.com/tutorials/how-to-create-a-wordpress-theme-options-page, and I would like to know what I need to change so that instead of using [code]<?php echo $sa_settings[‘footer_copyright’]; ?>[/code] I use [code]<?php get_option(‘sa_footer_copyright’); ?>[/code]

    I am asking this because I can’t use [code]echo $sa_settings[‘footer_copyright’];[/code] in my function.php file without getting an error message.

    Can you please help me with this?

    Thanks

    #1644
    Daniel Tara
    Keymaster

    In that case you need to register a separate setting for each option. I wouldn’t recommend that for several reasons.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.