WordPress.org

Ready to get started?Download WordPress

Forums

Options Framework
[resolved] Options Framework scripts not loading (3 posts)

  1. alex27
    Member
    Posted 2 years ago #

    Hello!

    I'm currntly creating a free theme for WP repository, and I want to use Options Framework for theme options (I want to embed OF inside the theme).
    I did the same thing for my other free theme and it worked great (OF version 0.8), but when I do the same thing now with OF version 1.1 it doesn't work - css and js files are not loaded properly, the path is evidently wrong.

    Here's what I've got:
    In my theme main folder I have admin subfolder that holds OF css and js folders and files: options-framework.php, options-interface.php, options-medialibrary-uploader.php and options-sanitize.php. The file options.php with my theme specific definitions is inside main theme folder.

    Am I doing something wrong? I'd be grateful for any tips You could give me.

    http://wordpress.org/extend/plugins/options-framework/

  2. Devin Price
    Member
    Plugin Author

    Posted 2 years ago #

    You've included the link to the plugin, but it sounds like you're using the theme version: http://wptheming.com/options-framework-theme/

    In the latest version of that code, the "admin" folder has been renamed "inc".

    I'd follow the instructions in the video, move the necessary code over, and then replace the default options.php with your own custom options.php.

    That should get everything working again.

  3. alex27
    Member
    Posted 2 years ago #

    Thank you! I did as you said and everything is ok now.

    Although I must say that I couldn't find the download link anywhere on your website, but it's entirely possible that I'm blind :) Anyway I downloaded development version from github.

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic