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.

Fitr Theme Options

Features

  1. The plugin automatically sets up custom header image for the theme.
  2. Users can easily change backgrounds, fonts, sizes, text colors, borders, etc….
  3. Theme author can define unlimited different styles for the theme easily.
  4. The plugin can automatically add “Right to Left” style to theme.
  5. 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.
  6. Fitr Theme Options is Plugginable. So imagine a set of new plugins that extends your theme abilities (e.g. random header, style rotator, etc…).
  7. Fitr Theme Options is secure, multilingual and works with WP Super Cache.

Screenshots

Download Now!

Download it!

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

sidebar-photoblog

CMS Members: Premium Membership Plugin

CMS 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…

18 Responses to “Fitr theme Options”

  1. WPwave | » Fitr Theme Options is Coming WPMU/WordPress As CMS Premium Themes and Plugins Says:

    [...] 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. [...]

  2. WordPress Plugin Competition Blog » Fitr Theme Options Says:

    [...] Fitr Theme Options helps theme designers to make a diverse and rich option page for their themes. [...]

  3. استضافة البيانات العربية Says:

    فكرة ممتازة سهلت علينا أمور كثيرة جزاك الله خيرا

  4. andreas Says:

    ok

  5. WPwave | » New releases: Fitr Theme Options and CMS Members 1.5 WPMU/WordPress As CMS Premium Themes and Plugins Says:

    [...] 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 [...]

  6. Hyder Says:

    Nice plugin, I was going to get something like this built with slightly different functionality. Great job, going to give it a test run.

  7. Jay Says:

    when will the plugin be compatible with 8.4

    ——
    Reply: It’s compatible now!

  8. Devin Says:

    A beautiful plug-in that could open doors for greater wordpress customization.

    Is the width adjustable? This will be great!

    Thanks .. Devin

  9. ma7aba star Says:

    Very Nice
    GOOD LUCK

  10. Marikamitsos Says:

    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

  11. Sobre o Wordpress » Blog Archive » Alterando cores e fontes dos temas padrão Wpress Says:

    [...] Este plugin facilita a alteração do tema Default (wordpress padrão) e Home (wordpress MU). Fonte: http://wpwave.com/plugins/fitr-theme-options/ [...]

  12. rajshree Says:

    very interesting n creative…..liked it!!

  13. fastharryDOTcom Says:

    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

  14. Jay Collier Says:

    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!

  15. WP Wave » MU Press WordPress MU CMS Frontpage Theme, WPMU home template displays most active and updated blogs with provided Avatar plugin - WordPress Wave Says:

    [...] 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 [...]

  16. damon Says:

    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!

  17. maria Says:

    this plugin is great!

    I have the same problem with stylesheets.
    if you could explain i twould be ene greater ! :)

    thank you!

  18. Dominica Sabb Says:

    is this updated often?

Leave a Reply


WordPress Wave | Professional WordPress Coding
© 2010 All Rights Reserved | Contact Us | Theme by WordPress Wave | Proudly Powered by WordPress