Fitr theme Options
Fitr Theme Options is our new plugin. It helps theme designers to make a diverse and rich option page for their themes.
FTO will make adding options to themes as simple as possible. Provides variety of default options and helps blog owner to design their own themes.

Features
- The plugin automatically sets up custom header image for the theme.
- Users can easily change backgrounds, fonts, sizes, text colors, borders, etc….
- Theme author can define unlimited different styles for the theme easily.
- The plugin can automatically add “Right to Left” style to theme.
- Theme author can add custom fields to option page. FTO currently supports text, checkbox, dropdown menu, category menu, page list, radio buttons and text area.
- Fitr Theme Options is Plugginable. So imagine a set of new plugins that extends your theme abilities (e.g. random header, style rotator, etc…).
- Fitr Theme Options is secure, multilingual and works with WP Super Cache.
Screenshots
Download Now!
How can your theme support Fitr Theme Options?
Simply! Just copy (click on copy icon) and paste this code in your functions.php. Replace Kubrick CSS elements with your theme element.
if ( function_exists('register_fitr_theme_options') ) {
register_fitr_theme_options(array(
'blogtitle'=>'#headerimg h1',
'blogdescription'=>'#headerimg .description',
'header_background'=>'#headerimg', //Maybe for background color, background image or logo. It's require to enter width and height for image and logo.
'headerimg_path'=>'images/kubrickheader.jpg', //Default header image e.g. 'images/header.jpg'
'headerimg_width'=>'760', //pixel
'headerimg_height'=>'200',
'container'=>'#page', // Main blog div e.g. .wrap .maincol or #page
'feedicon'=>'',
'menubar'=>'', //Menu container e.g. #menu or #nav
'menuli_bg'=>'', //e.g. #nav ul li span
'menuli_bghover'=>'',//Separate with comma(,) e.g. #nav li:hover, .current_page
'menuli_a'=>'', //Add a
'postbox'=>'.post', //Post container includes title, content, etc
'posttitle'=>'.post h2,.post h3',
'postcontent'=>'.entry',
'postmeta'=>'.narrowcolumn .postmetadata',
'date'=>'.post small',
'author'=>'',
'trackback'=>'',
'allowed_html'=>'',
'widgettitle'=>'#sidebar ul li h2',
'sidebarbody'=>'#sidebar',
'widgetbox'=>'#sidebar ul li',
'widgetli_a'=>'#sidebar ul li ul li a', //Add a
'footer'=>'#footer'
)
);
}
If you want that users without Fitr Theme Options can use your option page you should copy FTO directory to theme directory and add this line to functions.php
include('fitr-theme-options/fitr-theme-options.php');
All done!
Continue reading to add more features to your theme.
Define Different Styles!
Do you want a multi-scheme theme? You can define different styles with register_fitr_theme_style( $name, $path, $screenshot ). For example:
if (function_exists(register_fitr_theme_style)) {
register_fitr_theme_style('Red','red.css','red-screenshot.png');
register_fitr_theme_style('Green','styles/green.css','green-screenshot.jpg');
}
The chosen style will be saved in fto_settings option in fto_impot_style key. For example:
$settings=get_option('fto_settings');
if ('styles/green.css' == $settings['fto_import_style'])
echo "You love green!";
Add Custom Field
There is another great feature in Fitr Theme Option. You can add custom fields to option page using fto_add_custom_field( $name, $type, $desc, $options=” ). $type can be: text, checkbox, number, color, textarea, dropdown, cat or page. $options is necessary for ‘dropdown’ and ‘radio’ types. Separate options with ‘|’.
As above the value will be save in fto_setteings option. For example:
fto_add_custom_field('welcome_text', 'text', 'Type some thing as welcome message');
fto_add_custom_field('layout','dropdown','Choose your blog layout','One Column|Two Columns');
Now get values!
$settings=get_option('fto_settings');
if ('Two Columns' == $settings['layout']) //layout is field name
include('sidebar.php');
After adding codes you should test your theme. If your theme does not appear correctly for a certain item (for example blog title align) You can easily fix the problem via CSS or PHP (use fto_settings option).
Add your theme to our wiki!
If your theme supports Fitr Theme Options please leave a comment below and provide theme URL. We will add your theme to our wiki.
Share your ideas, report bugs!
It’s first public release so please let us know about your ideas and how can us make it better.
Other Works
![]() |
CMS Members: Premium Membership PluginCMS Members is a revolution in using WordPress as a CMS. It not only helps you to make your own membership site and sell premium contents but it also provides a perfect CMS solution for your site. We can build you a sign up page, order form, premium themes gallery, newsletter subscription, etc Learn more… |


















July 28th, 2009 at 6:18 pm
[...] Fitr theme Options is our new plugin. It will make adding options page to themes as simple as possible and bring lots of different choice for final user. For example you can change blog background, fonts, size, sidebar background, change your blog header add XHTML codes to your footer or even define a set of different styles for your theme. It will make works easy and bring more fun to WordPress. [...]
August 1st, 2009 at 4:12 pm
[...] Fitr Theme Options helps theme designers to make a diverse and rich option page for their themes. [...]
August 2nd, 2009 at 1:47 am
فكرة ممتازة سهلت علينا أمور كثيرة جزاك الله خيرا
August 2nd, 2009 at 2:46 pm
ok
August 7th, 2009 at 12:00 pm
[...] We usually could not accept this kind of project, So we think about how can we help these people. Fitr Theme Options was our answer. This great plugin makes lots of works easy and bring more fun to WordPress [...]
August 11th, 2009 at 7:52 am
Nice plugin, I was going to get something like this built with slightly different functionality. Great job, going to give it a test run.
August 18th, 2009 at 12:49 am
when will the plugin be compatible with 8.4
——
Reply: It’s compatible now!
August 18th, 2009 at 11:29 am
A beautiful plug-in that could open doors for greater wordpress customization.
Is the width adjustable? This will be great!
Thanks .. Devin
August 20th, 2009 at 12:20 pm
Very Nice
GOOD LUCK
September 17th, 2009 at 11:55 am
Hi there. Beautiful plugin.
Still there is an issue with the way I have configured it.
I am using a custom header image and have hidden both my blog title and description.
This raises the following problem. There is NOWAY to click someplace so as to GO BACK to the HOME page.
Could you please put an option of making the header image clickable to home?
Thanx in advance… Marikamitsos
October 11th, 2009 at 3:11 am
[...] Este plugin facilita a alteração do tema Default (wordpress padrão) e Home (wordpress MU). Fonte: http://wpwave.com/plugins/fitr-theme-options/ [...]
November 2nd, 2009 at 9:26 am
very interesting n creative…..liked it!!
November 3rd, 2009 at 11:42 pm
Hi….This plug-in looks really interesting. I wanted to use it with Crafty cart but I must apologize as I am total newb and just DL’d to my new site( rcpartsforsale.com)…I got the message that the theme did not support it. Is there any way I can use this to help with the limited functions of Craft cart…
Thanks, harry
November 29th, 2009 at 2:13 am
Have you considered adding support for popular theme frameworks (like Thematic) out of the box? The same CSS assignments would apply to all the child themes. That would be very nice!
November 29th, 2009 at 10:30 am
[...] plugin with the ability of avatar upload make it a perfect choice for your community. MU Press uses Fitr Theme Options so you can customize almost every elements of the site from the background, colours, font, text [...]
December 18th, 2009 at 1:41 am
Love the plugin, but I cannot figure out how to incorporate you code for different Styles. Do the code go in the themes functions.php file or elsewhere? I’ve tried quite a few different things with Kubrick and have had no success. Can you please provide a little more details as to how you obtain this?
Thanks!
January 4th, 2010 at 2:43 am
this plugin is great!
I have the same problem with stylesheets.
if you could explain i twould be ene greater !
thank you!
January 31st, 2010 at 9:21 pm
is this updated often?