From 3fc1aea9570b91041cf757bf47f5e26069ace68a Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 16 Jan 2016 20:58:40 +0100 Subject: [PATCH] more cleanup, update to jQuery 2.2 --- assets/js/ajax-pagination.js | 12 ------ assets/js/ajax-pagination.min.js | 12 ------ assets/js/src/ajax-pagination.js | 15 ------- assets/js/src/ascribe.js | 52 +++++++++++------------- header.php | 8 ---- images/ico/apple-touch-icon-114x114.png | Bin 2296 -> 0 bytes images/ico/apple-touch-icon-120x120.png | Bin 2419 -> 0 bytes images/ico/apple-touch-icon-144x144.png | Bin 2982 -> 0 bytes images/ico/apple-touch-icon-152x152.png | Bin 3126 -> 0 bytes images/ico/apple-touch-icon-57x57.png | Bin 1179 -> 0 bytes images/ico/apple-touch-icon-60x60.png | Bin 1263 -> 0 bytes images/ico/apple-touch-icon-72x72.png | Bin 1483 -> 0 bytes images/ico/apple-touch-icon-76x76.png | Bin 1560 -> 0 bytes includes/functions/core.php | 21 +++------- 14 files changed, 29 insertions(+), 91 deletions(-) delete mode 100644 assets/js/ajax-pagination.js delete mode 100644 assets/js/ajax-pagination.min.js delete mode 100644 assets/js/src/ajax-pagination.js delete mode 100644 images/ico/apple-touch-icon-114x114.png delete mode 100644 images/ico/apple-touch-icon-120x120.png delete mode 100644 images/ico/apple-touch-icon-144x144.png delete mode 100644 images/ico/apple-touch-icon-152x152.png delete mode 100644 images/ico/apple-touch-icon-57x57.png delete mode 100644 images/ico/apple-touch-icon-60x60.png delete mode 100644 images/ico/apple-touch-icon-72x72.png delete mode 100644 images/ico/apple-touch-icon-76x76.png diff --git a/assets/js/ajax-pagination.js b/assets/js/ajax-pagination.js deleted file mode 100644 index 26a4d88..0000000 --- a/assets/js/ajax-pagination.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - ** ascribe v0.0.1 - ** The best WordPress theme ever made! - ** http://ascribe.io - ** - ** Territorial - ** - ** - ** https://github.com/ascribe/wp-theme.git - **/ -$(document).ready(function(){$("#more-articles").click(function(a){a.preventDefault(),$.ajax({url:ajaxpagination.ajaxurl,type:"post",data:{action:"ajax_pagination"},success:function(a){alert(a)}})})}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFqYXgtcGFnaW5hdGlvbi5qcyJdLCJuYW1lcyI6WyIkIiwiZG9jdW1lbnQiLCJyZWFkeSIsImNsaWNrIiwiZSIsInByZXZlbnREZWZhdWx0IiwiYWpheCIsInVybCIsImFqYXhwYWdpbmF0aW9uIiwiYWpheHVybCIsInR5cGUiLCJkYXRhIiwiYWN0aW9uIiwic3VjY2VzcyIsInJlc3VsdCIsImFsZXJ0Il0sIm1hcHBpbmdzIjoiQUFBQUEsRUFBRUMsVUFBVUMsTUFBTSxXQUNkRixFQUFFLGtCQUFrQkcsTUFBTSxTQUFTQyxHQUMvQkEsRUFBRUMsaUJBQ0ZMLEVBQUVNLE1BQ0VDLElBQUtDLGVBQWVDLFFBQ3BCQyxLQUFNLE9BQ05DLE1BQ0lDLE9BQVEsbUJBRVpDLFFBQVMsU0FBVUMsR0FDZkMsTUFBT0QiLCJmaWxlIjoiYWpheC1wYWdpbmF0aW9uLmpzIiwic291cmNlc0NvbnRlbnQiOlsiJChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKXtcbiAgICAkKCcjbW9yZS1hcnRpY2xlcycpLmNsaWNrKGZ1bmN0aW9uKGUpe1xuICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICQuYWpheCh7XG4gICAgICAgICAgICB1cmw6IGFqYXhwYWdpbmF0aW9uLmFqYXh1cmwsXG4gICAgICAgICAgICB0eXBlOiAncG9zdCcsXG4gICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgICAgYWN0aW9uOiAnYWpheF9wYWdpbmF0aW9uJ1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHN1Y2Nlc3M6IGZ1bmN0aW9uKCByZXN1bHQgKSB7XG4gICAgICAgICAgICAgICAgYWxlcnQoIHJlc3VsdCApO1xuICAgICAgICAgICAgfVxuICAgICAgICB9KVxuICAgIH0pO1xufSk7Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9 diff --git a/assets/js/ajax-pagination.min.js b/assets/js/ajax-pagination.min.js deleted file mode 100644 index 26a4d88..0000000 --- a/assets/js/ajax-pagination.min.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - ** ascribe v0.0.1 - ** The best WordPress theme ever made! - ** http://ascribe.io - ** - ** Territorial - ** - ** - ** https://github.com/ascribe/wp-theme.git - **/ -$(document).ready(function(){$("#more-articles").click(function(a){a.preventDefault(),$.ajax({url:ajaxpagination.ajaxurl,type:"post",data:{action:"ajax_pagination"},success:function(a){alert(a)}})})}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFqYXgtcGFnaW5hdGlvbi5qcyJdLCJuYW1lcyI6WyIkIiwiZG9jdW1lbnQiLCJyZWFkeSIsImNsaWNrIiwiZSIsInByZXZlbnREZWZhdWx0IiwiYWpheCIsInVybCIsImFqYXhwYWdpbmF0aW9uIiwiYWpheHVybCIsInR5cGUiLCJkYXRhIiwiYWN0aW9uIiwic3VjY2VzcyIsInJlc3VsdCIsImFsZXJ0Il0sIm1hcHBpbmdzIjoiQUFBQUEsRUFBRUMsVUFBVUMsTUFBTSxXQUNkRixFQUFFLGtCQUFrQkcsTUFBTSxTQUFTQyxHQUMvQkEsRUFBRUMsaUJBQ0ZMLEVBQUVNLE1BQ0VDLElBQUtDLGVBQWVDLFFBQ3BCQyxLQUFNLE9BQ05DLE1BQ0lDLE9BQVEsbUJBRVpDLFFBQVMsU0FBVUMsR0FDZkMsTUFBT0QiLCJmaWxlIjoiYWpheC1wYWdpbmF0aW9uLmpzIiwic291cmNlc0NvbnRlbnQiOlsiJChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKXtcbiAgICAkKCcjbW9yZS1hcnRpY2xlcycpLmNsaWNrKGZ1bmN0aW9uKGUpe1xuICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICQuYWpheCh7XG4gICAgICAgICAgICB1cmw6IGFqYXhwYWdpbmF0aW9uLmFqYXh1cmwsXG4gICAgICAgICAgICB0eXBlOiAncG9zdCcsXG4gICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgICAgYWN0aW9uOiAnYWpheF9wYWdpbmF0aW9uJ1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHN1Y2Nlc3M6IGZ1bmN0aW9uKCByZXN1bHQgKSB7XG4gICAgICAgICAgICAgICAgYWxlcnQoIHJlc3VsdCApO1xuICAgICAgICAgICAgfVxuICAgICAgICB9KVxuICAgIH0pO1xufSk7Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9 diff --git a/assets/js/src/ajax-pagination.js b/assets/js/src/ajax-pagination.js deleted file mode 100644 index 37565ef..0000000 --- a/assets/js/src/ajax-pagination.js +++ /dev/null @@ -1,15 +0,0 @@ -$(document).ready(function(){ - $('#more-articles').click(function(e){ - e.preventDefault(); - $.ajax({ - url: ajaxpagination.ajaxurl, - type: 'post', - data: { - action: 'ajax_pagination' - }, - success: function( result ) { - alert( result ); - } - }) - }); -}); diff --git a/assets/js/src/ascribe.js b/assets/js/src/ascribe.js index 7d15d69..9475952 100644 --- a/assets/js/src/ascribe.js +++ b/assets/js/src/ascribe.js @@ -1,6 +1,4 @@ -//=include ajax-pagination.js - $(document).ready(function(){ slider(); @@ -56,32 +54,28 @@ $(document).ready(function(){ }); } - function mobileNav() { - $('.hamburger').click(function(){ - console.log('hi'); - $('.mobile-nav').toggleClass('active'); - }); - } - function stickyNav() { - var didScroll = false; - var sticky = $('.sticky'); - - $(window).scroll(function () { - didScroll = true; - }); - - setInterval(function () { - if (didScroll) { - didScroll = false; - - if ($(window).scrollTop() > 100) { - sticky.addClass('stuck'); - } - else { - sticky.removeClass('stuck'); - } - } - }, 250); - } }); + + + +function stickyNav() { + var sticky = $('.sticky'); + + $(window).on('load resize scroll', function() { + if ( $(window).width() > 768 ) { + if ( $(window).scrollTop() > 100 ) { + sticky.addClass('stuck'); + } else { + sticky.removeClass('stuck'); + } + } + }); +} + + +function mobileNav() { + $('.hamburger').click(function() { + $('.mobile-nav').toggleClass('active'); + }); +} diff --git a/header.php b/header.php index 0153686..93f3f44 100644 --- a/header.php +++ b/header.php @@ -49,14 +49,6 @@ if ( is_category() || is_tag() ) { - - - - - - - - diff --git a/images/ico/apple-touch-icon-114x114.png b/images/ico/apple-touch-icon-114x114.png deleted file mode 100644 index 2c57eca1680a2e4edcf5319bf5ca643259a85073..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2296 zcmV004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00002 zVoOIv0RM-N%)bBt00(qQO+^Ra2^s-3Ddkeod;kCl07*naRA}DqntMM&-Qq@a?KW(3k9?> zbS4K&USfhEh$3(|?|07LySw*0yL<7`G;_~i_kQQ`yLb27^PTT}D~Qir1SisobRwO| z{}HmW?Bd}==Zor}1+w};;@pWL{%!&jlTYxt==ii-PY+qRHKMt|5mQ+5A5R0Bn>a|& zke;z8j9zAA$cAm*1YPl7S@YzO2m9&+Ez;q0BmdL@^5if@TsQwAkuga-GLP*}UN9xB zTQh~S&;BQXyfj`Ovd5w`jcS7xL2`@GQ;&(Pn`g2`8<=pBZ&k2vq|9t`)#D(`Mpy&2 zT7FH_a+9ysw4bJ>HZr%f^#;znsdv4q6Ixp5ZdOx~=`ExfkyrJA7Ac+UCjG*cCLzu7 z5^&gQBS4E>iIjZadFVK@<~4M7-Cz`Gk$uvY8FkxHq*?mCZ89ApieipGI=)2xPYSsd z9eZ7Ij3|mFL(uhY$B^Hm+biWWXnKQWqG7v@OFIfQ|E3g}Ae@h;B{lj9Jmvn`9wHzi!Ft3p=@qo$~|ES`6{zD9j2m*18m3vq|sR@lZF{V zWxzo4n1UjZ&0jsenLqbgd>EI!gi1~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Y z{)Ryfe7I_T{b_QJN9{7N2jERvSG(CV^}Rp%wsJ6q>WV7z!_wF@a}vf1Op#GOpdqPB zMHp%1ZJgs=1#*QYPy5W2*s8w&)AvT#T{8>d}?(Wh^{V>%WA!|iDSAVau z1=BHx<`?y%%Q$>IRXt_hwjQ1xszlh{!{04Mya>C`5S=uI#qbPQM`9|JbL zO2t&Xmk^(CP8IQnC*kE1C%o1Ya|udV&G~uW;G+vU6dz5c=S>nz<&uZs*|utgGz8O8 z3eyo6(=M(HJ75O#P7<>av)|r#eGbKp+FMd_=IS(vU0+vemG%y(ISzAwZn}Adw)(Ld7Tg^v)2Y^qu>ZIAyrZzi&y{D*`WfMEw(w8qqt7WRN>i(T<0WE~#t%(2@*@d7k5K~F7c-2P`K68Ez z^OrZY%wy_vdm&4_Bhb8N|2KMYyFH};=PC!$yAiCqgU!M=w`C~r{k~q)ZJw9e$n$*J zl7R^Wa$RlPh)c+Ocxk7#p)QbGRj0eO?t>thu(Uqi$heDL@kT*Q}q+6h=N{H z(0!UbkIU}iFp4SrtCSU?9;g^#^=sse#_9MQz{p}%#ZhezJ_$bJKbw*@GzuGS7RS|AAqSE6yhY N0K&-Butpyn`ycBO%-R3| diff --git a/images/ico/apple-touch-icon-57x57.png b/images/ico/apple-touch-icon-57x57.png deleted file mode 100644 index 91564203d1d034031af8923ddd729c44d6ebe132..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1179 zcmV;M1Z4Y(P)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00002 zVoOIv0RM-N%)bBt00(qQO+^Ra2^s-3Ddkeod;kCgqe(SC@)z`lvxy#2x>QsF6u*=nJ7WnLr_u=MZFY3L6DV{d8rA)R0=67DiER~BmxZ| zgs6wXTZ5T7I%jt4%$D!&>`OiaqCWAO6gkNv9g=*V_j z0Ma}jqnCP5^f4ZsG6C&6au?9Zb8Lyg0g(?R+IYAX*d>!wk%*8slbPPJN3_wewCHS6 zh@6thZeS_+mB?IRm?zZHabTh6 zJ0k12Fbd>KWC~)qK1mZ-;`FkCIH>@!Na3U-1nFFEqOM%0z-989xRikq2P21p0xr{m zlH^*kW1+x0E){s*%SHA9g^@}y zGBt5Lk_Ox0wku&kn57w27q2{GySfoL*#VS!#0q%Vrqk3DvBJ~X2i%v)i7>=WyWBA^J=c;#&&ZZe1sg5IIh@Pe1#jY8Z1*P<~Cb6?xJ8x-=Zn6pMGLvbI zT}SqqOr~X4q0kp{t?(t^(!5oPKz0-ed2K+7W*XDk0N{1fZwMn&{ZCX+`{9)1q#hQ= zq*6j+{+J;+zMZt<89$`3tGzC~YWLwBZ6@_7lLXy8p_P^%(mHgPm?x_#8rmcW^>>qZ z8`NF3p!TU}V9LuQOVm*ATM?KPqHBe7OGafDRo5Tfk{#=8rFZz`8Qj5?+uOpWeI2&7 z#rM_y-1{aU)a0hP?|qdW6NWi|`>r_~`&Y=HM!Q35YD0f50000bbVXQnWMOn=I%9HW zVRU5xGB7bUEigGPGB#8&F*-FeIy5mWFfuwYFi0Mx&Hw-aC3HntbYx+4WjbwdWNBu3 t05UK!H7zhXEiyJ#FflqcGCDLdD=;!TFfcho9C82v002ovPDHLkV1j-g4yynF diff --git a/images/ico/apple-touch-icon-60x60.png b/images/ico/apple-touch-icon-60x60.png deleted file mode 100644 index c761fa695d901def82e9a832415364790d53610f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1263 zcmV004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00002 zVoOIv0RM-N%)bBt00(qQO+^Ra2^s-3D+^q)Pyhe}_en%SR7l6|mRm?vQ51&%8B}7za7bqgE>_$Zt-N>v- zjWV;;s6k~)bY|SGJ=eX?oMTq>RQo~KtbcuH@3YQY>l}zbSoja?mb3e};I^Y{7bcDj z)2!1oau0p@75LqrIbl#&%C6V_gj@0>{m|fOzZI7It{-swjv=1ldHb%_+J$g5+$mc; zPD+W{0q_d$XtV$#yva}DlcN;|vI?!X39C!Ip z5;r+b;q4@kdS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`$l;w#q#uKp(*zoTm{=$d zUPVA$Jsj-}H?tx3`b{97W7xa~Va8a(AO%%0qxlZJSvEI=sz8((tXE=>9hAdgj6r*4 zu(bs0rz9YMn!W@wg!QVI0`+XE)h|GGhF=2W^?0OHSEUQ}^UWMJlQHJPs)9$vvs?z^ z3&6EIJn%^gh~w_c3b6L8{%j`Dwct;sY;!mq>!sI)bKr4ogEY|)E1n_5gVt8upl|XK zl>4LU5l8?H!e&1uSGZVlot+?zkDiOgvpi>FHQ zpldp?H>hXNp92v%Ww^W8>27MeLflPJZz310Ft^pbkmBOeK-{ZcfpR)z7|(aAGt0}P zgZQiMsyKG#X>zz8tly;F0JjeFk$~Xr@r{;Odu%oGPnJdxY!yv%1X_jFf~t=YX|3@*fC+?$+8e z`~#t+x~0n(QTnd^H}V1WRzd#*-icoH)&b8Y0000bbVXQnWMOn=I%9HWVRU5xGB7bU zEigGPGB#8&F*-FeIy5pXFfuwYFnRXAQvd(}C3HntbYx+4WjbwdWNBu305UK!H7zhX lEiyJ#FflqcGCDLeD=;!TFfa(K2JZj>002ovPDHLkV1f~$pP&E$ diff --git a/images/ico/apple-touch-icon-76x76.png b/images/ico/apple-touch-icon-76x76.png deleted file mode 100644 index e15fd183694fc5530afb2b29234720f7a59b32df..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1560 zcmV+z2Iu*SP)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00002 zVoOIv0RM-N%)bBt00(qQO+^Ra2^s-3ER{GU^8f$^AW1|)R9M69m~CtnMHt8T?s~ix zY*UaL1k(fs5(+8Ch_)D_AQhw5fJn5#0zxDq6cDtf#9Dd=TEYj8)1a1u<5l@uGZ3W2UJ=TTJCOqp4sJY-gfVb`oX00;WG1||NM4tcIKIx)yTh? zv{Be7>``HX%Re1;<(E{|HTQ=95$xu%6_d1R8k=3&^@uQES(aUsQbzG_BZv97j?vV~ zp644GY_Rk(qv^EV0(VV)TjTMHqP#Ri8@Kb;2w>Hz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(5Dr{E^R4S;hb}rd_bFSMem&@1!)_>S-nP2Kq>aUQjjOxoEB2=J zU6)K-SbuT3Ua^e*x-n*{`05UK!H7zhXEiyJ#FflqcGCDLgD=;!TFfbY>i)jD= z03~!qSaf7zbY(hiZ)9m^c>ppnF*PkPIW00aR4_3*H8MIhG%GMNIxsM6do$Gl0000< KMNUMnLSTYMWzcK@ diff --git a/includes/functions/core.php b/includes/functions/core.php index cd2e6d8..cdf2cf1 100644 --- a/includes/functions/core.php +++ b/includes/functions/core.php @@ -16,7 +16,6 @@ function setup() { }; add_action( 'wp_enqueue_scripts', $n( 'scripts' ) ); - add_action( 'wp_enqueue_scripts', $n( 'styles' ) ); } @@ -32,27 +31,19 @@ function setup() { */ function scripts( $debug = false ) { - wp_deregister_script('jquery'); - wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"), false, '1.3.2',true); - wp_enqueue_script('jquery'); + if (!is_admin()) { + wp_deregister_script('jquery'); + wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js', false, '2.2.0', true); + wp_enqueue_script('jquery'); + } wp_enqueue_script( 'wptheme', WPTHEME_TEMPLATE_URL . "/assets/js/ascribe.min.js", - array(), + array('jquery'), WPTHEME_VERSION, true ); - - wp_enqueue_script( - 'modernizr', - "https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js", - array(), - '2.8.3', - false - ); - - } /**