Permalink
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...
Justin Louie
Justin Louie committed Dec 14, 2012
1 parent 5867f73 commit c1c7cc66f8732f36d72ce95185f9a49ff2544402
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 → _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 → _s}/lib/admin/images/index.php
  8. BIN themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-location-16.png
  9. BIN themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-location-32.png
  10. BIN themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-person-16.png
  11. BIN themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-person-32.png
  12. BIN themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-sermon-16.png
  13. BIN themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-sermon-32.png
  14. BIN themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-slide-16.png
  15. BIN themes/{scacseattle.org → _s}/lib/admin/images/menu_icon-slide-32.png
  16. 0 themes/{scacseattle.org → _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. BIN 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. BIN 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. BIN themes/{scacseattle.org → _s}/lib/admin/scripts/vimeo.png
  41. BIN 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 → _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 → _s}/lib/index.php
  63. 0 themes/{scacseattle.org → _s}/lib/scripts/download.php
  64. 0 themes/{scacseattle.org → _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
@@ -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
@@ -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.
*
@@ -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());
}
File renamed without changes.
@@ -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' );

0 comments on commit c1c7cc6

Please sign in to comment.