WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Add options to Custom Backgrounds. (2 posts)

  1. LasseMT
    Member
    Posted 1 year ago #

    Hello guys!

    I am using Custom Backgrounds for a website.

    Is it possible to add a option for wrapper background? I want 2 radio buttons where one says wrapper transparent and the other one says wrapper Non-transparent. It speak for itself why i want this :)

    I want this option inside the Background menu.

    Does someone know how to do this?

    Best Regards
    - Lasse

  2. LasseMT
    Member
    Posted 1 year ago #

    I found a soulution for this.

    Read:
    http://wordpress.stackexchange.com/questions/64652/how-do-i-add-settings-to-the-background-options-page
    and:
    http://codex.wordpress.org/Function_Reference/get_theme_mod

    I hope this will help other people.

    Tip:
    You can use get_theme_mod when you are passing in variables from PHP with wp-less.

Topic Closed

This topic has been closed to new replies.

About this Topic