WordPress.org

Ready to get started?Download WordPress

Forums

File and location where Twenty Eleven makes a background call (4 posts)

  1. optmyz
    Member
    Posted 1 year ago #

    Which file in the theme "Twenty Eleven" is there a call that gives the theme the option to change the background image from the admin panel?

  2. optmyz
    Member
    Posted 1 year ago #

    I am possibly phrasing my question wrong. I am looking through the files of the "Twenty Eleven" theme trying to find the code, I assume PHP, that changes the background of the page depending on the selection made in the background sub menu in the admin panel.

  3. ajmcfadyen
    Member
    Posted 1 year ago #

    'Round line 100 in functions.php

    $theme_options = twentyeleven_get_theme_options();
    	if ( 'dark' == $theme_options['color_scheme'] )
    		$default_background_color = '1d1d1d';
  4. optmyz
    Member
    Posted 1 year ago #

    'Round line 100 in functions.php

    Thank you very much

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.