WordPress.org

Support

Support » Themes and Templates » [Resolved] Twenty Eleven theme options – how do they work

[Resolved] Twenty Eleven theme options – how do they work

  • Hi all,

    OK so Im looking into how the Twenty Eleven theme uses theme options.

    Im really not sure how it saves/stores your preferences, can anyone tell me?

    Also I noticed that the theme-options form has the following code:

    <form method="post" action="../../twentyeleven/inc/options.php">

    There is no such file?? However the settings save if you are using the Twenty Eleven theme. But I made a copy of the theme (and called it joeblogs) and get thi error when trying to save the theme options: The requested URL /twentyeleven/inc/options.php was not found on this server. So I change the the post code to:

    <form method="post" action="../../joeblogs/inc/options.php">

    And I get this error: The requested URL /joeblogs/inc/options.php was not found on this server.

    So if someone can explain how Twenty Eleven saves your preferences and also what the deal is with the non-existent options.php file, that would be amazing.

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Changed this to: <form method="post" action="../../wp-admin/options.php"> and it now works.

    Dont understand the <form method="post" action="../../twentyeleven/inc/options.php"> reference, I must be missing some kind of rewrite somewhere or summit. Duh.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Twenty Eleven theme options – how do they work’ is closed to new replies.
Skip to toolbar