diff --git a/wp/themes/thbusiness/images/24-7-365.png b/wp/themes/thbusiness/images/24-7-365.png
deleted file mode 100644
index 2f5b24ff..00000000
Binary files a/wp/themes/thbusiness/images/24-7-365.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/Consumers-Advocate.jpg b/wp/themes/thbusiness/images/Consumers-Advocate.jpg
deleted file mode 100644
index e206f961..00000000
Binary files a/wp/themes/thbusiness/images/Consumers-Advocate.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/In-Home-Safety-Guide.jpg b/wp/themes/thbusiness/images/In-Home-Safety-Guide.jpg
deleted file mode 100644
index 63fdf295..00000000
Binary files a/wp/themes/thbusiness/images/In-Home-Safety-Guide.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/MAlogo.png b/wp/themes/thbusiness/images/MAlogo.png
deleted file mode 100644
index ad9b946b..00000000
Binary files a/wp/themes/thbusiness/images/MAlogo.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/Medical-Alert-Buyers-Guide.jpg b/wp/themes/thbusiness/images/Medical-Alert-Buyers-Guide.jpg
deleted file mode 100644
index e4914d0b..00000000
Binary files a/wp/themes/thbusiness/images/Medical-Alert-Buyers-Guide.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/MedicalAlert-TO-NIb.jpg b/wp/themes/thbusiness/images/MedicalAlert-TO-NIb.jpg
deleted file mode 100644
index 7c1998a4..00000000
Binary files a/wp/themes/thbusiness/images/MedicalAlert-TO-NIb.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/Prod-Anywhere.jpg b/wp/themes/thbusiness/images/Prod-Anywhere.jpg
deleted file mode 100644
index 6acb1048..00000000
Binary files a/wp/themes/thbusiness/images/Prod-Anywhere.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/Prod-Bundle.jpg b/wp/themes/thbusiness/images/Prod-Bundle.jpg
deleted file mode 100644
index c05d2c44..00000000
Binary files a/wp/themes/thbusiness/images/Prod-Bundle.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/Prod-InHome.jpg b/wp/themes/thbusiness/images/Prod-InHome.jpg
deleted file mode 100644
index cd04797b..00000000
Binary files a/wp/themes/thbusiness/images/Prod-InHome.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/Prod-Wireless.jpg b/wp/themes/thbusiness/images/Prod-Wireless.jpg
deleted file mode 100644
index 82765b2c..00000000
Binary files a/wp/themes/thbusiness/images/Prod-Wireless.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/Rating-stars.png b/wp/themes/thbusiness/images/Rating-stars.png
deleted file mode 100644
index 62e59c23..00000000
Binary files a/wp/themes/thbusiness/images/Rating-stars.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/Top10.jpg b/wp/themes/thbusiness/images/Top10.jpg
deleted file mode 100644
index a28f39a5..00000000
Binary files a/wp/themes/thbusiness/images/Top10.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/Untitled-4.jpg b/wp/themes/thbusiness/images/Untitled-4.jpg
deleted file mode 100644
index 85ebc232..00000000
Binary files a/wp/themes/thbusiness/images/Untitled-4.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/affiliate-logos.jpg b/wp/themes/thbusiness/images/affiliate-logos.jpg
deleted file mode 100644
index 422c73c8..00000000
Binary files a/wp/themes/thbusiness/images/affiliate-logos.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/analysis-img.jpg b/wp/themes/thbusiness/images/analysis-img.jpg
deleted file mode 100644
index 44e58266..00000000
Binary files a/wp/themes/thbusiness/images/analysis-img.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/asap-logo.gif b/wp/themes/thbusiness/images/asap-logo.gif
deleted file mode 100644
index 5d58e23b..00000000
Binary files a/wp/themes/thbusiness/images/asap-logo.gif and /dev/null differ
diff --git a/wp/themes/thbusiness/images/at-home.jpg b/wp/themes/thbusiness/images/at-home.jpg
deleted file mode 100644
index 3917b259..00000000
Binary files a/wp/themes/thbusiness/images/at-home.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/bbb.gif b/wp/themes/thbusiness/images/bbb.gif
deleted file mode 100644
index 906f5069..00000000
Binary files a/wp/themes/thbusiness/images/bbb.gif and /dev/null differ
diff --git a/wp/themes/thbusiness/images/bbb.png b/wp/themes/thbusiness/images/bbb.png
deleted file mode 100644
index 9e11f997..00000000
Binary files a/wp/themes/thbusiness/images/bbb.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/bcbs.png b/wp/themes/thbusiness/images/bcbs.png
deleted file mode 100644
index 06e2d47d..00000000
Binary files a/wp/themes/thbusiness/images/bcbs.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/bg-counter.png b/wp/themes/thbusiness/images/bg-counter.png
deleted file mode 100644
index 83cb2d36..00000000
Binary files a/wp/themes/thbusiness/images/bg-counter.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/bg.gif b/wp/themes/thbusiness/images/bg.gif
deleted file mode 100644
index 99bfb5c4..00000000
Binary files a/wp/themes/thbusiness/images/bg.gif and /dev/null differ
diff --git a/wp/themes/thbusiness/images/bg.png b/wp/themes/thbusiness/images/bg.png
deleted file mode 100644
index cd84372b..00000000
Binary files a/wp/themes/thbusiness/images/bg.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/bg1.gif b/wp/themes/thbusiness/images/bg1.gif
deleted file mode 100644
index 53039098..00000000
Binary files a/wp/themes/thbusiness/images/bg1.gif and /dev/null differ
diff --git a/wp/themes/thbusiness/images/bg2.gif b/wp/themes/thbusiness/images/bg2.gif
deleted file mode 100644
index d1a234be..00000000
Binary files a/wp/themes/thbusiness/images/bg2.gif and /dev/null differ
diff --git a/wp/themes/thbusiness/images/callout.png b/wp/themes/thbusiness/images/callout.png
deleted file mode 100644
index e0b97f91..00000000
Binary files a/wp/themes/thbusiness/images/callout.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/caregiver-callout.jpg b/wp/themes/thbusiness/images/caregiver-callout.jpg
deleted file mode 100644
index 37c59fc7..00000000
Binary files a/wp/themes/thbusiness/images/caregiver-callout.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/caregiver.jpg b/wp/themes/thbusiness/images/caregiver.jpg
deleted file mode 100644
index b05a310a..00000000
Binary files a/wp/themes/thbusiness/images/caregiver.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/checklist.jpg b/wp/themes/thbusiness/images/checklist.jpg
deleted file mode 100644
index 55bb16ed..00000000
Binary files a/wp/themes/thbusiness/images/checklist.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/drop.png b/wp/themes/thbusiness/images/drop.png
deleted file mode 100644
index f1c1905f..00000000
Binary files a/wp/themes/thbusiness/images/drop.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/dropshadow.png b/wp/themes/thbusiness/images/dropshadow.png
deleted file mode 100644
index 337a4a8e..00000000
Binary files a/wp/themes/thbusiness/images/dropshadow.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/ease.gif b/wp/themes/thbusiness/images/ease.gif
deleted file mode 100644
index 8c6bb22e..00000000
Binary files a/wp/themes/thbusiness/images/ease.gif and /dev/null differ
diff --git a/wp/themes/thbusiness/images/ease.png b/wp/themes/thbusiness/images/ease.png
deleted file mode 100644
index f71d31b9..00000000
Binary files a/wp/themes/thbusiness/images/ease.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/easy-to-use.png b/wp/themes/thbusiness/images/easy-to-use.png
deleted file mode 100644
index b204399d..00000000
Binary files a/wp/themes/thbusiness/images/easy-to-use.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/endofsummer-offer-pop.png b/wp/themes/thbusiness/images/endofsummer-offer-pop.png
deleted file mode 100644
index eb87f134..00000000
Binary files a/wp/themes/thbusiness/images/endofsummer-offer-pop.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/endofsummer-thankyou-bg2.jpg b/wp/themes/thbusiness/images/endofsummer-thankyou-bg2.jpg
deleted file mode 100644
index f8811992..00000000
Binary files a/wp/themes/thbusiness/images/endofsummer-thankyou-bg2.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/facebook.png b/wp/themes/thbusiness/images/facebook.png
deleted file mode 100644
index c5f8d97a..00000000
Binary files a/wp/themes/thbusiness/images/facebook.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/free-brochure.png b/wp/themes/thbusiness/images/free-brochure.png
deleted file mode 100644
index 6f05f05b..00000000
Binary files a/wp/themes/thbusiness/images/free-brochure.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/free-flashlight-promo.jpg b/wp/themes/thbusiness/images/free-flashlight-promo.jpg
deleted file mode 100644
index 4525e786..00000000
Binary files a/wp/themes/thbusiness/images/free-flashlight-promo.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/free-flashlight.jpg b/wp/themes/thbusiness/images/free-flashlight.jpg
deleted file mode 100644
index 48c37088..00000000
Binary files a/wp/themes/thbusiness/images/free-flashlight.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/good.png b/wp/themes/thbusiness/images/good.png
deleted file mode 100644
index 786ae40b..00000000
Binary files a/wp/themes/thbusiness/images/good.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/goodhousekeeping.gif b/wp/themes/thbusiness/images/goodhousekeeping.gif
deleted file mode 100644
index d6c5e445..00000000
Binary files a/wp/themes/thbusiness/images/goodhousekeeping.gif and /dev/null differ
diff --git a/wp/themes/thbusiness/images/gps-enabled.jpg b/wp/themes/thbusiness/images/gps-enabled.jpg
deleted file mode 100644
index 6b06c3fc..00000000
Binary files a/wp/themes/thbusiness/images/gps-enabled.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/gps-map4.png b/wp/themes/thbusiness/images/gps-map4.png
deleted file mode 100644
index 372b53f6..00000000
Binary files a/wp/themes/thbusiness/images/gps-map4.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/hdis.png b/wp/themes/thbusiness/images/hdis.png
deleted file mode 100644
index afd034f1..00000000
Binary files a/wp/themes/thbusiness/images/hdis.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/hero-reskin-mobile.jpg b/wp/themes/thbusiness/images/hero-reskin-mobile.jpg
deleted file mode 100644
index 948e5145..00000000
Binary files a/wp/themes/thbusiness/images/hero-reskin-mobile.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/hero-reskin.jpg b/wp/themes/thbusiness/images/hero-reskin.jpg
deleted file mode 100644
index 53c7a160..00000000
Binary files a/wp/themes/thbusiness/images/hero-reskin.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/hib.png b/wp/themes/thbusiness/images/hib.png
deleted file mode 100644
index 5c04392e..00000000
Binary files a/wp/themes/thbusiness/images/hib.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/hms.png b/wp/themes/thbusiness/images/hms.png
deleted file mode 100644
index be9fbe4a..00000000
Binary files a/wp/themes/thbusiness/images/hms.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/hurry.png b/wp/themes/thbusiness/images/hurry.png
deleted file mode 100644
index 82f7b7cd..00000000
Binary files a/wp/themes/thbusiness/images/hurry.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-2-help.png b/wp/themes/thbusiness/images/icon-2-help.png
deleted file mode 100644
index 4f8809d3..00000000
Binary files a/wp/themes/thbusiness/images/icon-2-help.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-24.jpg b/wp/themes/thbusiness/images/icon-24.jpg
deleted file mode 100644
index 92dc5441..00000000
Binary files a/wp/themes/thbusiness/images/icon-24.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-24.png b/wp/themes/thbusiness/images/icon-24.png
deleted file mode 100644
index fe71dd65..00000000
Binary files a/wp/themes/thbusiness/images/icon-24.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-btn.png b/wp/themes/thbusiness/images/icon-btn.png
deleted file mode 100644
index ec0ad14b..00000000
Binary files a/wp/themes/thbusiness/images/icon-btn.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-bundle.png b/wp/themes/thbusiness/images/icon-bundle.png
deleted file mode 100644
index f05ffe5f..00000000
Binary files a/wp/themes/thbusiness/images/icon-bundle.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-button-blue.png b/wp/themes/thbusiness/images/icon-button-blue.png
deleted file mode 100644
index b442fe8e..00000000
Binary files a/wp/themes/thbusiness/images/icon-button-blue.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-chat.png b/wp/themes/thbusiness/images/icon-chat.png
deleted file mode 100644
index 505ae4b0..00000000
Binary files a/wp/themes/thbusiness/images/icon-chat.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-check.jpg b/wp/themes/thbusiness/images/icon-check.jpg
deleted file mode 100644
index 9752d22c..00000000
Binary files a/wp/themes/thbusiness/images/icon-check.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-check.png b/wp/themes/thbusiness/images/icon-check.png
deleted file mode 100644
index 13d46e47..00000000
Binary files a/wp/themes/thbusiness/images/icon-check.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-cs.jpg b/wp/themes/thbusiness/images/icon-cs.jpg
deleted file mode 100644
index 547e404e..00000000
Binary files a/wp/themes/thbusiness/images/icon-cs.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-cs.png b/wp/themes/thbusiness/images/icon-cs.png
deleted file mode 100644
index 23873aef..00000000
Binary files a/wp/themes/thbusiness/images/icon-cs.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-fall-blue.png b/wp/themes/thbusiness/images/icon-fall-blue.png
deleted file mode 100644
index 69cb264d..00000000
Binary files a/wp/themes/thbusiness/images/icon-fall-blue.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-gps-blue.png b/wp/themes/thbusiness/images/icon-gps-blue.png
deleted file mode 100644
index 8013dd17..00000000
Binary files a/wp/themes/thbusiness/images/icon-gps-blue.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-home.png b/wp/themes/thbusiness/images/icon-home.png
deleted file mode 100644
index 0b0a5276..00000000
Binary files a/wp/themes/thbusiness/images/icon-home.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-location-on-map.png b/wp/themes/thbusiness/images/icon-location-on-map.png
deleted file mode 100644
index e7d25d2c..00000000
Binary files a/wp/themes/thbusiness/images/icon-location-on-map.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-medical.png b/wp/themes/thbusiness/images/icon-medical.png
deleted file mode 100644
index bd9c8ee2..00000000
Binary files a/wp/themes/thbusiness/images/icon-medical.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-mobile.png b/wp/themes/thbusiness/images/icon-mobile.png
deleted file mode 100644
index 8fb9d9e0..00000000
Binary files a/wp/themes/thbusiness/images/icon-mobile.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-plug.jpg b/wp/themes/thbusiness/images/icon-plug.jpg
deleted file mode 100644
index d25a1162..00000000
Binary files a/wp/themes/thbusiness/images/icon-plug.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-plug.png b/wp/themes/thbusiness/images/icon-plug.png
deleted file mode 100644
index 431b6252..00000000
Binary files a/wp/themes/thbusiness/images/icon-plug.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-shower.png b/wp/themes/thbusiness/images/icon-shower.png
deleted file mode 100644
index e21c2ebb..00000000
Binary files a/wp/themes/thbusiness/images/icon-shower.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-umbrella-blue.png b/wp/themes/thbusiness/images/icon-umbrella-blue.png
deleted file mode 100644
index f22df748..00000000
Binary files a/wp/themes/thbusiness/images/icon-umbrella-blue.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon-wifi.png b/wp/themes/thbusiness/images/icon-wifi.png
deleted file mode 100644
index 2c6d82c5..00000000
Binary files a/wp/themes/thbusiness/images/icon-wifi.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon_1_247.png b/wp/themes/thbusiness/images/icon_1_247.png
deleted file mode 100644
index 6e2bca13..00000000
Binary files a/wp/themes/thbusiness/images/icon_1_247.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon_1_easysetup.png b/wp/themes/thbusiness/images/icon_1_easysetup.png
deleted file mode 100644
index 1c7f6ada..00000000
Binary files a/wp/themes/thbusiness/images/icon_1_easysetup.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon_1_monthlyprice.png b/wp/themes/thbusiness/images/icon_1_monthlyprice.png
deleted file mode 100644
index 4e223eb4..00000000
Binary files a/wp/themes/thbusiness/images/icon_1_monthlyprice.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon_1_stayonline.png b/wp/themes/thbusiness/images/icon_1_stayonline.png
deleted file mode 100644
index 0c85881b..00000000
Binary files a/wp/themes/thbusiness/images/icon_1_stayonline.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon_2_push.png b/wp/themes/thbusiness/images/icon_2_push.png
deleted file mode 100644
index 6a389401..00000000
Binary files a/wp/themes/thbusiness/images/icon_2_push.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/icon_2_talk.png b/wp/themes/thbusiness/images/icon_2_talk.png
deleted file mode 100644
index fd7bf20e..00000000
Binary files a/wp/themes/thbusiness/images/icon_2_talk.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/landing-mob-480-nov.png b/wp/themes/thbusiness/images/landing-mob-480-nov.png
deleted file mode 100644
index e8031191..00000000
Binary files a/wp/themes/thbusiness/images/landing-mob-480-nov.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/line.png b/wp/themes/thbusiness/images/line.png
deleted file mode 100644
index bcc5e57a..00000000
Binary files a/wp/themes/thbusiness/images/line.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/linkedin.png b/wp/themes/thbusiness/images/linkedin.png
deleted file mode 100644
index 34be552e..00000000
Binary files a/wp/themes/thbusiness/images/linkedin.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/logo-ma-no-slogan.png b/wp/themes/thbusiness/images/logo-ma-no-slogan.png
deleted file mode 100644
index e69ddf5b..00000000
Binary files a/wp/themes/thbusiness/images/logo-ma-no-slogan.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/logo-ma.png b/wp/themes/thbusiness/images/logo-ma.png
deleted file mode 100644
index 2da448cd..00000000
Binary files a/wp/themes/thbusiness/images/logo-ma.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/logos.gif b/wp/themes/thbusiness/images/logos.gif
deleted file mode 100644
index 8a873c48..00000000
Binary files a/wp/themes/thbusiness/images/logos.gif and /dev/null differ
diff --git a/wp/themes/thbusiness/images/mob-flashlight-sm.jpg b/wp/themes/thbusiness/images/mob-flashlight-sm.jpg
deleted file mode 100644
index d78fda71..00000000
Binary files a/wp/themes/thbusiness/images/mob-flashlight-sm.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/mobile-free-gift-991.gif b/wp/themes/thbusiness/images/mobile-free-gift-991.gif
deleted file mode 100644
index 1fa7667b..00000000
Binary files a/wp/themes/thbusiness/images/mobile-free-gift-991.gif and /dev/null differ
diff --git a/wp/themes/thbusiness/images/mobile-free-gift-991.jpg b/wp/themes/thbusiness/images/mobile-free-gift-991.jpg
deleted file mode 100644
index 8450b146..00000000
Binary files a/wp/themes/thbusiness/images/mobile-free-gift-991.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/mobile-free-gift.jpg b/wp/themes/thbusiness/images/mobile-free-gift.jpg
deleted file mode 100644
index dbba3016..00000000
Binary files a/wp/themes/thbusiness/images/mobile-free-gift.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/mobile-hero.jpg b/wp/themes/thbusiness/images/mobile-hero.jpg
deleted file mode 100644
index b21bc118..00000000
Binary files a/wp/themes/thbusiness/images/mobile-hero.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/no-landline.jpg b/wp/themes/thbusiness/images/no-landline.jpg
deleted file mode 100644
index 0f78aa73..00000000
Binary files a/wp/themes/thbusiness/images/no-landline.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/offer-bca.png b/wp/themes/thbusiness/images/offer-bca.png
deleted file mode 100644
index a4107522..00000000
Binary files a/wp/themes/thbusiness/images/offer-bca.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/offer-red-ME.png b/wp/themes/thbusiness/images/offer-red-ME.png
deleted file mode 100644
index e0562744..00000000
Binary files a/wp/themes/thbusiness/images/offer-red-ME.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/offer-red2.png b/wp/themes/thbusiness/images/offer-red2.png
deleted file mode 100644
index 080c8530..00000000
Binary files a/wp/themes/thbusiness/images/offer-red2.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/offer.png b/wp/themes/thbusiness/images/offer.png
deleted file mode 100644
index c3a02dce..00000000
Binary files a/wp/themes/thbusiness/images/offer.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/one-in-four-dark.png b/wp/themes/thbusiness/images/one-in-four-dark.png
deleted file mode 100644
index 1d4a9feb..00000000
Binary files a/wp/themes/thbusiness/images/one-in-four-dark.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/one-in-four-fall.png b/wp/themes/thbusiness/images/one-in-four-fall.png
deleted file mode 100644
index 9281bd2f..00000000
Binary files a/wp/themes/thbusiness/images/one-in-four-fall.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/otg-GPS.jpg b/wp/themes/thbusiness/images/otg-GPS.jpg
deleted file mode 100644
index ec115839..00000000
Binary files a/wp/themes/thbusiness/images/otg-GPS.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/otg-clock.jpg b/wp/themes/thbusiness/images/otg-clock.jpg
deleted file mode 100644
index db467a10..00000000
Binary files a/wp/themes/thbusiness/images/otg-clock.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/otg-headset.jpg b/wp/themes/thbusiness/images/otg-headset.jpg
deleted file mode 100644
index 1435c54d..00000000
Binary files a/wp/themes/thbusiness/images/otg-headset.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/otg-plug.jpg b/wp/themes/thbusiness/images/otg-plug.jpg
deleted file mode 100644
index ff04b5da..00000000
Binary files a/wp/themes/thbusiness/images/otg-plug.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/otg-waterproof.jpg b/wp/themes/thbusiness/images/otg-waterproof.jpg
deleted file mode 100644
index 142ec1ba..00000000
Binary files a/wp/themes/thbusiness/images/otg-waterproof.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/phone-icon-red.png b/wp/themes/thbusiness/images/phone-icon-red.png
deleted file mode 100644
index e2e7516a..00000000
Binary files a/wp/themes/thbusiness/images/phone-icon-red.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/piggybank.png b/wp/themes/thbusiness/images/piggybank.png
deleted file mode 100644
index 73b0d172..00000000
Binary files a/wp/themes/thbusiness/images/piggybank.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/price-29.png b/wp/themes/thbusiness/images/price-29.png
deleted file mode 100644
index 88cc1ab1..00000000
Binary files a/wp/themes/thbusiness/images/price-29.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/price-34.png b/wp/themes/thbusiness/images/price-34.png
deleted file mode 100644
index 4fb18905..00000000
Binary files a/wp/themes/thbusiness/images/price-34.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/price-39.png b/wp/themes/thbusiness/images/price-39.png
deleted file mode 100644
index 255b8e1c..00000000
Binary files a/wp/themes/thbusiness/images/price-39.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/price-49.png b/wp/themes/thbusiness/images/price-49.png
deleted file mode 100644
index bcaa36f8..00000000
Binary files a/wp/themes/thbusiness/images/price-49.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/prod-how-it-works.jpg b/wp/themes/thbusiness/images/prod-how-it-works.jpg
deleted file mode 100644
index 45e1751e..00000000
Binary files a/wp/themes/thbusiness/images/prod-how-it-works.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/prod-how-it-works.png b/wp/themes/thbusiness/images/prod-how-it-works.png
deleted file mode 100644
index 09ba225d..00000000
Binary files a/wp/themes/thbusiness/images/prod-how-it-works.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/prod.jpg b/wp/themes/thbusiness/images/prod.jpg
deleted file mode 100644
index 527c70e4..00000000
Binary files a/wp/themes/thbusiness/images/prod.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/promo-bg-light.png b/wp/themes/thbusiness/images/promo-bg-light.png
deleted file mode 100644
index f76753d4..00000000
Binary files a/wp/themes/thbusiness/images/promo-bg-light.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/promo-bg.png b/wp/themes/thbusiness/images/promo-bg.png
deleted file mode 100644
index 48c74a00..00000000
Binary files a/wp/themes/thbusiness/images/promo-bg.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/promo-in-nav.jpg b/wp/themes/thbusiness/images/promo-in-nav.jpg
deleted file mode 100644
index 504030c9..00000000
Binary files a/wp/themes/thbusiness/images/promo-in-nav.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/promo-mobile.jpg b/wp/themes/thbusiness/images/promo-mobile.jpg
deleted file mode 100644
index 61876c3f..00000000
Binary files a/wp/themes/thbusiness/images/promo-mobile.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/ra-pain.jpg b/wp/themes/thbusiness/images/ra-pain.jpg
deleted file mode 100644
index 3d2c66fa..00000000
Binary files a/wp/themes/thbusiness/images/ra-pain.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/retail.png b/wp/themes/thbusiness/images/retail.png
deleted file mode 100644
index 843a4cbb..00000000
Binary files a/wp/themes/thbusiness/images/retail.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/satisfaction.png b/wp/themes/thbusiness/images/satisfaction.png
deleted file mode 100644
index 310ab7bc..00000000
Binary files a/wp/themes/thbusiness/images/satisfaction.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/Medical_Alert_Setup_Guide.png b/wp/themes/thbusiness/images/setup/Medical_Alert_Setup_Guide.png
deleted file mode 100644
index 01630395..00000000
Binary files a/wp/themes/thbusiness/images/setup/Medical_Alert_Setup_Guide.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/Medical_Alert_Videos.png b/wp/themes/thbusiness/images/setup/Medical_Alert_Videos.png
deleted file mode 100644
index 51e864c1..00000000
Binary files a/wp/themes/thbusiness/images/setup/Medical_Alert_Videos.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_Setup_Instruction_Guide.png b/wp/themes/thbusiness/images/setup/Medical_Home_Alert_Setup_Instruction_Guide.png
deleted file mode 100644
index 32fd1bff..00000000
Binary files a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_Setup_Instruction_Guide.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_System_Setup_Guide_For_Basic_Landline.png b/wp/themes/thbusiness/images/setup/Medical_Home_Alert_System_Setup_Guide_For_Basic_Landline.png
deleted file mode 100644
index 4f17b4b2..00000000
Binary files a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_System_Setup_Guide_For_Basic_Landline.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_System_Setup_Guide_For_Voice_Over_Internet_Protocol_Installation.png b/wp/themes/thbusiness/images/setup/Medical_Home_Alert_System_Setup_Guide_For_Voice_Over_Internet_Protocol_Installation.png
deleted file mode 100644
index e47e4ae3..00000000
Binary files a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_System_Setup_Guide_For_Voice_Over_Internet_Protocol_Installation.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_An_Answering_Machine.png b/wp/themes/thbusiness/images/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_An_Answering_Machine.png
deleted file mode 100644
index 0be3f575..00000000
Binary files a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_An_Answering_Machine.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_No_Phone.png b/wp/themes/thbusiness/images/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_No_Phone.png
deleted file mode 100644
index 858bfb43..00000000
Binary files a/wp/themes/thbusiness/images/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_No_Phone.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/Mobile_Alert_Setup_Instruction_Guide.png b/wp/themes/thbusiness/images/setup/Mobile_Alert_Setup_Instruction_Guide.png
deleted file mode 100644
index 5744773d..00000000
Binary files a/wp/themes/thbusiness/images/setup/Mobile_Alert_Setup_Instruction_Guide.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/Mobile_Alert_System_Setup_Guide.png b/wp/themes/thbusiness/images/setup/Mobile_Alert_System_Setup_Guide.png
deleted file mode 100644
index 7d086c29..00000000
Binary files a/wp/themes/thbusiness/images/setup/Mobile_Alert_System_Setup_Guide.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/alert-system-set-up.png b/wp/themes/thbusiness/images/setup/alert-system-set-up.png
deleted file mode 100644
index 94896bd3..00000000
Binary files a/wp/themes/thbusiness/images/setup/alert-system-set-up.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/medical_alert_answering_machine.png b/wp/themes/thbusiness/images/setup/medical_alert_answering_machine.png
deleted file mode 100644
index aa5e9dbe..00000000
Binary files a/wp/themes/thbusiness/images/setup/medical_alert_answering_machine.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/medical_alert_no_phone.png b/wp/themes/thbusiness/images/setup/medical_alert_no_phone.png
deleted file mode 100644
index 93d640d5..00000000
Binary files a/wp/themes/thbusiness/images/setup/medical_alert_no_phone.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/medical_alert_traditional.png b/wp/themes/thbusiness/images/setup/medical_alert_traditional.png
deleted file mode 100644
index 1c8c9127..00000000
Binary files a/wp/themes/thbusiness/images/setup/medical_alert_traditional.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/medical_alert_voip_cable.png b/wp/themes/thbusiness/images/setup/medical_alert_voip_cable.png
deleted file mode 100644
index 46b6511a..00000000
Binary files a/wp/themes/thbusiness/images/setup/medical_alert_voip_cable.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/Medical_Alert_Setup_Guide.png b/wp/themes/thbusiness/images/setup/setup/Medical_Alert_Setup_Guide.png
deleted file mode 100644
index 01630395..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/Medical_Alert_Setup_Guide.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/Medical_Alert_Videos.png b/wp/themes/thbusiness/images/setup/setup/Medical_Alert_Videos.png
deleted file mode 100644
index 51e864c1..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/Medical_Alert_Videos.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_Setup_Instruction_Guide.png b/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_Setup_Instruction_Guide.png
deleted file mode 100644
index 32fd1bff..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_Setup_Instruction_Guide.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_System_Setup_Guide_For_Basic_Landline.png b/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_System_Setup_Guide_For_Basic_Landline.png
deleted file mode 100644
index 4f17b4b2..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_System_Setup_Guide_For_Basic_Landline.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_System_Setup_Guide_For_Voice_Over_Internet_Protocol_Installation.png b/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_System_Setup_Guide_For_Voice_Over_Internet_Protocol_Installation.png
deleted file mode 100644
index e47e4ae3..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_System_Setup_Guide_For_Voice_Over_Internet_Protocol_Installation.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_An_Answering_Machine.png b/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_An_Answering_Machine.png
deleted file mode 100644
index 0be3f575..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_An_Answering_Machine.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_No_Phone.png b/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_No_Phone.png
deleted file mode 100644
index 858bfb43..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/Medical_Home_Alert_Sytem_Setup_Guide_For_Installation_With_No_Phone.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/Mobile_Alert_Setup_Instruction_Guide.png b/wp/themes/thbusiness/images/setup/setup/Mobile_Alert_Setup_Instruction_Guide.png
deleted file mode 100644
index 5744773d..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/Mobile_Alert_Setup_Instruction_Guide.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/Mobile_Alert_System_Setup_Guide.png b/wp/themes/thbusiness/images/setup/setup/Mobile_Alert_System_Setup_Guide.png
deleted file mode 100644
index 7d086c29..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/Mobile_Alert_System_Setup_Guide.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/alert-system-set-up.png b/wp/themes/thbusiness/images/setup/setup/alert-system-set-up.png
deleted file mode 100644
index 94896bd3..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/alert-system-set-up.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/medical_alert_answering_machine.png b/wp/themes/thbusiness/images/setup/setup/medical_alert_answering_machine.png
deleted file mode 100644
index aa5e9dbe..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/medical_alert_answering_machine.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/medical_alert_no_phone.png b/wp/themes/thbusiness/images/setup/setup/medical_alert_no_phone.png
deleted file mode 100644
index 93d640d5..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/medical_alert_no_phone.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/medical_alert_traditional.png b/wp/themes/thbusiness/images/setup/setup/medical_alert_traditional.png
deleted file mode 100644
index 1c8c9127..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/medical_alert_traditional.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/setup/setup/medical_alert_voip_cable.png b/wp/themes/thbusiness/images/setup/setup/medical_alert_voip_cable.png
deleted file mode 100644
index 46b6511a..00000000
Binary files a/wp/themes/thbusiness/images/setup/setup/medical_alert_voip_cable.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/special-offer-promo.png b/wp/themes/thbusiness/images/special-offer-promo.png
deleted file mode 100644
index 00f6e311..00000000
Binary files a/wp/themes/thbusiness/images/special-offer-promo.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/special-offer.png b/wp/themes/thbusiness/images/special-offer.png
deleted file mode 100644
index 3c17e0a1..00000000
Binary files a/wp/themes/thbusiness/images/special-offer.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/statistic.png b/wp/themes/thbusiness/images/statistic.png
deleted file mode 100644
index 98639dd3..00000000
Binary files a/wp/themes/thbusiness/images/statistic.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/summer-bg-thanku-1.jpg b/wp/themes/thbusiness/images/summer-bg-thanku-1.jpg
deleted file mode 100644
index 184c328c..00000000
Binary files a/wp/themes/thbusiness/images/summer-bg-thanku-1.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/summer-bg-thanku.jpg b/wp/themes/thbusiness/images/summer-bg-thanku.jpg
deleted file mode 100644
index 1d5edcad..00000000
Binary files a/wp/themes/thbusiness/images/summer-bg-thanku.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonial-bkgd.jpg b/wp/themes/thbusiness/images/testimonial-bkgd.jpg
deleted file mode 100644
index 5386312f..00000000
Binary files a/wp/themes/thbusiness/images/testimonial-bkgd.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_1.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_1.jpg
deleted file mode 100644
index a8e8fb2c..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_1.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_1.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_1.png
deleted file mode 100644
index 4ab35234..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_1.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_10.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_10.jpg
deleted file mode 100644
index d4d46770..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_10.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_10.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_10.png
deleted file mode 100644
index b680fceb..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_10.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_2.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_2.jpg
deleted file mode 100644
index 41473384..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_2.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_2.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_2.png
deleted file mode 100644
index 53a0b1b1..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_2.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_3.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_3.jpg
deleted file mode 100644
index 1fc8c971..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_3.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_3.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_3.png
deleted file mode 100644
index 5c99e3f9..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_3.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_4.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_4.jpg
deleted file mode 100644
index ff39db74..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_4.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_4.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_4.png
deleted file mode 100644
index f06092d1..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_4.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_5.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_5.jpg
deleted file mode 100644
index 6cb71294..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_5.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_5.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_5.png
deleted file mode 100644
index bcd6f3bc..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_5.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_6.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_6.jpg
deleted file mode 100644
index f4870a6b..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_6.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_6.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_6.png
deleted file mode 100644
index 36559bbc..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_6.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_7.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_7.jpg
deleted file mode 100644
index f5e60a38..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_7.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_7.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_7.png
deleted file mode 100644
index c2f99208..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_7.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_8.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_8.jpg
deleted file mode 100644
index a3b569d1..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_8.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_8.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_8.png
deleted file mode 100644
index 6925af07..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_8.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_9.jpg b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_9.jpg
deleted file mode 100644
index a20f6d07..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_9.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_9.png b/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_9.png
deleted file mode 100644
index ea1ae6e4..00000000
Binary files a/wp/themes/thbusiness/images/testimonials/Client_Testimonials_Case_9.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/thankyou-art-oct.jpg b/wp/themes/thbusiness/images/thankyou-art-oct.jpg
deleted file mode 100644
index b2dbd056..00000000
Binary files a/wp/themes/thbusiness/images/thankyou-art-oct.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/thankyou-fall.jpg b/wp/themes/thbusiness/images/thankyou-fall.jpg
deleted file mode 100644
index 68a233bf..00000000
Binary files a/wp/themes/thbusiness/images/thankyou-fall.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/top-bar-arrow.png b/wp/themes/thbusiness/images/top-bar-arrow.png
deleted file mode 100644
index 06e66de1..00000000
Binary files a/wp/themes/thbusiness/images/top-bar-arrow.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/twitter.png b/wp/themes/thbusiness/images/twitter.png
deleted file mode 100644
index af44ca5d..00000000
Binary files a/wp/themes/thbusiness/images/twitter.png and /dev/null differ
diff --git a/wp/themes/thbusiness/images/web-free-gift-promo.jpg b/wp/themes/thbusiness/images/web-free-gift-promo.jpg
deleted file mode 100644
index 7aefb84e..00000000
Binary files a/wp/themes/thbusiness/images/web-free-gift-promo.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/woman-yard.jpg b/wp/themes/thbusiness/images/woman-yard.jpg
deleted file mode 100644
index aed70bd0..00000000
Binary files a/wp/themes/thbusiness/images/woman-yard.jpg and /dev/null differ
diff --git a/wp/themes/thbusiness/images/youtube.png b/wp/themes/thbusiness/images/youtube.png
deleted file mode 100644
index b4cf3176..00000000
Binary files a/wp/themes/thbusiness/images/youtube.png and /dev/null differ
diff --git a/wp/themes/thbusiness/inc/AsyncHide.php b/wp/themes/thbusiness/inc/AsyncHide.php
deleted file mode 100644
index 62015725..00000000
--- a/wp/themes/thbusiness/inc/AsyncHide.php
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
- * @license GPL-2.0+
- * @link http://wptheming.com
- * @copyright 2010-2014 WP Theming
- */
-
-class Options_Framework_Admin {
-
- /**
- * Page hook for the options screen
- *
- * @since 1.7.0
- * @type string
- */
- protected $options_screen = null;
-
- /**
- * Hook in the scripts and styles
- *
- * @since 1.7.0
- */
- public function init() {
-
- // Gets options to load
- $options = & Options_Framework::_optionsframework_options();
-
- // Checks if options are available
- if ( $options ) {
-
- // Add the options page and menu item.
- add_action( 'admin_menu', array( $this, 'add_custom_options_page' ) );
-
- // Add the required scripts and styles
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
-
- // Settings need to be registered after admin_init
- add_action( 'admin_init', array( $this, 'settings_init' ) );
-
- // Adds options menu to the admin bar
- add_action( 'wp_before_admin_bar_render', array( $this, 'optionsframework_admin_bar' ) );
-
- }
-
- }
-
- /**
- * Registers the settings
- *
- * @since 1.7.0
- */
- function settings_init() {
-
- // Load Options Framework Settings
- $optionsframework_settings = get_option( 'optionsframework' );
-
- // Registers the settings fields and callback
- register_setting( 'optionsframework', $optionsframework_settings['id'], array ( $this, 'validate_options' ) );
-
- // Displays notice after options save
- add_action( 'optionsframework_after_validate', array( $this, 'save_options_notice' ) );
-
- }
-
- /*
- * Define menu options
- *
- * Examples usage:
- *
- * add_filter( 'optionsframework_menu', function( $menu ) {
- * $menu['page_title'] = 'The Options';
- * $menu['menu_title'] = 'The Options';
- * return $menu;
- * });
- *
- * @since 1.7.0
- *
- */
- static function menu_settings() {
-
- $menu = array(
-
- // Modes: submenu, menu
- 'mode' => 'submenu',
-
- // Submenu default settings
- 'page_title' => __( 'Theme Options', 'textdomain'),
- 'menu_title' => __('Theme Options', 'textdomain'),
- 'capability' => 'edit_theme_options',
- 'menu_slug' => 'options-framework',
- 'parent_slug' => 'themes.php',
-
- // Menu default settings
- 'icon_url' => 'dashicons-admin-generic',
- 'position' => '61'
-
- );
-
- return apply_filters( 'optionsframework_menu', $menu );
- }
-
- /**
- * Add a subpage called "Theme Options" to the appearance menu.
- *
- * @since 1.7.0
- */
- function add_custom_options_page() {
-
- $menu = $this->menu_settings();
- $this->options_screen = add_theme_page( $menu['page_title'], $menu['menu_title'], $menu['capability'], $menu['menu_slug'], array( $this, 'options_page' ) );
-
- }
-
- /**
- * Loads the required stylesheets
- *
- * @since 1.7.0
- */
-
- function enqueue_admin_styles( $hook ) {
-
- if ( $this->options_screen != $hook )
- return;
-
- wp_enqueue_style( 'optionsframework', OPTIONS_FRAMEWORK_DIRECTORY . 'css/optionsframework.css', array(), Options_Framework::VERSION );
- wp_enqueue_style( 'wp-color-picker' );
- }
-
- /**
- * Loads the required javascript
- *
- * @since 1.7.0
- */
- function enqueue_admin_scripts( $hook ) {
-
- if ( $this->options_screen != $hook )
- return;
-
- // Enqueue custom option panel JS
- wp_enqueue_script( 'options-custom', OPTIONS_FRAMEWORK_DIRECTORY . 'js/options-custom.js', array( 'jquery','wp-color-picker' ), Options_Framework::VERSION );
-
- // Inline scripts from options-interface.php
- add_action( 'admin_head', array( $this, 'of_admin_head' ) );
- }
-
- function of_admin_head() {
- // Hook to add custom scripts
- do_action( 'optionsframework_custom_scripts' );
- }
-
- /**
- * Builds out the options panel.
- *
- * If we were using the Settings API as it was intended we would use
- * do_settings_sections here. But as we don't want the settings wrapped in a table,
- * we'll call our own custom optionsframework_fields. See options-interface.php
- * for specifics on how each individual field is generated.
- *
- * Nonces are provided using the settings_fields()
- *
- * @since 1.7.0
- */
- function options_page() { ?>
-
-
-
- get_default_values();
- }
-
- /*
- * Update Settings
- *
- * This used to check for $_POST['update'], but has been updated
- * to be compatible with the theme customizer introduced in WordPress 3.4
- */
-
- $clean = array();
- $options = & Options_Framework::_optionsframework_options();
- foreach ( $options as $option ) {
-
- if ( ! isset( $option['id'] ) ) {
- continue;
- }
-
- if ( ! isset( $option['type'] ) ) {
- continue;
- }
-
- $id = preg_replace( '/[^a-zA-Z0-9._\-]/', '', strtolower( $option['id'] ) );
-
- // Set checkbox to false if it wasn't sent in the $_POST
- if ( 'checkbox' == $option['type'] && ! isset( $input[$id] ) ) {
- $input[$id] = false;
- }
-
- // Set each item in the multicheck to false if it wasn't sent in the $_POST
- if ( 'multicheck' == $option['type'] && ! isset( $input[$id] ) ) {
- foreach ( $option['options'] as $key => $value ) {
- $input[$id][$key] = false;
- }
- }
-
- // For a value to be submitted to database it must pass through a sanitization filter
- if ( has_filter( 'of_sanitize_' . $option['type'] ) ) {
- $clean[$id] = apply_filters( 'of_sanitize_' . $option['type'], $input[$id], $option );
- }
- }
-
- // Hook to run after validation
- do_action( 'optionsframework_after_validate', $clean );
-
- return $clean;
- }
-
- /**
- * Display message when options have been saved
- */
-
- function save_options_notice() {
- add_settings_error( 'options-framework', 'save_options', __( 'Options saved.', 'textdomain' ), 'updated fade' );
- }
-
- /**
- * Get the default values for all the theme options
- *
- * Get an array of all default values as set in
- * options.php. The 'id','std' and 'type' keys need
- * to be defined in the configuration array. In the
- * event that these keys are not present the option
- * will not be included in this function's output.
- *
- * @return array Re-keyed options configuration array.
- *
- */
-
- function get_default_values() {
- $output = array();
- $config = & Options_Framework::_optionsframework_options();
- foreach ( (array) $config as $option ) {
- if ( ! isset( $option['id'] ) ) {
- continue;
- }
- if ( ! isset( $option['std'] ) ) {
- continue;
- }
- if ( ! isset( $option['type'] ) ) {
- continue;
- }
- if ( has_filter( 'of_sanitize_' . $option['type'] ) ) {
- $output[$option['id']] = apply_filters( 'of_sanitize_' . $option['type'], $option['std'], $option );
- }
- }
- return $output;
- }
-
- /**
- * Add options menu item to admin bar
- */
-
- function optionsframework_admin_bar() {
-
- $menu = $this->menu_settings();
-
- global $wp_admin_bar;
-
- if ( 'menu' == $menu['mode'] ) {
- $href = admin_url( 'admin.php?page=' . $menu['menu_slug'] );
- } else {
- $href = admin_url( 'themes.php?page=' . $menu['menu_slug'] );
- }
-
- $args = array(
- 'parent' => 'appearance',
- 'id' => 'of_theme_options',
- 'title' => $menu['menu_title'],
- 'href' => $href
- );
-
- $wp_admin_bar->add_menu( apply_filters( 'optionsframework_admin_bar', $args ) );
- }
-
-}
diff --git a/wp/themes/thbusiness/inc/admin/options/includes/class-options-framework.php b/wp/themes/thbusiness/inc/admin/options/includes/class-options-framework.php
deleted file mode 100644
index bdcc654f..00000000
--- a/wp/themes/thbusiness/inc/admin/options/includes/class-options-framework.php
+++ /dev/null
@@ -1,122 +0,0 @@
-
- * @license GPL-2.0+
- * @link http://wptheming.com
- * @copyright 2010-2014 WP Theming
- */
-
-class Options_Framework {
-
- /**
- * Plugin version, used for cache-busting of style and script file references.
- *
- * @since 1.7.0
- * @type string
- */
- const VERSION = '1.8.0';
-
- /**
- * Initialize the plugin.
- *
- * @since 1.7.0
- */
- public function init() {
-
- // Needs to run every time in case theme has been changed
- add_action( 'admin_init', array( $this, 'set_theme_option' ) );
-
- }
-
- /**
- * Sets option defaults
- *
- * @since 1.7.0
- */
- function set_theme_option() {
-
- // Load settings
- $optionsframework_settings = get_option( 'optionsframework' );
-
- // Updates the unique option id in the database if it has changed
- if ( function_exists( 'optionsframework_option_name' ) ) {
- optionsframework_option_name();
- }
- elseif ( has_action( 'optionsframework_option_name' ) ) {
- do_action( 'optionsframework_option_name' );
- }
- // If the developer hasn't explicitly set an option id, we'll use a default
- else {
- $default_themename = get_option( 'stylesheet' );
- $default_themename = preg_replace( "/\W/", "_", strtolower($default_themename ) );
- $default_themename = 'optionsframework_' . $default_themename;
- if ( isset( $optionsframework_settings['id'] ) ) {
- if ( $optionsframework_settings['id'] == $default_themename ) {
- // All good, using default theme id
- } else {
- $optionsframework_settings['id'] = $default_themename;
- update_option( 'optionsframework', $optionsframework_settings );
- }
- }
- else {
- $optionsframework_settings['id'] = $default_themename;
- update_option( 'optionsframework', $optionsframework_settings );
- }
- }
-
- }
-
- /**
- * Wrapper for optionsframework_options()
- *
- * Allows for manipulating or setting options via 'of_options' filter
- * For example:
- *
- *
- *
- * Also allows for setting options via a return statement in the
- * options.php file. For example (in options.php):
- *
- *
- *
- * @return array (by reference)
- */
- static function &_optionsframework_options() {
- static $options = null;
-
- if ( !$options ) {
- // Load options from options.php file (if it exists)
- $location = apply_filters( 'options_framework_location', array( 'options.php' ) );
- if ( $optionsfile = locate_template( $location ) ) {
- $maybe_options = require_once $optionsfile;
- if ( is_array( $maybe_options ) ) {
- $options = $maybe_options;
- } else if ( function_exists( 'optionsframework_options' ) ) {
- $options = optionsframework_options();
- }
- }
-
- // Allow setting/manipulating options via filters
- $options = apply_filters( 'of_options', $options );
- }
-
- return $options;
- }
-
-}
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/admin/options/includes/class-options-interface.php b/wp/themes/thbusiness/inc/admin/options/includes/class-options-interface.php
deleted file mode 100644
index 2246bfae..00000000
--- a/wp/themes/thbusiness/inc/admin/options/includes/class-options-interface.php
+++ /dev/null
@@ -1,428 +0,0 @@
-
- * @license GPL-2.0+
- * @link http://wptheming.com
- * @copyright 2010-2014 WP Theming
- */
-
-class Options_Framework_Interface {
-
- /**
- * Generates the tabs that are used in the options menu
- */
- static function optionsframework_tabs() {
- $counter = 0;
- $options = & Options_Framework::_optionsframework_options();
- $menu = '';
-
- foreach ( $options as $value ) {
- // Heading for Navigation
- if ( $value['type'] == "heading" ) {
- $counter++;
- $class = '';
- $class = ! empty( $value['id'] ) ? $value['id'] : $value['name'];
- $class = preg_replace( '/[^a-zA-Z0-9._\-]/', '', strtolower($class) ) . '-tab';
- $menu .= '
';
- }
- }
-
- return $menu;
- }
-
- /**
- * Generates the options fields that are used in the form.
- */
- static function optionsframework_fields() {
-
- global $allowedtags;
- $optionsframework_settings = get_option( 'optionsframework' );
-
- // Gets the unique option id
- if ( isset( $optionsframework_settings['id'] ) ) {
- $option_name = $optionsframework_settings['id'];
- }
- else {
- $option_name = 'optionsframework';
- };
-
- $settings = get_option($option_name);
- $options = & Options_Framework::_optionsframework_options();
-
- $counter = 0;
- $menu = '';
-
- foreach ( $options as $value ) {
-
- $val = '';
- $select_value = '';
- $output = '';
-
- // Wrap all options
- if ( ( $value['type'] != "heading" ) && ( $value['type'] != "info" ) ) {
-
- // Keep all ids lowercase with no spaces
- $value['id'] = preg_replace('/[^a-zA-Z0-9._\-]/', '', strtolower($value['id']) );
-
- $id = 'section-' . $value['id'];
-
- $class = 'section';
- if ( isset( $value['type'] ) ) {
- $class .= ' section-' . $value['type'];
- }
- if ( isset( $value['class'] ) ) {
- $class .= ' ' . $value['class'];
- }
-
- $output .= '
'."\n";
- if ( isset( $value['name'] ) ) {
- $output .= '
' . esc_html( $value['name'] ) . '
' . "\n";
- }
- if ( $value['type'] != 'editor' ) {
- $output .= '
' . "\n" . '
' . "\n";
- }
- else {
- $output .= '
' . "\n" . '
' . "\n";
- }
- }
-
- // Set default value to $val
- if ( isset( $value['std'] ) ) {
- $val = $value['std'];
- }
-
- // If the option is already saved, override $val
- if ( ( $value['type'] != 'heading' ) && ( $value['type'] != 'info') ) {
- if ( isset( $settings[($value['id'])]) ) {
- $val = $settings[($value['id'])];
- // Striping slashes of non-array options
- if ( !is_array($val) ) {
- $val = stripslashes( $val );
- }
- }
- }
-
- // If there is a description save it for labels
- $explain_value = '';
- if ( isset( $value['desc'] ) ) {
- $explain_value = $value['desc'];
- }
-
- // Set the placeholder if one exists
- $placeholder = '';
- if ( isset( $value['placeholder'] ) ) {
- $placeholder = ' placeholder="' . esc_attr( $value['placeholder'] ) . '"';
- }
-
- if ( has_filter( 'optionsframework_' . $value['type'] ) ) {
- $output .= apply_filters( 'optionsframework_' . $value['type'], $option_name, $value, $val );
- }
-
-
- switch ( $value['type'] ) {
-
- // Basic text input
- case 'text':
- $output .= '
';
- break;
-
- // Password input
- case 'password':
- $output .= '
';
- break;
-
- // Textarea
- case 'textarea':
- $rows = '8';
-
- if ( isset( $value['settings']['rows'] ) ) {
- $custom_rows = $value['settings']['rows'];
- if ( is_numeric( $custom_rows ) ) {
- $rows = $custom_rows;
- }
- }
-
- $val = stripslashes( $val );
- $output .= '
';
- break;
-
- // Select Box
- case 'select':
- $output .= '
';
- break;
-
-
- // Radio Box
- case "radio":
- $name = $option_name .'['. $value['id'] .']';
- foreach ($value['options'] as $key => $option) {
- $id = $option_name . '-' . $value['id'] .'-'. $key;
- $output .= '
';
- }
- break;
-
- // Image Selectors
- case "images":
- $name = $option_name .'['. $value['id'] .']';
- foreach ( $value['options'] as $key => $option ) {
- $selected = '';
- if ( $val != '' && ($val == $key) ) {
- $selected = ' of-radio-img-selected';
- }
- $output .= '
';
- $output .= '
' . esc_html( $key ) . '
';
- $output .= '
 . ')
';
- }
- break;
-
- // Checkbox
- case "checkbox":
- $output .= '
';
- $output .= '
';
- break;
-
- // Multicheck
- case "multicheck":
- foreach ($value['options'] as $key => $option) {
- $checked = '';
- $label = $option;
- $option = preg_replace('/[^a-zA-Z0-9._\-]/', '', strtolower($key));
-
- $id = $option_name . '-' . $value['id'] . '-'. $option;
- $name = $option_name . '[' . $value['id'] . '][' . $option .']';
-
- if ( isset($val[$option]) ) {
- $checked = checked($val[$option], 1, false);
- }
-
- $output .= '
';
- }
- break;
-
- // Color picker
- case "color":
- $default_color = '';
- if ( isset($value['std']) ) {
- if ( $val != $value['std'] )
- $default_color = ' data-default-color="' .$value['std'] . '" ';
- }
- $output .= '
';
-
- break;
-
- // Uploader
- case "upload":
- $output .= Options_Framework_Media_Uploader::optionsframework_uploader( $value['id'], $val, null );
-
- break;
-
- // Typography
- case 'typography':
-
- unset( $font_size, $font_style, $font_face, $font_color );
-
- $typography_defaults = array(
- 'size' => '',
- 'face' => '',
- 'style' => '',
- 'color' => ''
- );
-
- $typography_stored = wp_parse_args( $val, $typography_defaults );
-
- $typography_options = array(
- 'sizes' => of_recognized_font_sizes(),
- 'faces' => of_recognized_font_faces(),
- 'styles' => of_recognized_font_styles(),
- 'color' => true
- );
-
- if ( isset( $value['options'] ) ) {
- $typography_options = wp_parse_args( $value['options'], $typography_options );
- }
-
- // Font Size
- if ( $typography_options['sizes'] ) {
- $font_size = '
';
- }
-
- // Font Face
- if ( $typography_options['faces'] ) {
- $font_face = '
';
- }
-
- // Font Styles
- if ( $typography_options['styles'] ) {
- $font_style = '
';
- }
-
- // Font Color
- if ( $typography_options['color'] ) {
- $default_color = '';
- if ( isset($value['std']['color']) ) {
- if ( $val != $value['std']['color'] )
- $default_color = ' data-default-color="' .$value['std']['color'] . '" ';
- }
- $font_color = '
';
- }
-
- // Allow modification/injection of typography fields
- $typography_fields = compact( 'font_size', 'font_face', 'font_style', 'font_color' );
- $typography_fields = apply_filters( 'of_typography_fields', $typography_fields, $typography_stored, $option_name, $value );
- $output .= implode( '', $typography_fields );
-
- break;
-
- // Background
- case 'background':
-
- $background = $val;
-
- // Background Color
- $default_color = '';
- if ( isset( $value['std']['color'] ) ) {
- if ( $val != $value['std']['color'] )
- $default_color = ' data-default-color="' .$value['std']['color'] . '" ';
- }
- $output .= '
';
-
- // Background Image
- if ( !isset($background['image']) ) {
- $background['image'] = '';
- }
-
- $output .= Options_Framework_Media_Uploader::optionsframework_uploader( $value['id'], $background['image'], null, esc_attr( $option_name . '[' . $value['id'] . '][image]' ) );
-
- $class = 'of-background-properties';
- if ( '' == $background['image'] ) {
- $class .= ' hide';
- }
- $output .= '
';
-
- // Background Repeat
- $output .= '';
-
- // Background Position
- $output .= '';
-
- // Background Attachment
- $output .= '';
- $output .= '
';
-
- break;
-
- // Editor
- case 'editor':
- $output .= '
' . wp_kses( $explain_value, $allowedtags ) . '
'."\n";
- echo $output;
- $textarea_name = esc_attr( $option_name . '[' . $value['id'] . ']' );
- $default_editor_settings = array(
- 'textarea_name' => $textarea_name,
- 'media_buttons' => false,
- 'tinymce' => array( 'plugins' => 'wordpress' )
- );
- $editor_settings = array();
- if ( isset( $value['settings'] ) ) {
- $editor_settings = $value['settings'];
- }
- $editor_settings = array_merge( $default_editor_settings, $editor_settings );
- wp_editor( $val, $value['id'], $editor_settings );
- $output = '';
- break;
-
- // Info
- case "info":
- $id = '';
- $class = 'section';
- if ( isset( $value['id'] ) ) {
- $id = 'id="' . esc_attr( $value['id'] ) . '" ';
- }
- if ( isset( $value['type'] ) ) {
- $class .= ' section-' . $value['type'];
- }
- if ( isset( $value['class'] ) ) {
- $class .= ' ' . $value['class'];
- }
-
- $output .= '
' . "\n";
- if ( isset($value['name']) ) {
- $output .= '
' . esc_html( $value['name'] ) . '
' . "\n";
- }
- if ( isset( $value['desc'] ) ) {
- $output .= apply_filters('of_sanitize_info', $value['desc'] ) . "\n";
- }
- $output .= '' . "\n";
- break;
-
- // Heading for Navigation
- case "heading":
- $counter++;
- if ( $counter >= 2 ) {
- $output .= '
'."\n";
- }
- $class = '';
- $class = ! empty( $value['id'] ) ? $value['id'] : $value['name'];
- $class = preg_replace('/[^a-zA-Z0-9._\-]/', '', strtolower($class) );
- $output .= '
';
- $output .= '
' . esc_html( $value['name'] ) . '
' . "\n";
- break;
- }
-
- if ( ( $value['type'] != "heading" ) && ( $value['type'] != "info" ) ) {
- $output .= '';
- if ( ( $value['type'] != "checkbox" ) && ( $value['type'] != "editor" ) ) {
- $output .= '
' . wp_kses( $explain_value, $allowedtags) . '
'."\n";
- }
- $output .= '
'."\n";
- }
-
- echo $output;
- }
-
- // Outputs closing div if there tabs
- if ( Options_Framework_Interface::optionsframework_tabs() != '' ) {
- echo '
';
- }
- }
-
-}
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/admin/options/includes/class-options-media-uploader.php b/wp/themes/thbusiness/inc/admin/options/includes/class-options-media-uploader.php
deleted file mode 100644
index ff2fcc3a..00000000
--- a/wp/themes/thbusiness/inc/admin/options/includes/class-options-media-uploader.php
+++ /dev/null
@@ -1,123 +0,0 @@
-
- * @license GPL-2.0+
- * @link http://wptheming.com
- * @copyright 2010-2014 WP Theming
- */
-
-class Options_Framework_Media_Uploader {
-
- /**
- * Initialize the media uploader class
- *
- * @since 1.7.0
- */
- public function init() {
- add_action( 'admin_enqueue_scripts', array( $this, 'optionsframework_media_scripts' ) );
- }
-
- /**
- * Media Uploader Using the WordPress Media Library.
- *
- * Parameters:
- *
- * string $_id - A token to identify this field (the name).
- * string $_value - The value of the field, if present.
- * string $_desc - An optional description of the field.
- *
- */
-
- static function optionsframework_uploader( $_id, $_value, $_desc = '', $_name = '' ) {
-
- $optionsframework_settings = get_option( 'optionsframework' );
-
- // Gets the unique option id
- $option_name = $optionsframework_settings['id'];
-
- $output = '';
- $id = '';
- $class = '';
- $int = '';
- $value = '';
- $name = '';
-
- $id = strip_tags( strtolower( $_id ) );
-
- // If a value is passed and we don't have a stored value, use the value that's passed through.
- if ( $_value != '' && $value == '' ) {
- $value = $_value;
- }
-
- if ($_name != '') {
- $name = $_name;
- }
- else {
- $name = $option_name.'['.$id.']';
- }
-
- if ( $value ) {
- $class = ' has-file';
- }
- $output .= '
' . "\n";
- if ( function_exists( 'wp_enqueue_media' ) ) {
- if ( ( $value == '' ) ) {
- $output .= '
' . "\n";
- } else {
- $output .= '
' . "\n";
- }
- } else {
- $output .= '
' . __( 'Upgrade your version of WordPress for full media support.', 'textdomain' ) . '
';
- }
-
- if ( $_desc != '' ) {
- $output .= '
' . $_desc . '' . "\n";
- }
-
- $output .= '
' . "\n";
-
- if ( $value != '' ) {
- $remove = '
Remove';
- $image = preg_match( '/(^.*\.jpg|jpeg|png|gif|ico*)/i', $value );
- if ( $image ) {
- $output .= '

' . $remove;
- } else {
- $parts = explode( "/", $value );
- for( $i = 0; $i < sizeof( $parts ); ++$i ) {
- $title = $parts[$i];
- }
-
- // No output preview if it's not an image.
- $output .= '';
-
- // Standard generic output if it's not an image.
- $title = __( 'View File', 'textdomain' );
- $output .= '
';
- }
- }
- $output .= '
' . "\n";
- return $output;
- }
-
- /**
- * Enqueue scripts for file uploader
- */
- function optionsframework_media_scripts( $hook ) {
-
- $menu = Options_Framework_Admin::menu_settings();
-
- if ( substr( $hook, -strlen( $menu['menu_slug'] ) ) !== $menu['menu_slug'] )
- return;
-
- if ( function_exists( 'wp_enqueue_media' ) )
- wp_enqueue_media();
-
- wp_register_script( 'of-media-uploader', OPTIONS_FRAMEWORK_DIRECTORY .'js/media-uploader.js', array( 'jquery' ), Options_Framework::VERSION );
- wp_enqueue_script( 'of-media-uploader' );
- wp_localize_script( 'of-media-uploader', 'optionsframework_l10n', array(
- 'upload' => __( 'Upload', 'textdomain' ),
- 'remove' => __( 'Remove', 'textdomain' )
- ) );
- }
-}
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/admin/options/includes/class-options-sanitization.php b/wp/themes/thbusiness/inc/admin/options/includes/class-options-sanitization.php
deleted file mode 100644
index 95d2a01c..00000000
--- a/wp/themes/thbusiness/inc/admin/options/includes/class-options-sanitization.php
+++ /dev/null
@@ -1,385 +0,0 @@
-
- * @license GPL-2.0+
- * @link http://wptheming.com
- * @copyright 2010-2014 WP Theming
- */
-
-/* Text */
-
-add_filter( 'of_sanitize_text', 'sanitize_text_field' );
-
-/* Password */
-
-add_filter( 'of_sanitize_password', 'sanitize_text_field' );
-
-/* Textarea */
-
-function of_sanitize_textarea( $input) {
- global $allowedposttags;
- $output = wp_kses( $input, $allowedposttags);
- return $output;
-}
-
-add_filter( 'of_sanitize_textarea', 'of_sanitize_textarea' );
-
-/* Select */
-
-add_filter( 'of_sanitize_select', 'of_sanitize_enum', 10, 2 );
-
-/* Radio */
-
-add_filter( 'of_sanitize_radio', 'of_sanitize_enum', 10, 2 );
-
-/* Images */
-
-add_filter( 'of_sanitize_images', 'of_sanitize_enum', 10, 2 );
-
-/* Checkbox */
-
-function of_sanitize_checkbox( $input ) {
- if ( $input ) {
- $output = '1';
- } else {
- $output = false;
- }
- return $output;
-}
-add_filter( 'of_sanitize_checkbox', 'of_sanitize_checkbox' );
-
-/* Multicheck */
-
-function of_sanitize_multicheck( $input, $option ) {
- $output = '';
- if ( is_array( $input ) ) {
- foreach( $option['options'] as $key => $value ) {
- $output[$key] = false;
- }
- foreach( $input as $key => $value ) {
- if ( array_key_exists( $key, $option['options'] ) && $value ) {
- $output[$key] = "1";
- }
- }
- }
- return $output;
-}
-add_filter( 'of_sanitize_multicheck', 'of_sanitize_multicheck', 10, 2 );
-
-/* Color Picker */
-
-add_filter( 'of_sanitize_color', 'of_sanitize_hex' );
-
-/* Uploader */
-
-function of_sanitize_upload( $input ) {
- $output = '';
- $filetype = wp_check_filetype( $input );
- if ( $filetype["ext"] ) {
- $output = esc_url( $input );
- }
- return $output;
-}
-add_filter( 'of_sanitize_upload', 'of_sanitize_upload' );
-
-/* Editor */
-
-function of_sanitize_editor( $input ) {
- if ( current_user_can( 'unfiltered_html' ) ) {
- $output = $input;
- }
- else {
- global $allowedtags;
- $output = wpautop(wp_kses( $input, $allowedtags));
- }
- return $output;
-}
-add_filter( 'of_sanitize_editor', 'of_sanitize_editor' );
-
-/* Allowed Tags */
-
-function of_sanitize_allowedtags( $input ) {
- global $allowedtags;
- $output = wpautop( wp_kses( $input, $allowedtags ) );
- return $output;
-}
-
-/* Allowed Post Tags */
-
-function of_sanitize_allowedposttags( $input ) {
- global $allowedposttags;
- $output = wpautop( wp_kses( $input, $allowedposttags) );
- return $output;
-}
-add_filter( 'of_sanitize_info', 'of_sanitize_allowedposttags' );
-
-/* Check that the key value sent is valid */
-
-function of_sanitize_enum( $input, $option ) {
- $output = '';
- if ( array_key_exists( $input, $option['options'] ) ) {
- $output = $input;
- }
- return $output;
-}
-
-/* Background */
-
-function of_sanitize_background( $input ) {
- $output = wp_parse_args( $input, array(
- 'color' => '',
- 'image' => '',
- 'repeat' => 'repeat',
- 'position' => 'top center',
- 'attachment' => 'scroll'
- ) );
-
- $output['color'] = apply_filters( 'of_sanitize_hex', $input['color'] );
- $output['image'] = apply_filters( 'of_sanitize_upload', $input['image'] );
- $output['repeat'] = apply_filters( 'of_background_repeat', $input['repeat'] );
- $output['position'] = apply_filters( 'of_background_position', $input['position'] );
- $output['attachment'] = apply_filters( 'of_background_attachment', $input['attachment'] );
-
- return $output;
-}
-add_filter( 'of_sanitize_background', 'of_sanitize_background' );
-
-function of_sanitize_background_repeat( $value ) {
- $recognized = of_recognized_background_repeat();
- if ( array_key_exists( $value, $recognized ) ) {
- return $value;
- }
- return apply_filters( 'of_default_background_repeat', current( $recognized ) );
-}
-add_filter( 'of_background_repeat', 'of_sanitize_background_repeat' );
-
-function of_sanitize_background_position( $value ) {
- $recognized = of_recognized_background_position();
- if ( array_key_exists( $value, $recognized ) ) {
- return $value;
- }
- return apply_filters( 'of_default_background_position', current( $recognized ) );
-}
-add_filter( 'of_background_position', 'of_sanitize_background_position' );
-
-function of_sanitize_background_attachment( $value ) {
- $recognized = of_recognized_background_attachment();
- if ( array_key_exists( $value, $recognized ) ) {
- return $value;
- }
- return apply_filters( 'of_default_background_attachment', current( $recognized ) );
-}
-add_filter( 'of_background_attachment', 'of_sanitize_background_attachment' );
-
-
-/* Typography */
-
-function of_sanitize_typography( $input, $option ) {
-
- $output = wp_parse_args( $input, array(
- 'size' => '',
- 'face' => '',
- 'style' => '',
- 'color' => ''
- ) );
-
- if ( isset( $option['options']['faces'] ) && isset( $input['face'] ) ) {
- if ( !( array_key_exists( $input['face'], $option['options']['faces'] ) ) ) {
- $output['face'] = '';
- }
- }
- else {
- $output['face'] = apply_filters( 'of_font_face', $output['face'] );
- }
-
- $output['size'] = apply_filters( 'of_font_size', $output['size'] );
- $output['style'] = apply_filters( 'of_font_style', $output['style'] );
- $output['color'] = apply_filters( 'of_sanitize_color', $output['color'] );
- return $output;
-}
-add_filter( 'of_sanitize_typography', 'of_sanitize_typography', 10, 2 );
-
-function of_sanitize_font_size( $value ) {
- $recognized = of_recognized_font_sizes();
- $value_check = preg_replace('/px/','', $value);
- if ( in_array( (int) $value_check, $recognized ) ) {
- return $value;
- }
- return apply_filters( 'of_default_font_size', $recognized );
-}
-add_filter( 'of_font_size', 'of_sanitize_font_size' );
-
-
-function of_sanitize_font_style( $value ) {
- $recognized = of_recognized_font_styles();
- if ( array_key_exists( $value, $recognized ) ) {
- return $value;
- }
- return apply_filters( 'of_default_font_style', current( $recognized ) );
-}
-add_filter( 'of_font_style', 'of_sanitize_font_style' );
-
-
-function of_sanitize_font_face( $value ) {
- $recognized = of_recognized_font_faces();
- if ( array_key_exists( $value, $recognized ) ) {
- return $value;
- }
- return apply_filters( 'of_default_font_face', current( $recognized ) );
-}
-add_filter( 'of_font_face', 'of_sanitize_font_face' );
-
-/**
- * Get recognized background repeat settings
- *
- * @return array
- *
- */
-function of_recognized_background_repeat() {
- $default = array(
- 'no-repeat' => __( 'No Repeat', 'textdomain' ),
- 'repeat-x' => __( 'Repeat Horizontally', 'textdomain' ),
- 'repeat-y' => __( 'Repeat Vertically', 'textdomain' ),
- 'repeat' => __( 'Repeat All', 'textdomain' ),
- );
- return apply_filters( 'of_recognized_background_repeat', $default );
-}
-
-/**
- * Get recognized background positions
- *
- * @return array
- *
- */
-function of_recognized_background_position() {
- $default = array(
- 'top left' => __( 'Top Left', 'textdomain' ),
- 'top center' => __( 'Top Center', 'textdomain' ),
- 'top right' => __( 'Top Right', 'textdomain' ),
- 'center left' => __( 'Middle Left', 'textdomain' ),
- 'center center' => __( 'Middle Center', 'textdomain' ),
- 'center right' => __( 'Middle Right', 'textdomain' ),
- 'bottom left' => __( 'Bottom Left', 'textdomain' ),
- 'bottom center' => __( 'Bottom Center', 'textdomain' ),
- 'bottom right' => __( 'Bottom Right', 'textdomain')
- );
- return apply_filters( 'of_recognized_background_position', $default );
-}
-
-/**
- * Get recognized background attachment
- *
- * @return array
- *
- */
-function of_recognized_background_attachment() {
- $default = array(
- 'scroll' => __( 'Scroll Normally', 'textdomain' ),
- 'fixed' => __( 'Fixed in Place', 'textdomain')
- );
- return apply_filters( 'of_recognized_background_attachment', $default );
-}
-
-/**
- * Sanitize a color represented in hexidecimal notation.
- *
- * @param string Color in hexidecimal notation. "#" may or may not be prepended to the string.
- * @param string The value that this function should return if it cannot be recognized as a color.
- * @return string
- *
- */
-
-function of_sanitize_hex( $hex, $default = '' ) {
- if ( of_validate_hex( $hex ) ) {
- return $hex;
- }
- return $default;
-}
-
-/**
- * Get recognized font sizes.
- *
- * Returns an indexed array of all recognized font sizes.
- * Values are integers and represent a range of sizes from
- * smallest to largest.
- *
- * @return array
- */
-
-function of_recognized_font_sizes() {
- $sizes = range( 9, 71 );
- $sizes = apply_filters( 'of_recognized_font_sizes', $sizes );
- $sizes = array_map( 'absint', $sizes );
- return $sizes;
-}
-
-/**
- * Get recognized font faces.
- *
- * Returns an array of all recognized font faces.
- * Keys are intended to be stored in the database
- * while values are ready for display in in html.
- *
- * @return array
- *
- */
-function of_recognized_font_faces() {
- $default = array(
- 'arial' => 'Arial',
- 'verdana' => 'Verdana, Geneva',
- 'trebuchet' => 'Trebuchet',
- 'georgia' => 'Georgia',
- 'times' => 'Times New Roman',
- 'tahoma' => 'Tahoma, Geneva',
- 'palatino' => 'Palatino',
- 'helvetica' => 'Helvetica*'
- );
- return apply_filters( 'of_recognized_font_faces', $default );
-}
-
-/**
- * Get recognized font styles.
- *
- * Returns an array of all recognized font styles.
- * Keys are intended to be stored in the database
- * while values are ready for display in in html.
- *
- * @return array
- *
- */
-function of_recognized_font_styles() {
- $default = array(
- 'normal' => __( 'Normal', 'textdomain' ),
- 'italic' => __( 'Italic', 'textdomain' ),
- 'bold' => __( 'Bold', 'textdomain' ),
- 'bold italic' => __( 'Bold Italic', 'textdomain' )
- );
- return apply_filters( 'of_recognized_font_styles', $default );
-}
-
-/**
- * Is a given string a color formatted in hexidecimal notation?
- *
- * @param string Color in hexidecimal notation. "#" may or may not be prepended to the string.
- * @return bool
- *
- */
-
-function of_validate_hex( $hex ) {
- $hex = trim( $hex );
- /* Strip recognized prefixes. */
- if ( 0 === strpos( $hex, '#' ) ) {
- $hex = substr( $hex, 1 );
- }
- elseif ( 0 === strpos( $hex, '%23' ) ) {
- $hex = substr( $hex, 3 );
- }
- /* Regex match. */
- if ( 0 === preg_match( '/^[0-9a-fA-F]{6}$/', $hex ) ) {
- return false;
- }
- else {
- return true;
- }
-}
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/admin/options/js/media-uploader.js b/wp/themes/thbusiness/inc/admin/options/js/media-uploader.js
deleted file mode 100644
index 5180250e..00000000
--- a/wp/themes/thbusiness/inc/admin/options/js/media-uploader.js
+++ /dev/null
@@ -1,79 +0,0 @@
-jQuery(document).ready(function($){
-
- var optionsframework_upload;
- var optionsframework_selector;
-
- function optionsframework_add_file(event, selector) {
-
- var upload = $(".uploaded-file"), frame;
- var $el = $(this);
- optionsframework_selector = selector;
-
- event.preventDefault();
-
- // If the media frame already exists, reopen it.
- if ( optionsframework_upload ) {
- optionsframework_upload.open();
- } else {
- // Create the media frame.
- optionsframework_upload = wp.media.frames.optionsframework_upload = wp.media({
- // Set the title of the modal.
- title: $el.data('choose'),
-
- // Customize the submit button.
- button: {
- // Set the text of the button.
- text: $el.data('update'),
- // Tell the button not to close the modal, since we're
- // going to refresh the page when the image is selected.
- close: false
- }
- });
-
- // When an image is selected, run a callback.
- optionsframework_upload.on( 'select', function() {
- // Grab the selected attachment.
- var attachment = optionsframework_upload.state().get('selection').first();
- optionsframework_upload.close();
- optionsframework_selector.find('.upload').val(attachment.attributes.url);
- if ( attachment.attributes.type == 'image' ) {
- optionsframework_selector.find('.screenshot').empty().hide().append('
Remove').slideDown('fast');
- }
- optionsframework_selector.find('.upload-button').unbind().addClass('remove-file').removeClass('upload-button').val(optionsframework_l10n.remove);
- optionsframework_selector.find('.of-background-properties').slideDown();
- optionsframework_selector.find('.remove-image, .remove-file').on('click', function() {
- optionsframework_remove_file( $(this).parents('.section') );
- });
- });
-
- }
-
- // Finally, open the modal.
- optionsframework_upload.open();
- }
-
- function optionsframework_remove_file(selector) {
- selector.find('.remove-image').hide();
- selector.find('.upload').val('');
- selector.find('.of-background-properties').hide();
- selector.find('.screenshot').slideUp();
- selector.find('.remove-file').unbind().addClass('upload-button').removeClass('remove-file').val(optionsframework_l10n.upload);
- // We don't display the upload button if .upload-notice is present
- // This means the user doesn't have the WordPress 3.5 Media Library Support
- if ( $('.section-upload .upload-notice').length > 0 ) {
- $('.upload-button').remove();
- }
- selector.find('.upload-button').on('click', function(event) {
- optionsframework_add_file(event, $(this).parents('.section'));
- });
- }
-
- $('.remove-image, .remove-file').on('click', function() {
- optionsframework_remove_file( $(this).parents('.section') );
- });
-
- $('.upload-button').click( function( event ) {
- optionsframework_add_file(event, $(this).parents('.section'));
- });
-
-});
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/admin/options/js/options-custom.js b/wp/themes/thbusiness/inc/admin/options/js/options-custom.js
deleted file mode 100644
index 5f95fd62..00000000
--- a/wp/themes/thbusiness/inc/admin/options/js/options-custom.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * Custom scripts needed for the colorpicker, image button selectors,
- * and navigation tabs.
- */
-
-jQuery(document).ready(function($) {
-
- // Loads the color pickers
- $('.of-color').wpColorPicker();
-
- // Image Options
- $('.of-radio-img-img').click(function(){
- $(this).parent().parent().find('.of-radio-img-img').removeClass('of-radio-img-selected');
- $(this).addClass('of-radio-img-selected');
- });
-
- $('.of-radio-img-label').hide();
- $('.of-radio-img-img').show();
- $('.of-radio-img-radio').hide();
-
- // Loads tabbed sections if they exist
- if ( $('.nav-tab-wrapper').length > 0 ) {
- options_framework_tabs();
- }
-
- function options_framework_tabs() {
-
- var $group = $('.group'),
- $navtabs = $('.nav-tab-wrapper a'),
- active_tab = '';
-
- // Hides all the .group sections to start
- $group.hide();
-
- // Find if a selected tab is saved in localStorage
- if ( typeof(localStorage) != 'undefined' ) {
- active_tab = localStorage.getItem('active_tab');
- }
-
- // If active tab is saved and exists, load it's .group
- if ( active_tab != '' && $(active_tab).length ) {
- $(active_tab).fadeIn();
- $(active_tab + '-tab').addClass('nav-tab-active');
- } else {
- $('.group:first').fadeIn();
- $('.nav-tab-wrapper a:first').addClass('nav-tab-active');
- }
-
- // Bind tabs clicks
- $navtabs.click(function(e) {
-
- e.preventDefault();
-
- // Remove active class from all tabs
- $navtabs.removeClass('nav-tab-active');
-
- $(this).addClass('nav-tab-active').blur();
-
- if (typeof(localStorage) != 'undefined' ) {
- localStorage.setItem('active_tab', $(this).attr('href') );
- }
-
- var selected = $(this).attr('href');
-
- $group.hide();
- $(selected).fadeIn();
-
- });
- }
-
-});
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/admin/options/options-framework.php b/wp/themes/thbusiness/inc/admin/options/options-framework.php
deleted file mode 100644
index 47bed8db..00000000
--- a/wp/themes/thbusiness/inc/admin/options/options-framework.php
+++ /dev/null
@@ -1,96 +0,0 @@
-
- * @license GPL-2.0+
- * @link http://wptheming.com
- * @copyright 2010-2014 WP Theming
- *
- * @wordpress-plugin
- * Plugin Name: Options Framework
- * Plugin URI: http://wptheming.com
- * Description: A framework for building theme options.
- * Version: 1.8.0
- * Author: Devin Price
- * Author URI: http://wptheming.com
- * License: GPL-2.0+
- * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
- * Text Domain: optionsframework
- * Domain Path: /languages
- */
-
-// If this file is called directly, abort.
-if ( ! defined( 'WPINC' ) ) {
- die;
-}
-
-// Don't load if optionsframework_init is already defined
-if (is_admin() && ! function_exists( 'optionsframework_init' ) ) :
-
-function optionsframework_init() {
-
- // If user can't edit theme options, exit
- if ( ! current_user_can( 'edit_theme_options' ) )
- return;
-
- // Loads the required Options Framework classes.
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-framework.php';
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-framework-admin.php';
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-interface.php';
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-media-uploader.php';
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-sanitization.php';
-
- // Instantiate the main plugin class.
- $options_framework = new Options_Framework;
- $options_framework->init();
-
- // Instantiate the options page.
- $options_framework_admin = new Options_Framework_Admin;
- $options_framework_admin->init();
-
- // Instantiate the media uploader class
- $options_framework_media_uploader = new Options_Framework_Media_Uploader;
- $options_framework_media_uploader->init();
-
-}
-
-add_action( 'init', 'optionsframework_init', 20 );
-
-endif;
-
-
-/**
- * Helper function to return the theme option value.
- * If no value has been saved, it returns $default.
- * Needed because options are saved as serialized strings.
- *
- * Not in a class to support backwards compatibility in themes.
- */
-
-if ( ! function_exists( 'of_get_option' ) ) :
-
-function of_get_option( $name, $default = false ) {
- $phoneNumber = get_option('cta_tel',true);
- if($name==="thbusiness_telephone_num" && isset($phoneNumber)){
- return $phoneNumber;
- }
- $config = get_option( 'optionsframework' );
-
- if ( ! isset( $config['id'] ) ) {
- return $default;
- }
-
- $options = get_option( $config['id'] );
-
- if ( isset( $options[$name] ) ) {
- return $options[$name];
- }
-
-
-
- return $default;
-}
-
-endif;
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/admin/options/options-framework.php20170202 b/wp/themes/thbusiness/inc/admin/options/options-framework.php20170202
deleted file mode 100644
index c81175ca..00000000
--- a/wp/themes/thbusiness/inc/admin/options/options-framework.php20170202
+++ /dev/null
@@ -1,90 +0,0 @@
-
- * @license GPL-2.0+
- * @link http://wptheming.com
- * @copyright 2010-2014 WP Theming
- *
- * @wordpress-plugin
- * Plugin Name: Options Framework
- * Plugin URI: http://wptheming.com
- * Description: A framework for building theme options.
- * Version: 1.8.0
- * Author: Devin Price
- * Author URI: http://wptheming.com
- * License: GPL-2.0+
- * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
- * Text Domain: optionsframework
- * Domain Path: /languages
- */
-
-// If this file is called directly, abort.
-if ( ! defined( 'WPINC' ) ) {
- die;
-}
-
-// Don't load if optionsframework_init is already defined
-if (is_admin() && ! function_exists( 'optionsframework_init' ) ) :
-
-function optionsframework_init() {
-
- // If user can't edit theme options, exit
- if ( ! current_user_can( 'edit_theme_options' ) )
- return;
-
- // Loads the required Options Framework classes.
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-framework.php';
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-framework-admin.php';
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-interface.php';
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-media-uploader.php';
- require plugin_dir_path( __FILE__ ) . 'includes/class-options-sanitization.php';
-
- // Instantiate the main plugin class.
- $options_framework = new Options_Framework;
- $options_framework->init();
-
- // Instantiate the options page.
- $options_framework_admin = new Options_Framework_Admin;
- $options_framework_admin->init();
-
- // Instantiate the media uploader class
- $options_framework_media_uploader = new Options_Framework_Media_Uploader;
- $options_framework_media_uploader->init();
-
-}
-
-add_action( 'init', 'optionsframework_init', 20 );
-
-endif;
-
-
-/**
- * Helper function to return the theme option value.
- * If no value has been saved, it returns $default.
- * Needed because options are saved as serialized strings.
- *
- * Not in a class to support backwards compatibility in themes.
- */
-
-if ( ! function_exists( 'of_get_option' ) ) :
-
-function of_get_option( $name, $default = false ) {
- $config = get_option( 'optionsframework' );
-
- if ( ! isset( $config['id'] ) ) {
- return $default;
- }
-
- $options = get_option( $config['id'] );
-
- if ( isset( $options[$name] ) ) {
- return $options[$name];
- }
-
- return $default;
-}
-
-endif;
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/cookie-data.php b/wp/themes/thbusiness/inc/cookie-data.php
deleted file mode 100644
index c2918ad3..00000000
--- a/wp/themes/thbusiness/inc/cookie-data.php
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
- '',
- 'default-text-color' => '888888',
- 'width' => 1500,
- 'height' => 300,
- 'flex-height' => true,
- 'wp-head-callback' => 'thbusiness_header_style',
- 'admin-head-callback' => 'thbusiness_admin_header_style',
- 'admin-preview-callback' => 'thbusiness_admin_header_image',
- ) ) );
-}
-add_action( 'after_setup_theme', 'thbusiness_custom_header_setup' );
-
-if ( ! function_exists( 'thbusiness_header_style' ) ) :
-/**
- * Styles the header image and text displayed on the blog
- *
- * @see thbusiness_custom_header_setup().
- */
-function thbusiness_header_style() {
- $header_text_color = get_header_textcolor();
-
- // If no custom options for text are set, let's bail
- // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value
- if ( HEADER_TEXTCOLOR == $header_text_color ) {
- return;
- }
-
- // If we get this far, we have custom styles. Let's do this.
- ?>
-
- Header admin panel.
- *
- * @see thbusiness_custom_header_setup().
- */
-function thbusiness_admin_header_style() {
-?>
-
- Header admin panel.
- *
- * @see thbusiness_custom_header_setup().
- */
-function thbusiness_admin_header_image() {
- $style = sprintf( ' style="color:#%s;"', get_header_textcolor() );
-?>
-
-
-
-
-
; ?>)
-
-
-get_setting( 'blogname' )->transport = 'postMessage';
- $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
- $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
-
- $wp_customize->add_setting (
- 'thbusiness_main_color',
- array(
- 'default' => '#eb5937',
- 'transport' => 'refresh'
- )
- );
-
- $wp_customize->add_control (
- new WP_Customize_Color_Control (
- $wp_customize,
- 'thbusiness_main_color',
- array (
- 'label' => 'Site Main Color',
- 'section' => 'colors',
- 'settings' => 'thbusiness_main_color'
- )
- )
- );
-}
-add_action( 'customize_register', 'thbusiness_customize_register' );
-
-/**
- * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
- */
-function thbusiness_customize_preview_js() {
- wp_enqueue_script( 'thbusiness_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true );
-}
-add_action( 'customize_preview_init', 'thbusiness_customize_preview_js' );
-
-
-/**
- * Writes out the CSS as defined by the values in the Theme Customizer
- * to the `head` element of the header template.
- *
- * @package thbusiness
- */
-function thbusiness_customize_css() {
-
- $color = get_theme_mod( 'thbusiness_main_color' );
-
- if ( $color != '#eb5937 ') :
-
-?>
-
-
-.accordion-section-title {
- background: #f5f5f5;
-}
-
-#customize-theme-controls .control-section .accordion-section-title:focus:after, #customize-theme-controls .control-section .accordion-section-title:hover:after, #customize-theme-controls .control-section.open .accordion-section-title:after, #customize-theme-controls .control-section:hover>.accordion-section-title:after {
- color: #555;
-}
-
-.customize-control-checkbox label {
- font-weight: bold;
- font-size: 14px;
-}
-
-.customize-control-description {
- font-weight: normal;
-}
-
-#customize-theme-controls .accordion-section-title {
- color: #555;
-}
-
-.customize-control select {
- min-width: 98%;
-}
-
-.control-section h3.accordion-section-title:before {
- right: 0;
- content: '\f105';
- border: none;
- background: 0 0;
- font: 400 16px/1 FontAwesome;
- speak: none;
- display: block;
- padding: 0;
- text-indent: 0;
- position: relative;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-decoration: none!important;
- margin: 2px 17px 0 15px;
- float: left;
- width: 23px;
- color: #333;
-}
-
-.nav-menus-php .item-edit:before, .widget-top a.widget-action:before {
- content: '';
-}
-
-.control-section h3.accordion-section-title {
- padding-left: 0;
-}
-
-#accordion-panel-widgets .control-section h3.accordion-section-title:before {
- content: none;
-}
-
-#accordion-panel-widgets .control-section h3.accordion-section-title {
- padding-left: 20px;
-}
-
-#accordion-panel-nav_menus .control-section h3.accordion-section-title:before {
- content: none;
-}
-
-#accordion-panel-nav_menus .control-section h3.accordion-section-title {
- padding-left: 20px;
-}
-
-/* Icons */
-
-/* Site Identity */
-#accordion-section-title_tagline h3.accordion-section-title:before {
- content: '\f19c';
-}
-
-/* General Settings */
-#accordion-section-thbusiness_general_settings h3.accordion-section-title:before {
- content: '\f085';
-}
-
-/* Homepage Settings */
-#accordion-panel-thbusiness_home_settings h3.accordion-section-title:before {
- content: '\f015';
- font-size: 20px;
-}
-
-/* Post/Page Settings */
-#accordion-section-thbusiness_post_page_settings h3.accordion-section-title:before {
- content: '\f0f6';
-}
-
-/* Site Styling */
-#accordion-panel-thbusiness_styling h3.accordion-section-title:before {
- content: '\f1fc';
-}
-
-/* Social Media */
-#accordion-section-thbusiness_social_media h3.accordion-section-title:before {
- content: '\f0c0';
-}
-
-/* Menus */
-#accordion-panel-nav_menus h3.accordion-section-title:before {
- content: '\f0c9';
-}
-
-/* Widgets */
-#accordion-panel-widgets h3.accordion-section-title:before {
- content: '\f009';
-}
-
-/* Background Image */
-#accordion-section-background_image h3.accordion-section-title:before {
- content: '\f03e';
-}
-
-/* Custom CSS */
-#accordion-section-thbusiness_custom_css h3.accordion-section-title:before {
- content: '\f044';
-}
-
-/* Static Frontpage */
-#accordion-section-static_front_page h3.accordion-section-title:before {
- content: '\f108';
-}
-
-/* Featured Slider */
-#accordion-section-thbusiness_slider h3.accordion-section-title:before {
- content: '\f24d';
-}
-
-#accordion-section-thbusiness_pro_details h3.accordion-section-title:before {
- content: '\f219';
-}
-
-#accordion-section-thbusiness_topbar_settings h3.accordion-section-title:before {
- content: '\f09d';
-}
-
-#accordion-section-header_image h3.accordion-section-title:before {
- content: '\f1c5';
-}
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/customizer/custom-controls/control-custom-content.php b/wp/themes/thbusiness/inc/customizer/custom-controls/control-custom-content.php
deleted file mode 100644
index de22ecb7..00000000
--- a/wp/themes/thbusiness/inc/customizer/custom-controls/control-custom-content.php
+++ /dev/null
@@ -1,34 +0,0 @@
-label ) ) {
- echo '
' . $this->label . '';
- }
-
- if ( isset( $this->content ) ) {
- echo $this->content;
- }
-
- if ( isset( $this->description ) ) {
- echo '
' . $this->description . '';
- }
-
- }
-}
-
-endif;
\ No newline at end of file
diff --git a/wp/themes/thbusiness/inc/customizer/customizer.php b/wp/themes/thbusiness/inc/customizer/customizer.php
deleted file mode 100644
index c77506b4..00000000
--- a/wp/themes/thbusiness/inc/customizer/customizer.php
+++ /dev/null
@@ -1,1007 +0,0 @@
-remove_section( 'themes' );
- $wp_customize->remove_control( 'display_header_text' );
- $wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
- $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
- $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
- $wp_customize->get_section( 'static_front_page' )->panel = 'thbusiness_home_settings';
- $wp_customize->get_section( 'background_image' )->panel = 'thbusiness_styling';
- $wp_customize->get_section( 'header_image' )->panel = 'thbusiness_styling';
- $wp_customize->get_section( 'colors' )->panel = 'thbusiness_styling';
-
-
-
- /**
- * Header Settings Panel
- */
- $wp_customize->add_panel(
- 'thbusiness_header_settings',
- array(
- 'title' => __( 'Header Settings', 'thbusiness' ),
- 'description' => __( 'Use this panel to set your header settings', 'thbusiness' ),
- 'priority' => 25,
- )
- );
-
-
- // Logo image
- $wp_customize->add_setting(
- 'site_logo',
- array(
- 'sanitize_callback' => 'thbusiness_sanitize_image'
- )
- );
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'site_logo',
- array(
- 'label' => __( 'Site Logo', 'thbusiness' ),
- 'section' => 'title_tagline',
- 'settings' => 'site_logo',
- 'description' => __( 'Upload a logo for your website. Recommended height for your logo is 135px.', 'thbusiness' ),
- )
- )
- );
-
- // Logo, title and description chooser
- $wp_customize->add_setting(
- 'site_title_option',
- array (
- 'default' => 'text_only',
- 'sanitize_callback' => 'thbusiness_sanitize_logo_title_select',
- 'transport' => 'refresh'
- )
- );
- $wp_customize->add_control(
- 'site_title_option',
- array(
- 'label' => __( 'Display site title / logo.', 'thbusiness' ),
- 'section' => 'title_tagline',
- 'type' => 'radio',
- 'description' => __( 'Choose your preferred option.', 'thbusiness' ),
- 'choices' => array (
- 'text_only' => __( 'Display site title and description only.', 'thbusiness' ),
- 'logo_only' => __( 'Display site logo image only.', 'thbusiness' ),
- 'display_none' => __( 'Display none', 'thbusiness' )
- )
- )
- );
-
- // Site favicon
- $wp_customize->add_setting(
- 'site_favicon',
- array(
- 'sanitize_callback' => 'thbusiness_sanitize_image'
- )
- );
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'site_favicon',
- array(
- 'label' => __( 'Upload a favicon', 'thbusiness' ),
- 'section' => 'title_tagline',
- 'settings' => 'site_favicon',
- 'description' => __( 'Upload a favicon for your website.', 'thbusiness' ),
- )
- )
- );
-
- // Display site favicon?
- $wp_customize->add_setting(
- 'display_site_favicon',
- array(
- 'default' => false,
- 'sanitize_callback' => 'thbusiness_sanitize_checkbox'
- )
- );
- $wp_customize->add_control(
- 'display_site_favicon',
- array(
- 'settings' => 'display_site_favicon',
- 'section' => 'title_tagline',
- 'type' => 'checkbox',
- 'label' => __( 'Display site favicon?', 'thbusiness' ),
- )
- );
-
-
- /**
- * General settings section.
- */
- $wp_customize->add_section(
- 'thbusiness_general_settings',
- array(
- 'title' => __( 'General Settings', 'thbusiness' ),
- 'description' => __( 'Use this section to set general settings of the site.', 'thbusiness' ),
- 'priority' => 30,
- )
- );
-
- // Footer copyright text.
- $wp_customize->add_setting(
- 'footer_copyright_text',
- array(
- 'default' => sprintf( __( 'Copyright %s. All rights reserved.', 'thbusiness' ), esc_html( get_bloginfo( 'name' ) ) ),
- 'sanitize_callback' => 'thbusiness_sanitize_html'
- )
- );
- $wp_customize->add_control(
- 'footer_copyright_text',
- array(
- 'settings' => 'footer_copyright_text',
- 'section' => 'thbusiness_general_settings',
- 'type' => 'textarea',
- 'label' => __( 'Footer copyright text', 'thbusiness' ),
- 'description' => __( 'Copyright or other text to be displayed in the site footer. HTML allowed.', 'thbusiness' )
- )
- );
-
- /**
- * Top bar section.
- */
- $wp_customize->add_section(
- 'thbusiness_topbar_settings',
- array(
- 'title' => __( 'Top Bar Settings', 'thbusiness' ),
- 'priority' => 31,
- )
- );
-
- // Display topbar?
- $wp_customize->add_setting(
- 'display_topbar',
- array(
- 'default' => true,
- 'sanitize_callback' => 'thbusiness_sanitize_checkbox'
- )
- );
- $wp_customize->add_control(
- 'display_topbar',
- array(
- 'settings' => 'display_topbar',
- 'section' => 'thbusiness_topbar_settings',
- 'type' => 'checkbox',
- 'label' => __( 'Display top bar?', 'thbusiness' )
- )
- );
-
- $wp_customize->add_setting(
- 'telephone_text',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_html'
- )
- );
-
- $wp_customize->add_control(
- 'telephone_text',
- array(
- 'settings' => 'telephone_text',
- 'section' => 'thbusiness_topbar_settings',
- 'type' => 'text',
- 'label' => __( 'Call Us Text', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'telephone_number',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_nohtml'
- )
- );
-
- $wp_customize->add_control(
- 'telephone_number',
- array(
- 'settings' => 'telephone_number',
- 'section' => 'thbusiness_topbar_settings',
- 'type' => 'text',
- 'label' => __( 'Telephone Number', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'email_text',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_nohtml'
- )
- );
-
- $wp_customize->add_control(
- 'email_text',
- array(
- 'settings' => 'email_text',
- 'section' => 'thbusiness_topbar_settings',
- 'type' => 'text',
- 'label' => __( 'Email Text', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'email_address',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_email'
- )
- );
-
- $wp_customize->add_control(
- 'email_address',
- array(
- 'settings' => 'email_address',
- 'section' => 'thbusiness_topbar_settings',
- 'type' => 'email',
- 'label' => __( 'Email Address', 'thbusiness' ),
- )
- );
-
- // Topbar custom text.
- $wp_customize->add_setting(
- 'topbar_custom_text',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_nohtml'
- )
- );
- $wp_customize->add_control(
- 'topbar_custom_text',
- array(
- 'settings' => 'topbar_custom_text',
- 'section' => 'thbusiness_topbar_settings',
- 'type' => 'textarea',
- 'label' => __( 'Custom Text', 'thbusiness' ),
- 'description' => __( 'Add your custom text here.', 'thbusiness' )
- )
- );
-
- /**
- * Home Settings section.
- */
- $wp_customize->add_panel(
- 'thbusiness_home_settings',
- array(
- 'title' => __( 'Homepage Settings', 'thbusiness' ),
- 'description' => __( 'Use this panel to set your home page settings', 'thbusiness' ),
- 'priority' => 32,
- )
- );
-
- /**
- * Slider Section.
- */
- $wp_customize->add_section(
- 'thbusiness_slider',
- array(
- 'title' => __( 'Homepage Slider', 'thbusiness' ),
- 'panel' => 'thbusiness_home_settings'
- )
- );
-
- // Display slider?
- $wp_customize->add_setting(
- 'display_slider',
- array(
- 'default' => true,
- 'sanitize_callback' => 'thbusiness_sanitize_checkbox'
- )
- );
- $wp_customize->add_control(
- 'display_slider',
- array(
- 'settings' => 'display_slider',
- 'section' => 'thbusiness_slider',
- 'type' => 'checkbox',
- 'label' => __( 'Display slider on homepage ?', 'thbusiness' )
- )
- );
-
- for ( $i=1; $i <= 5; $i++ ) {
- $wp_customize->add_setting(
- 'custom_slide_img_' . $i . '',
- array(
- 'sanitize_callback' => 'thbusiness_sanitize_image'
- )
- );
- $wp_customize->add_control(
- new WP_Customize_Image_Control(
- $wp_customize,
- 'custom_slide_img_' . $i . '',
- array(
- 'label' => sprintf( __( 'Slide %d image', 'thbusiness' ), $i ),
- 'section' => 'thbusiness_slider',
- 'settings' => 'custom_slide_img_' . $i . '',
- )
- )
- );
-
- $wp_customize->add_setting(
- 'custom_slide_title_' . $i . '',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_html'
- )
- );
-
- $wp_customize->add_control(
- 'custom_slide_title_' . $i . '',
- array(
- 'settings' => 'custom_slide_title_' . $i . '',
- 'section' => 'thbusiness_slider',
- 'type' => 'text',
- 'label' => sprintf( __( 'Slide %d title', 'thbusiness' ), $i )
- )
- );
-
- $wp_customize->add_setting(
- 'custom_slide_description_' . $i . '',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_html'
- )
- );
-
- $wp_customize->add_control(
- 'custom_slide_description_' . $i . '',
- array(
- 'settings' => 'custom_slide_description_' . $i . '',
- 'section' => 'thbusiness_slider',
- 'type' => 'textarea',
- 'label' => sprintf( __( 'Slide %d description', 'thbusiness' ), $i )
- )
- );
-
- $wp_customize->add_setting(
- 'custom_slide_url_' . $i . '',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_url'
- )
- );
-
- $wp_customize->add_control(
- 'custom_slide_url_' . $i . '',
- array(
- 'settings' => 'custom_slide_url_' . $i . '',
- 'section' => 'thbusiness_slider',
- 'type' => 'text',
- 'label' => sprintf( __( 'Slide %d redirect url', 'thbusiness' ), $i )
- )
- );
-
- $wp_customize->add_setting(
- 'custom_slide_button_text_' . $i . '',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_html'
- )
- );
-
- $wp_customize->add_control(
- 'custom_slide_button_text_' . $i . '',
- array(
- 'settings' => 'custom_slide_button_text_' . $i . '',
- 'section' => 'thbusiness_slider',
- 'type' => 'text',
- 'label' => sprintf( __( 'Slide %d button text', 'thbusiness' ), $i )
- )
- );
- }
-
-
- /**
- * Styling Options.
- */
- $wp_customize->add_panel(
- 'thbusiness_styling',
- array(
- 'title' => __( 'Site Styling', 'thbusiness' ),
- 'description' => __( 'Use this section to setup the homepage slider and featured posts.', 'thbusiness' ),
- 'priority' => 33,
- )
- );
-
- $wp_customize->add_setting(
- 'site_main_color',
- array(
- 'default' => '#eb5937',
- 'sanitize_callback' => 'thbusiness_sanitize_hex_color'
- )
- );
-
- $wp_customize->add_control(
- new WP_Customize_Color_Control(
- $wp_customize,
- 'site_main_color',
- array(
- 'settings' => 'site_main_color',
- 'section' => 'colors',
- 'label' => __( 'Site Main Color', 'thbusiness' ),
- )
- )
- );
-
- /**
- * Custom CSS section
- */
- $wp_customize->add_section(
- 'thbusiness_custom_css',
- array(
- 'title' => __( 'Custom CSS', 'thbusiness' ),
- 'panel' => 'thbusiness_styling',
- 'priority' => 50
- )
- );
-
- $wp_customize->add_setting(
- 'custom_css',
- array(
- 'default' => '',
- 'type' => 'theme_mod',
- 'capability' => 'edit_theme_options',
- 'sanitize_callback' => 'thbusiness_sanitize_css'
- )
- );
- $wp_customize->add_control(
- 'custom_css',
- array(
- 'settings' => 'custom_css',
- 'section' => 'thbusiness_custom_css',
- 'type' => 'textarea',
- 'label' => __( 'Custom CSS', 'thbusiness' ),
- 'description' => __( 'Define custom CSS be used for your site. Do not enclose in script tags.', 'thbusiness' ),
- )
- );
-
- /**
- * Social Media
- */
- $wp_customize->add_section(
- 'thbusiness_social_media',
- array(
- 'title' => __( 'Social Media', 'thbusiness' ),
- 'priority' => 34
- )
- );
-
- $wp_customize->add_setting(
- 'display_social_icons',
- array(
- 'default' => false,
- 'sanitize_callback' => 'thbusiness_sanitize_checkbox'
- )
- );
-
- $wp_customize->add_control(
- 'display_social_icons',
- array(
- 'settings' => 'display_social_icons',
- 'section' => 'thbusiness_social_media',
- 'type' => 'checkbox',
- 'label' => __( 'Display social icons?', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'social_media_text',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_nohtml'
- )
- );
-
- $wp_customize->add_control(
- 'social_media_text',
- array(
- 'settings' => 'social_media_text',
- 'section' => 'thbusiness_social_media',
- 'type' => 'text',
- 'label' => __( 'Follow Us Text', 'thbusiness' ),
- )
- );
-
-
- $wp_customize->add_setting(
- 'facebook_url',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_url'
- )
- );
-
- $wp_customize->add_control(
- 'facebook_url',
- array(
- 'settings' => 'facebook_url',
- 'section' => 'thbusiness_social_media',
- 'type' => 'url',
- 'label' => __( 'Facebook URL', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'twitter_url',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_url'
- )
- );
-
- $wp_customize->add_control(
- 'twitter_url',
- array(
- 'settings' => 'twitter_url',
- 'section' => 'thbusiness_social_media',
- 'type' => 'url',
- 'label' => __( 'Twitter URL', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'googleplus_url',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_url'
- )
- );
-
- $wp_customize->add_control(
- 'googleplus_url',
- array(
- 'settings' => 'googleplus_url',
- 'section' => 'thbusiness_social_media',
- 'type' => 'url',
- 'label' => __( 'Google Plus URL', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'linkedin_url',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_url'
- )
- );
-
- $wp_customize->add_control(
- 'linkedin_url',
- array(
- 'settings' => 'linkedin_url',
- 'section' => 'thbusiness_social_media',
- 'type' => 'url',
- 'label' => __( 'Linkedin URL', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'youtube_url',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_url'
- )
- );
-
- $wp_customize->add_control(
- 'youtube_url',
- array(
- 'settings' => 'youtube_url',
- 'section' => 'thbusiness_social_media',
- 'type' => 'url',
- 'label' => __( 'Youtube URL', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'dribbble_url',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_url'
- )
- );
-
- $wp_customize->add_control(
- 'dribbble_url',
- array(
- 'settings' => 'dribbble_url',
- 'section' => 'thbusiness_social_media',
- 'type' => 'url',
- 'label' => __( 'Dribbble URL', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'github_url',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_url'
- )
- );
-
- $wp_customize->add_control(
- 'github_url',
- array(
- 'settings' => 'github_url',
- 'section' => 'thbusiness_social_media',
- 'type' => 'url',
- 'label' => __( 'Github URL', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_setting(
- 'flickr_url',
- array(
- 'default' => '',
- 'sanitize_callback' => 'thbusiness_sanitize_url'
- )
- );
-
- $wp_customize->add_control(
- 'flickr_url',
- array(
- 'settings' => 'flickr_url',
- 'section' => 'thbusiness_social_media',
- 'type' => 'url',
- 'label' => __( 'Flickr URL', 'thbusiness' ),
- )
- );
-
- $wp_customize->add_section(
- 'thbusiness_pro_details',
- array(
- 'title' => __( 'THBusiness Pro', 'thbusiness' ),
- 'priority' => 120
- )
- );
-
- $wp_customize->add_setting(
- 'thbusiness_pro_desc',
- array(
- 'sanitize_callback' => 'thbusiness_sanitize_html'
- )
- );
-
- $wp_customize->add_control(
- new Thbusiness_Custom_Content(
- $wp_customize,
- 'thbusiness_pro_desc',
- array(
- 'section' => 'thbusiness_pro_details',
- 'priority' => 20,
- 'label' => __( 'Do you want more features?', 'thbusiness' ),
- 'content' => __( 'Then consider buying
Thbusiness Pro.Thbusiness Pro Features.
- More Layouts.
- Google Fonts.
- Unlimited Colors.
- More Page Templates.
- More Widgets
- More Customizer Options.
- Released under GPL.
And more..
Thbusiness Pro DemoThbusiness Pro Details
', 'thbusiness' ) . '',
- //'description' => __( 'Optional: Example Description.', 'thbusiness' ),
- )
- )
- );
-
-}
-add_action( 'customize_register', 'thbusiness_customize_register' );
-
-/**
- * Image sanitization.
- *
- * @see wp_check_filetype() https://developer.wordpress.org/reference/functions/wp_check_filetype/
- *
- * @param string $image Image filename.
- * @param WP_Customize_Setting $setting Setting instance.
- * @return string The image filename if the extension is allowed; otherwise, the setting default.
- */
-
-function thbusiness_sanitize_image( $image, $setting ) {
- /*
- * Array of valid image file types.
- *
- * The array includes image mime types that are included in wp_get_mime_types()
- */
- $mimes = array(
- 'jpg|jpeg|jpe' => 'image/jpeg',
- 'gif' => 'image/gif',
- 'png' => 'image/png',
- 'bmp' => 'image/bmp',
- 'tif|tiff' => 'image/tiff',
- 'ico' => 'image/x-icon'
- );
- // Return an array with file extension and mime_type.
- $file = wp_check_filetype( $image, $mimes );
- // If $image has a valid mime_type, return it; otherwise, return the default.
- return ( $file['ext'] ? $image : $setting->default );
-}
-
-/**
- * Sanitize the logo title select option.
- *
- * @param string $logo_option.
- * @return string (text_only|logo_only|display_none).
- */
-function thbusiness_sanitize_logo_title_select( $logo_option ) {
- if ( ! in_array( $logo_option, array( 'text_only', 'logo_only', 'display_none' ) ) ) {
- $logo_option = 'text_only';
- }
-
- return $logo_option;
-}
-
-/**
- * Checkbox sanitization.
- *
- * Sanitization callback for 'checkbox' type controls. This callback sanitizes `$checked`
- * as a boolean value, either TRUE or FALSE.
- *
- * @param bool $checked Whether the checkbox is checked.
- * @return bool Whether the checkbox is checked.
- */
-function thbusiness_sanitize_checkbox( $checked ) {
- // Boolean check.
- return ( ( isset( $checked ) && true == $checked ) ? true : false );
-}
-
-/**
- * HTML sanitization
- *
- * @see wp_filter_post_kses() https://developer.wordpress.org/reference/functions/wp_filter_post_kses/
- *
- * @param string $html HTML to sanitize.
- * @return string Sanitized HTML.
- */
-function thbusiness_sanitize_html( $html ) {
- return wp_filter_post_kses( $html );
-}
-
-/**
- * CSS sanitization.
- *
- * @see wp_strip_all_tags() https://developer.wordpress.org/reference/functions/wp_strip_all_tags/
- *
- * @param string $css CSS to sanitize.
- * @return string Sanitized CSS.
- */
-function thbusiness_sanitize_css( $css ) {
- return wp_strip_all_tags( $css );
-}
-
-/**
- * Email sanitization callback.
- *
- * - Sanitization: email
- * - Control: text
- *
- * Sanitization callback for 'email' type text controls. This callback sanitizes `$email`
- * as a valid email address.
- *
- * @see sanitize_email() https://developer.wordpress.org/reference/functions/sanitize_key/
- * @link sanitize_email() https://codex.wordpress.org/Function_Reference/sanitize_email
- *
- * @param string $email Email address to sanitize.
- * @param WP_Customize_Setting $setting Setting instance.
- * @return string The sanitized email if not null; otherwise, the setting default.
- */
-function thbusiness_sanitize_email( $email, $setting ) {
- // Sanitize $input as a hex value without the hash prefix.
- $email = sanitize_email( $email );
-
- // return sanitized $email
- return $email;
-}
-
-/**
- * HEX Color sanitization
- *
- * @see sanitize_hex_color() https://developer.wordpress.org/reference/functions/sanitize_hex_color/
- * @link sanitize_hex_color_no_hash() https://developer.wordpress.org/reference/functions/sanitize_hex_color_no_hash/
- *
- * @param string $hex_color HEX color to sanitize.
- * @param WP_Customize_Setting $setting Setting instance.
- * @return string The sanitized hex color if not empty; otherwise, the setting default.
- */
-function thbusiness_sanitize_hex_color( $hex_color, $setting ) {
- // Sanitize $input as a hex value without the hash prefix.
- $hex_color = sanitize_hex_color( $hex_color );
-
- // If $input is a valid hex value, return it; otherwise, return the default.
- return ( ! empty( $hex_color ) ? $hex_color : $setting->default );
-}
-
-/**
- * Number sanitization callback example.
- *
- * - Sanitization: number_absint
- * - Control: number
- *
- * Sanitization callback for 'number' type text inputs. This callback sanitizes `$number`
- * as an absolute integer (whole number, zero or greater).
- *
- * NOTE: absint() can be passed directly as `$wp_customize->add_setting()` 'sanitize_callback'.
- * It is wrapped in a callback here merely for example purposes.
- *
- * @see absint() https://developer.wordpress.org/reference/functions/absint/
- *
- * @param int $number Number to sanitize.
- * @param WP_Customize_Setting $setting Setting instance.
- * @return int Sanitized number; otherwise, the setting default.
- */
-function thbusiness_sanitize_number_absint( $number, $setting ) {
- // Ensure $number is an absolute integer (whole number, zero or greater).
- $number = absint( $number );
-
- // If the input is an absolute integer, return it; otherwise, return the default
- return ( $number ? $number : $setting->default );
-}
-
-/**
- * No-HTML sanitization callback example.
- *
- * - Sanitization: nohtml
- * - Control: text, textarea, password
- *
- * Sanitization callback for 'nohtml' type text inputs. This callback sanitizes `$nohtml`
- * to remove all HTML.
- *
- * NOTE: wp_filter_nohtml_kses() can be passed directly as `$wp_customize->add_setting()`
- * 'sanitize_callback'. It is wrapped in a callback here merely for example purposes.
- *
- * @see wp_filter_nohtml_kses() https://developer.wordpress.org/reference/functions/wp_filter_nohtml_kses/
- *
- * @param string $nohtml The no-HTML content to sanitize.
- * @return string Sanitized no-HTML content.
- */
-function thbusiness_sanitize_nohtml( $nohtml ) {
- return wp_filter_nohtml_kses( $nohtml );
-}
-
-/**
- * URL sanitization.
- *
- * @see esc_url_raw() https://developer.wordpress.org/reference/functions/esc_url_raw/
- *
- * @param string $url URL to sanitize.
- * @return string Sanitized URL.
- */
-function thbusiness_sanitize_url( $url ) {
- return esc_url_raw( $url );
-}
-
-/**
- * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
- */
-function thbusiness_customize_preview_js() {
- wp_enqueue_script( 'thbusiness_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true );
-}
-add_action( 'customize_preview_init', 'thbusiness_customize_preview_js' );
-
-
-
-/**
- * Enqueue the customizer stylesheet.
- */
-function thbusiness_enqueue_customizer_stylesheets() {
-
- wp_register_style( 'thbusiness-customizer-css', get_template_directory_uri() . '/inc/customizer/assets/customizer.css', NULL, NULL, 'all' );
- wp_enqueue_style( 'thbusiness-customizer-css' );
- wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/css/font-awesome.min.css', array(), '4.5.0' );
-
-}
-add_action( 'customize_controls_print_styles', 'thbusiness_enqueue_customizer_stylesheets' );
-
-
-
-/**
- * Writes out the CSS as defined by the values in the Theme Customizer
- * to the `head` element of the header template.
- *
- * @package thbusiness
- */
-function thbusiness_customize_css() {
-
- $color = get_theme_mod( 'site_main_color', '#eb5937' );
-
- if ( $color != '#eb5937' ) :
-
-?>
-
-
- tag based on what is being viewed.
- *
- * @param string $title Default title text for current view.
- * @param string $sep Optional separator.
- * @return string The filtered title.
- */
-function thbusiness_wp_title( $title, $sep ) {
- if ( is_feed() ) {
- return $title;
- }
-
- global $page, $paged;
-
- // Add the blog name
- $title .= get_bloginfo( 'name', 'display' );
-
- // Add the blog description for the home/front page.
- $site_description = get_bloginfo( 'description', 'display' );
- if ( $site_description && ( is_home() || is_front_page() ) ) {
- $title .= " $sep $site_description";
- }
-
- // Add a page number if necessary:
- if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
- $title .= " $sep " . sprintf( __( 'Page %s', 'thbusiness' ), max( $paged, $page ) );
- }
-
- return $title;
-}
-add_filter( 'wp_title', 'thbusiness_wp_title', 10, 2 );
-
-/**
- * Sets the authordata global when viewing an author archive.
- *
- * This provides backwards compatibility with
- * http://core.trac.wordpress.org/changeset/25574
- *
- * It removes the need to call the_post() and rewind_posts() in an author
- * template to print information about the author.
- *
- * @global WP_Query $wp_query WordPress Query object.
- * @return void
- */
-function thbusiness_setup_author() {
- global $wp_query;
-
- if ( $wp_query->is_author() && isset( $wp_query->post ) ) {
- $GLOBALS['authordata'] = get_userdata( $wp_query->post->post_author );
- }
-}
-add_action( 'wp', 'thbusiness_setup_author' );
-
-/**
- * Sets the post excerpt length to 70 words.
- *
- * function tied to the excerpt_length filter hook.
- *
- * @uses filter excerpt_length
- */
-function thbusiness_excerpt_length( $length ) {
- return 70;
-}
-add_filter( 'excerpt_length', 'thbusiness_excerpt_length' );
-
-/**
- * Replaces content [...] with ...
- */
-function thbusiness_excerpt_more() {
- return '… ';
-}
-add_filter( 'excerpt_more', 'thbusiness_excerpt_more' );
-
-/**
- * Custom length excerpt
- */
-function thbusiness_excerpt( $limit ) {
- return wp_trim_words( get_the_excerpt(), $limit );
-}
-
-
-/**
-* thbusiness slider function inserts a slider.
-*/
-if ( !function_exists( 'thbusiness_homepage_slider' ) ) :
-
-function thbusiness_homepage_slider() {
-global $post;
-?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'main',
- 'footer' => 'page',
- ) );
-}
-add_action( 'after_setup_theme', 'thbusiness_jetpack_setup' );
diff --git a/wp/themes/thbusiness/inc/template-tags.php b/wp/themes/thbusiness/inc/template-tags.php
deleted file mode 100644
index ec53eee4..00000000
--- a/wp/themes/thbusiness/inc/template-tags.php
+++ /dev/null
@@ -1,177 +0,0 @@
-max_num_pages < 2 ) {
- return;
- }
-
- $paged = get_query_var( 'paged' ) ? intval( get_query_var( 'paged' ) ) : 1;
- $pagenum_link = html_entity_decode( get_pagenum_link() );
- $query_args = array();
- $url_parts = explode( '?', $pagenum_link );
-
- if ( isset( $url_parts[1] ) ) {
- wp_parse_str( $url_parts[1], $query_args );
- }
-
- $pagenum_link = remove_query_arg( array_keys( $query_args ), $pagenum_link );
- $pagenum_link = trailingslashit( $pagenum_link ) . '%_%';
-
- $format = $GLOBALS['wp_rewrite']->using_index_permalinks() && ! strpos( $pagenum_link, 'index.php' ) ? 'index.php/' : '';
- $format .= $GLOBALS['wp_rewrite']->using_permalinks() ? user_trailingslashit( 'page/%#%', 'paged' ) : '?paged=%#%';
-
- // Set up paginated links.
- $links = paginate_links( array(
- 'base' => $pagenum_link,
- 'format' => $format,
- 'total' => $GLOBALS['wp_query']->max_num_pages,
- 'current' => $paged,
- 'mid_size' => 3,
- 'add_args' => array_map( 'urlencode', $query_args ),
- 'prev_text' => __( '
Previous', 'thbusiness' ),
- 'next_text' => __( 'Next
', 'thbusiness' ),
- 'type' => 'list',
- ) );
-
- if ( $links ) :
-
- ?>
-
- post_parent ) : get_adjacent_post( false, '', true );
- $next = get_adjacent_post( false, '', false );
-
- if ( ! $next && ! $previous ) {
- return;
- }
- ?>
-
-
- %2$s';
- if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
- $time_string .= '
';
- }
-
- $time_string = sprintf( $time_string,
- esc_attr( get_the_date( 'c' ) ),
- esc_html( get_the_date() ),
- esc_attr( get_the_modified_date( 'c' ) ),
- esc_html( get_the_modified_date() )
- );
-
- printf( '
',
- esc_url( get_permalink() ),
- $time_string
- ),
- sprintf( '',
- esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
- esc_html( get_the_author() )
- )
- );
-}
-endif;
-
-/**
- * Returns true if a blog has more than 1 category.
- *
- * @return bool
- */
-function thbusiness_categorized_blog() {
- if ( false === ( $all_the_cool_cats = get_transient( 'thbusiness_categories' ) ) ) {
- // Create an array of all the categories that are attached to posts.
- $all_the_cool_cats = get_categories( array(
- 'fields' => 'ids',
- 'hide_empty' => 1,
-
- // We only need to know if there is more than one category.
- 'number' => 2,
- ) );
-
- // Count the number of categories that are attached to the posts.
- $all_the_cool_cats = count( $all_the_cool_cats );
-
- set_transient( 'thbusiness_categories', $all_the_cool_cats );
- }
-
- if ( $all_the_cool_cats > 1 ) {
- // This blog has more than 1 category so thbusiness_categorized_blog should return true.
- return true;
- } else {
- // This blog has only 1 category so thbusiness_categorized_blog should return false.
- return false;
- }
-}
-
-/**
- * Flush out the transients used in thbusiness_categorized_blog.
- */
-function thbusiness_category_transient_flusher() {
- // Like, beat it. Dig?
- delete_transient( 'thbusiness_categories' );
-}
-add_action( 'edit_category', 'thbusiness_category_transient_flusher' );
-add_action( 'save_post', 'thbusiness_category_transient_flusher' );
-
-/**
-* Get the featured image if exists.
-* @return void
-*/
-function thbusiness_featured_image() {
- if ( post_password_required() || ! has_post_thumbnail() ) {
- return;
- }
-
- if ( is_singular() ) : ?>
-