Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
themefuse committed Jan 9, 2015
1 parent 68ad825 commit 5cce726
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions helpers/php.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ General PHP helpers:
// enqueue this script only on dashboard page
wp_enqueue_script(
'demo-dashboard',
fw_get_stylesheet_customizations_directory_uri('/js/demo-only.js')
get_template_directory_uri() .'/js/demo-only.js'
);
}
Expand All @@ -185,7 +185,7 @@ General PHP helpers:
// except dashboard page and all pages from posts menu (add, edit, categories, tags)
wp_enqueue_script(
'demo-dashboard',
fw_get_stylesheet_customizations_directory_uri('/js/demo-excluded.js')
get_template_directory_uri() .'/js/demo-excluded.js'
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion options/create-option-type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ To define a new option type, create a class that extends the base option type cl
.. note::

It doesn't matter where you place your new option type.
If you use the `Theme Includes <https://github.com/ThemeFuse/Theme-Includes>`__ directory structure,
If you use the `Theme Includes <https://github.com/ThemeFuse/Theme-Includes#directory-structure>`__ directory structure,
place it in the ``{theme}/inc/includes/option-types/my-option/`` directory.
Also make sure it is included only when the framework is loaded and only on the admin page

Expand Down

0 comments on commit 5cce726

Please sign in to comment.