Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The easiest to use WordPress option framework.
PHP CSS JavaScript
Failed to load latest commit information.
bin Changed Travis To Prevent MySQL from Failing
css Fixed X button on upload option
inc Removed scss_server + adjustments to scssphp
js Updated ace
languages For approval: Save/Reset confirmation option.
tests Finally Travis is Working
.gitignore Updated readme
.travis.yml Now tests only 4.0 and latest
README.md Readying for v1.7.4
class-admin-notification.php removing closing php tags from files to prevent Headers already sent …
class-admin-panel.php Added `tf_pre_save_options_{namespace}` hooks
class-admin-tab.php Added desc params to panels, tabs and meta boxes
class-meta-box.php Added `tf_pre_save_options_{namespace}` hooks
class-option-checkbox.php Convert all quad-space indents with tab indents.
class-option-code.php Only show <script> tag when js code specified in code option
class-option-color.php Fixed: customizer color description is doubled
class-option-date.php Changed parameters of date object
class-option-edd-license.php Add support for theme update
class-option-editor.php removing closing php tags from files to prevent Headers already sent …
class-option-enable.php Enable option now shows the name correctly
class-option-font.php Fixed some PHP warnings
class-option-heading.php Update class-option-heading.php
class-option-multicheck-categories.php removing closing php tags from files to prevent Headers already sent …
class-option-multicheck-pages.php removing closing php tags from files to prevent Headers already sent …
class-option-multicheck-posts.php removing closing php tags from files to prevent Headers already sent …
class-option-multicheck.php Fixed bug where empty multicheck returned an array
class-option-note.php Added new parameters to format the note option
class-option-number.php Added `unit` param in Customizer number option
class-option-radio-image.php Convert all quad-space indents with tab indents.
class-option-radio-palette.php retaining key of value on radio palette livepreview js
class-option-radio.php removing closing php tags from files to prevent Headers already sent …
class-option-save.php Cleaned reset confirmation
class-option-select-categories.php Convert all quad-space indents with tab indents.
class-option-select-pages.php removing closing php tags from files to prevent Headers already sent …
class-option-select-posts.php Convert all quad-space indents with tab indents.
class-option-select.php Convert all quad-space indents with tab indents.
class-option-sortable.php Removed font awesome, now uses dashicons
class-option-text.php Introduced unit parameter for number and text fields. This commit ful…
class-option-textarea.php adding sanitization options for text and textarea
class-option-upload.php Don't render CSS when value is empty
class-option.php Added `hidden` parameter for handling obsolete options
class-theme-customizer-section.php Added ability to create Theme Customizer panels
class-titan-css.php A few more left debugging, sooooorry!
class-titan-framework.php Fixed undefined notice
class-titan-tracking.php Added Titan stats to the tracker
class-wp-customize-control.php Convert all quad-space indents with tab indents.
composer.json Added archive zipping script
functions-googlefonts.php removing closing php tags from files to prevent Headers already sent …
functions-utils.php removing closing php tags from files to prevent Headers already sent …
iframe-font-preview.php Sanitized get variables for security
make.sh Make file
phpunit.xml.dist Testing Out Travis
readme.txt Version 1.7.5
titan-framework-checker.php Removed dummy TitanFramework class since it's causing problems
titan-framework-embedder.php New method for checking & embedding Titan
titan-framework.php Version 1.7.5

README.md

Titan Framework

Build Status

The easiest to use WordPress options framework.

Titan Framework allows theme and plugin developers to create a admin pages, options, meta boxes, and theme customizer options with just a few simple lines of code.

Get it in the WordPress plugin repo

Generate your own Underscores + Titan Framework based WordPress theme

Features

  • Makes development unbelievably easy
  • Built with optimization in mind
  • Does NOT clutter the database
  • Integrates with your project seamlessly
  • Theme customizer live preview integration
  • Supports child themes
  • Automatic CSS generation with SCSS support

Installing

  1. You can install the latest stable release from the wordpress.org plugin page straight from your WordPress plugin page;

  2. Or you can download the master.zip file then install it as a WordPress plugin;

  3. Alternatively, you can also install it via Composer into your wp-content/plugin folder:

curl -sS https://getcomposer.org/installer | php
php composer.phar create-project gambitph/titan-framework titan-framework

Recent Changelog

Version 1.7.4

  • Faster SCSS parsing
  • Faster loading time
  • Unit parameter for number options now supported in the Theme Customizer
  • Better font color option handling in Theme Customizer
  • Now prevents SCSS errors from showing up
  • Fixed name label issues with the enable option
  • Better plugin checking method
  • Plugin checker now integrates with TGM Plugin Activation
  • Updated Ace

Version 1.7.3

  • Fixed bug introduced in 1.7.2 where admin options sometimes were not being saved

Version 1.7.2

  • EDD option can now check for updates all by itself (thank you julien731)
  • get_post_types function now callable from tf_create_options
  • Now passes theme-check (ignored add_menu_page error)

Version 1.7.1

  • Bug fixes for the Easy Digital Download License option
  • Enhanced date option parameters
  • New parameters for Theme Customizer for creating panels

Creating a WordPress Theme?

Generate your own Underscores + Titan Framework based WordPress theme

Getting Started With Titan Framework

Titan Framework aims to be easily used by everyone. The goal is to make it plug and play - just activate the plugin and start creating your options.

Read our guide on how to get started with Titan Framework

Donate to the Development

If Titan Framework has helped you in any way, we would appreciate any amount of donations that you give us. Donations would mean more development time for the framework as I am continuously developing it during my free time.

Donate

Help Spread the Word on Titan Framework

Titan is super new, so far the framework has been getting good feedback from the community. Help out and spread the word by starring this repo, sending tweets, writing blog posts about what you think about Titan, and review the plugin in the WordPress plugin repo.

Are You Using Titan Framework in Your Project?

Let us know so we can showcase it in the site! Send me an email at bf.intal@gambit.ph, send the name, a screenshot, a link and a short description of your project.

Contributing, Pull Requests Are Very Welcome

Have an idea for a cool option, or do you have a bug fix you want to implement? Please don't hessitate to place a PR (Pull Request).

PRs on these are welcome:

  • Bug fixes
  • Cool new options
  • Cool new hooks
  • WordPress standardization
  • Code optimizations
  • Anything under the sun as long as it's helpful :)

Packaging

Code cleanup can be performed by Composer with:

php composer.phar archive --format=zip

Translations

We want Titan Framework to be used by everyone, and since not everyone speaks or reads english, we would appreciate it if you can help translate the framework to your language.

Current Translations

  • French (thanks @PunKeel)
  • German (thanks @jascha)
  • Italian (thanks @DavideVogliotti & Giuseppe Pignataro)
  • Portuguese (thanks @pagelab)
  • Spanish (thanks @maperezotero)
  • Turkish (thanks @gurkankara)

Important Links

Something went wrong with that request. Please try again.