I am newer to WP plugin development and extensive Theme development. I am using and altering a theme options sample from ThemeShaper. My problem is localization and the structure of the theme-options.php file.
I know that this is improper:
esc_attr_e( $options[$input['Input']] );
But I know not how to restructure it so that it is proper, but figured it would be something like this:
esc_attr_e( _n('%d', '%d', $options[$input["Input"]], 'white'), $options[$input["Input"]] );yet all this does is fill my fields with a value of
Can anyone lend me a hand on how to make this proper?
- The topic ‘Translation function calls must NOT contain PHP variables’ is closed to new replies.