Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

moved lib and config into parent because i coudln't figure out what r…

…eferences config.php. ugh so annoying
  • Loading branch information...
commit c1c7cc66f8732f36d72ce95185f9a49ff2544402 1 parent 5867f73
Justin Louie authored
Showing with 93 additions and 4 deletions.
  1. +26 −0 themes/_s/config.php
  2. +63 −0 themes/_s/functions.php
  3. 0  themes/{scacseattle.org → _s}/lib/admin/css/admin.css
  4. 0  themes/{scacseattle.org/lib/scripts → _s/lib/admin/css}/index.php
  5. 0  themes/{scacseattle.org → _s}/lib/admin/custom-background.php
  6. 0  themes/{scacseattle.org → _s}/lib/admin/dashboard.php
  7. 0  themes/{scacseattle.org/lib → _s/lib/admin/images}/index.php
  8. 0  themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-location-16.png
  9. 0  themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-location-32.png
  10. 0  themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-person-16.png
  11. 0  themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-person-32.png
  12. 0  themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-sermon-16.png
  13. 0  themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-sermon-32.png
  14. 0  themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-slide-16.png
  15. 0  themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-slide-32.png
  16. 0  themes/{scacseattle.org/lib/functions → _s/lib/admin}/index.php
  17. 0  themes/{scacseattle.org → _s}/lib/admin/location-settings.php
  18. 0  themes/{scacseattle.org → _s}/lib/admin/metabox.php
  19. 0  themes/{scacseattle.org → _s}/lib/admin/page-options.php
  20. 0  themes/{scacseattle.org → _s}/lib/admin/person-settings.php
  21. 0  themes/{scacseattle.org → _s}/lib/admin/podcast-settings.php
  22. 0  themes/{scacseattle.org → _s}/lib/admin/post-settings.php
  23. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/indent.gif
  24. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/inestedsortable.js
  25. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/interface-1.2.js
  26. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/interface/idrag-modified.js
  27. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/interface/idrop.js
  28. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/interface/isortables.js
  29. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/interface/iutil.js
  30. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/licence.txt
  31. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/loading.gif
  32. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/process-sortable.php
  33. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/readme.txt
  34. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/reorder.css
  35. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/reorder.js
  36. 0  themes/{scacseattle.org → _s}/lib/admin/reorder/reorder.php
  37. 0  themes/{scacseattle.org → _s}/lib/admin/scripts/editor_plugin.js
  38. 0  themes/{scacseattle.org → _s}/lib/admin/scripts/index.php
  39. 0  themes/{scacseattle.org → _s}/lib/admin/scripts/sidebar.js
  40. 0  themes/{scacseattle.org → _s}/lib/admin/scripts/vimeo.png
  41. 0  themes/{scacseattle.org → _s}/lib/admin/scripts/youtube.png
  42. 0  themes/{scacseattle.org → _s}/lib/admin/sermon-settings.php
  43. 0  themes/{scacseattle.org → _s}/lib/admin/sidebars.php
  44. 0  themes/{scacseattle.org → _s}/lib/admin/slide-settings.php
  45. 0  themes/{scacseattle.org → _s}/lib/admin/social-footer.php
  46. 0  themes/{scacseattle.org → _s}/lib/admin/theme-options.php
  47. 0  themes/{scacseattle.org → _s}/lib/admin/update.php
  48. 0  themes/{scacseattle.org → _s}/lib/functions/entry-views.php
  49. +2 −2 themes/{scacseattle.org → _s}/lib/functions/functions.php
  50. 0  themes/{scacseattle.org/lib/admin → _s/lib/functions}/index.php
  51. 0  themes/{scacseattle.org → _s}/lib/functions/post-types.php
  52. 0  themes/{scacseattle.org → _s}/lib/functions/prefix-post-types.php
  53. 0  themes/{scacseattle.org → _s}/lib/functions/presstrends.php
  54. 0  themes/{scacseattle.org → _s}/lib/functions/search-excerpt.php
  55. 0  themes/{scacseattle.org → _s}/lib/functions/shortcode-people-noimage.php
  56. 0  themes/{scacseattle.org → _s}/lib/functions/shortcode-people.php
  57. 0  themes/{scacseattle.org → _s}/lib/functions/shortcode-posts-noimage.php
  58. 0  themes/{scacseattle.org → _s}/lib/functions/shortcode-posts.php
  59. 0  themes/{scacseattle.org → _s}/lib/functions/shortcode-sermons-noimage.php
  60. 0  themes/{scacseattle.org → _s}/lib/functions/shortcode-sermons.php
  61. 0  themes/{scacseattle.org → _s}/lib/functions/widgets.php
  62. 0  themes/{scacseattle.org/lib/admin/images → _s/lib}/index.php
  63. 0  themes/{scacseattle.org → _s}/lib/scripts/download.php
  64. 0  themes/{scacseattle.org/lib/admin/css → _s/lib/scripts}/index.php
  65. 0  themes/{scacseattle.org → _s}/lib/scripts/jquery.flexslider.min.js
  66. 0  themes/{scacseattle.org → _s}/lib/scripts/jquery.placeholder.min.js
  67. 0  themes/{scacseattle.org → _s}/lib/scripts/jquery.selectbox.min.js
  68. 0  themes/{scacseattle.org → _s}/lib/scripts/main.js
  69. 0  themes/{scacseattle.org → _s}/lib/scripts/main.min.js
  70. 0  themes/{scacseattle.org → _s}/lib/scripts/podcast-feed.php
  71. 0  themes/{scacseattle.org → _s}/lib/scripts/scheme.php
  72. 0  themes/{scacseattle.org → _s}/lib/scripts/timthumb-config.php
  73. 0  themes/{scacseattle.org → _s}/lib/scripts/timthumb.php
  74. 0  themes/{scacseattle.org → _s}/lib/scripts/twitter.js
  75. 0  themes/{scacseattle.org → _s}/lib/scripts/twitter.min.js
  76. +2 −2 themes/scacseattle.org/functions.php
View
26 themes/_s/config.php
@@ -0,0 +1,26 @@
+<?php
+/*
+===================================================================================================
+WARNING! DO NOT EDIT THIS FILE OR ANY TEMPLATE FILES IN THIS THEME!
+
+To make it easy to update your theme, you should not edit this file. Instead, you should create a
+Child Theme first. This will ensure your template changes are not lost when updating the theme.
+
+You can learn more about creating Child Themes here: http://codex.wordpress.org/Child_Themes
+
+You have been warned! :)
+===================================================================================================
+*/
+
+// Theme options
+define( 'CHURCHTHEMES_OPTIONS_MAIN_COLOR', '#629fa6' );
+define( 'CHURCHTHEMES_OPTIONS_LOGO_WIDTH', 277 );
+define( 'CHURCHTHEMES_OPTIONS_LOGO_HEIGHT', 25 );
+define( 'CHURCHTHEMES_OPTIONS_LOGO_TOP_MARGIN', 32 );
+
+// Custom background
+define( 'CHURCHTHEMES_DEFAULT_BACKGROUND_IMAGE', WP_THEME_DIR . '/images/bg_body.jpg' );
+define( 'CHURCHTHEMES_DEFAULT_BACKGROUND_COLOR', 'd9d9d1' );
+
+// Update script
+define( 'CHURCHTHEMES_UPDATE_API_URL', 'http://churchthemes.net/updates/antioch/' );
View
63 themes/_s/functions.php
@@ -6,6 +6,69 @@
* @since _s 1.0
*/
+if (!empty($_SERVER['SCRIPT_FILENAME']) && 'functions.php' == basename($_SERVER['SCRIPT_FILENAME']))
+die ('<h1>Access Denied</h1>');
+
+/*---------------------------------------------------------------------------------------*/
+/* Start ChurchThemes Functions - Please DO NOT edit this section! :) */
+/*---------------------------------------------------------------------------------------*/
+
+// Define theme location for bundled plugins
+if(!defined('WP_THEME_URL')) {
+ define( 'WP_THEME_URL', get_template_directory_uri());
+}
+if(!defined('WP_THEME_DIR')) {
+ define( 'WP_THEME_DIR', get_template_directory_uri());
+}
+
+require_once ( TEMPLATEPATH . '/config.php' );
+
+// Set path to function libraries
+$admin_path = TEMPLATEPATH . '/lib/admin/';
+$functions_path = TEMPLATEPATH . '/lib/functions/';
+
+// Load each admin function
+require_once ($admin_path . 'theme-options.php'); // Custom theme options
+require_once ($admin_path . 'custom-background.php'); // Custom background support
+require_once ($admin_path . 'social-footer.php'); // Social footer options
+require_once ($admin_path . 'update.php'); // Check for theme updates
+require_once ($admin_path . 'dashboard.php'); // Custom dashboard widgets
+require_once ($admin_path . 'metabox.php'); // Custom meta box
+require_once ($admin_path . 'sidebars.php'); // Custom sidebars
+require_once ($admin_path . 'post-settings.php'); // Post settings
+require_once ($admin_path . 'slide-settings.php'); // Slide settings
+require_once ($admin_path . 'podcast-settings.php'); // Podcast settings
+require_once ($admin_path . 'sermon-settings.php'); // Sermon settings
+require_once ($admin_path . 'location-settings.php'); // Location settings
+require_once ($admin_path . 'person-settings.php'); // Person settings
+require_once ($admin_path . 'reorder/reorder.php'); // Reorder plugin
+
+// Load each function
+require_once ($functions_path . 'prefix-post-types.php'); // Ensure that all post types are prefixed
+require_once ($functions_path . 'functions.php'); // Specific theme functions
+require_once ($functions_path . 'search-excerpt.php'); // Customize excerpt on searches
+require_once ($functions_path . 'post-types.php'); // Custom post types
+require_once ($functions_path . 'widgets.php'); // Custom theme widgets
+require_once ($functions_path . 'presstrends.php'); // PressTrends
+
+if(!function_exists('entry_views_update')) {
+ require_once ($functions_path . 'entry-views.php'); // Entry views extension
+}
+
+/*---------------------------------------------------------------------------------------*/
+/* End ChurchThemes Functions - Thank you for your cooperation! :) */
+/*---------------------------------------------------------------------------------------*/
+
+
+
+
+
+
+
+
+
+
+
/**
* Set the content width based on the theme's design and stylesheet.
*
View
0  themes/scacseattle.org/lib/admin/css/admin.css → themes/_s/lib/admin/css/admin.css
File renamed without changes
View
0  themes/scacseattle.org/lib/scripts/index.php → themes/_s/lib/admin/css/index.php
File renamed without changes
View
0  ...s/scacseattle.org/lib/admin/custom-background.php → themes/_s/lib/admin/custom-background.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/dashboard.php → themes/_s/lib/admin/dashboard.php
File renamed without changes
View
0  themes/scacseattle.org/lib/index.php → themes/_s/lib/admin/images/index.php
File renamed without changes
View
0  ...le.org/lib/admin/images/menu_icon-location-16.png → themes/_s/lib/admin/images/menu_icon-location-16.png
File renamed without changes
View
0  ...le.org/lib/admin/images/menu_icon-location-32.png → themes/_s/lib/admin/images/menu_icon-location-32.png
File renamed without changes
View
0  ...ttle.org/lib/admin/images/menu_icon-person-16.png → themes/_s/lib/admin/images/menu_icon-person-16.png
File renamed without changes
View
0  ...ttle.org/lib/admin/images/menu_icon-person-32.png → themes/_s/lib/admin/images/menu_icon-person-32.png
File renamed without changes
View
0  ...ttle.org/lib/admin/images/menu_icon-sermon-16.png → themes/_s/lib/admin/images/menu_icon-sermon-16.png
File renamed without changes
View
0  ...ttle.org/lib/admin/images/menu_icon-sermon-32.png → themes/_s/lib/admin/images/menu_icon-sermon-32.png
File renamed without changes
View
0  ...attle.org/lib/admin/images/menu_icon-slide-16.png → themes/_s/lib/admin/images/menu_icon-slide-16.png
File renamed without changes
View
0  ...attle.org/lib/admin/images/menu_icon-slide-32.png → themes/_s/lib/admin/images/menu_icon-slide-32.png
File renamed without changes
View
0  themes/scacseattle.org/lib/functions/index.php → themes/_s/lib/admin/index.php
File renamed without changes
View
0  ...s/scacseattle.org/lib/admin/location-settings.php → themes/_s/lib/admin/location-settings.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/metabox.php → themes/_s/lib/admin/metabox.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/page-options.php → themes/_s/lib/admin/page-options.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/person-settings.php → themes/_s/lib/admin/person-settings.php
File renamed without changes
View
0  ...es/scacseattle.org/lib/admin/podcast-settings.php → themes/_s/lib/admin/podcast-settings.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/post-settings.php → themes/_s/lib/admin/post-settings.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/reorder/indent.gif → themes/_s/lib/admin/reorder/indent.gif
File renamed without changes
View
0  ...cseattle.org/lib/admin/reorder/inestedsortable.js → themes/_s/lib/admin/reorder/inestedsortable.js
File renamed without changes
View
0  ...cacseattle.org/lib/admin/reorder/interface-1.2.js → themes/_s/lib/admin/reorder/interface-1.2.js
File renamed without changes
View
0  ...org/lib/admin/reorder/interface/idrag-modified.js → .../_s/lib/admin/reorder/interface/idrag-modified.js
File renamed without changes
View
0  ...cseattle.org/lib/admin/reorder/interface/idrop.js → themes/_s/lib/admin/reorder/interface/idrop.js
File renamed without changes
View
0  ...tle.org/lib/admin/reorder/interface/isortables.js → themes/_s/lib/admin/reorder/interface/isortables.js
File renamed without changes
View
0  ...cseattle.org/lib/admin/reorder/interface/iutil.js → themes/_s/lib/admin/reorder/interface/iutil.js
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/reorder/licence.txt → themes/_s/lib/admin/reorder/licence.txt
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/reorder/loading.gif → themes/_s/lib/admin/reorder/loading.gif
File renamed without changes
View
0  ...eattle.org/lib/admin/reorder/process-sortable.php → themes/_s/lib/admin/reorder/process-sortable.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/reorder/readme.txt → themes/_s/lib/admin/reorder/readme.txt
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/reorder/reorder.css → themes/_s/lib/admin/reorder/reorder.css
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/reorder/reorder.js → themes/_s/lib/admin/reorder/reorder.js
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/reorder/reorder.php → themes/_s/lib/admin/reorder/reorder.php
File renamed without changes
View
0  ...cacseattle.org/lib/admin/scripts/editor_plugin.js → themes/_s/lib/admin/scripts/editor_plugin.js
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/scripts/index.php → themes/_s/lib/admin/scripts/index.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/scripts/sidebar.js → themes/_s/lib/admin/scripts/sidebar.js
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/scripts/vimeo.png → themes/_s/lib/admin/scripts/vimeo.png
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/scripts/youtube.png → themes/_s/lib/admin/scripts/youtube.png
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/sermon-settings.php → themes/_s/lib/admin/sermon-settings.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/sidebars.php → themes/_s/lib/admin/sidebars.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/slide-settings.php → themes/_s/lib/admin/slide-settings.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/social-footer.php → themes/_s/lib/admin/social-footer.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/theme-options.php → themes/_s/lib/admin/theme-options.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/update.php → themes/_s/lib/admin/update.php
File renamed without changes
View
0  themes/scacseattle.org/lib/functions/entry-views.php → themes/_s/lib/functions/entry-views.php
File renamed without changes
View
4 themes/scacseattle.org/lib/functions/functions.php → themes/_s/lib/functions/functions.php
@@ -16,10 +16,10 @@
// Define theme location for bundled plugins
if(!defined('WP_THEME_URL')) {
- define( 'WP_THEME_URL', get_stylesheet_directory_uri());
+ define( 'WP_THEME_URL', get_template_directory_uri());
}
if(!defined('WP_THEME_DIR')) {
- define( 'WP_THEME_DIR', get_stylesheet_directory());
+ define( 'WP_THEME_DIR', get_template_directory_uri());
}
View
0  themes/scacseattle.org/lib/admin/index.php → themes/_s/lib/functions/index.php
File renamed without changes
View
0  themes/scacseattle.org/lib/functions/post-types.php → themes/_s/lib/functions/post-types.php
File renamed without changes
View
0  ...acseattle.org/lib/functions/prefix-post-types.php → themes/_s/lib/functions/prefix-post-types.php
File renamed without changes
View
0  themes/scacseattle.org/lib/functions/presstrends.php → themes/_s/lib/functions/presstrends.php
File renamed without changes
View
0  .../scacseattle.org/lib/functions/search-excerpt.php → themes/_s/lib/functions/search-excerpt.php
File renamed without changes
View
0  ...le.org/lib/functions/shortcode-people-noimage.php → themes/_s/lib/functions/shortcode-people-noimage.php
File renamed without changes
View
0  ...cacseattle.org/lib/functions/shortcode-people.php → themes/_s/lib/functions/shortcode-people.php
File renamed without changes
View
0  ...tle.org/lib/functions/shortcode-posts-noimage.php → themes/_s/lib/functions/shortcode-posts-noimage.php
File renamed without changes
View
0  ...scacseattle.org/lib/functions/shortcode-posts.php → themes/_s/lib/functions/shortcode-posts.php
File renamed without changes
View
0  ...e.org/lib/functions/shortcode-sermons-noimage.php → ...es/_s/lib/functions/shortcode-sermons-noimage.php
File renamed without changes
View
0  ...acseattle.org/lib/functions/shortcode-sermons.php → themes/_s/lib/functions/shortcode-sermons.php
File renamed without changes
View
0  themes/scacseattle.org/lib/functions/widgets.php → themes/_s/lib/functions/widgets.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/images/index.php → themes/_s/lib/index.php
File renamed without changes
View
0  themes/scacseattle.org/lib/scripts/download.php → themes/_s/lib/scripts/download.php
File renamed without changes
View
0  themes/scacseattle.org/lib/admin/css/index.php → themes/_s/lib/scripts/index.php
File renamed without changes
View
0  ...cseattle.org/lib/scripts/jquery.flexslider.min.js → themes/_s/lib/scripts/jquery.flexslider.min.js
File renamed without changes
View
0  ...seattle.org/lib/scripts/jquery.placeholder.min.js → themes/_s/lib/scripts/jquery.placeholder.min.js
File renamed without changes
View
0  ...acseattle.org/lib/scripts/jquery.selectbox.min.js → themes/_s/lib/scripts/jquery.selectbox.min.js
File renamed without changes
View
0  themes/scacseattle.org/lib/scripts/main.js → themes/_s/lib/scripts/main.js
File renamed without changes
View
0  themes/scacseattle.org/lib/scripts/main.min.js → themes/_s/lib/scripts/main.min.js
File renamed without changes
View
0  themes/scacseattle.org/lib/scripts/podcast-feed.php → themes/_s/lib/scripts/podcast-feed.php
File renamed without changes
View
0  themes/scacseattle.org/lib/scripts/scheme.php → themes/_s/lib/scripts/scheme.php
File renamed without changes
View
0  ...s/scacseattle.org/lib/scripts/timthumb-config.php → themes/_s/lib/scripts/timthumb-config.php
File renamed without changes
View
0  themes/scacseattle.org/lib/scripts/timthumb.php → themes/_s/lib/scripts/timthumb.php
File renamed without changes
View
0  themes/scacseattle.org/lib/scripts/twitter.js → themes/_s/lib/scripts/twitter.js
File renamed without changes
View
0  themes/scacseattle.org/lib/scripts/twitter.min.js → themes/_s/lib/scripts/twitter.min.js
File renamed without changes
View
4 themes/scacseattle.org/functions.php
@@ -30,10 +30,10 @@
// Define theme location for bundled plugins
if(!defined('WP_THEME_URL')) {
- define( 'WP_THEME_URL', get_stylesheet_directory_uri());
+ define( 'WP_THEME_URL', get_template_directory_uri());
}
if(!defined('WP_THEME_DIR')) {
- define( 'WP_THEME_DIR', get_stylesheet_directory());
+ define( 'WP_THEME_DIR', get_template_directory());
}
require_once ( WP_THEME_DIR . '/config.php' );
Please sign in to comment.
Something went wrong with that request. Please try again.