diff --git a/.gitignore b/.gitignore index ad9e9ed..81139c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ # ignores pieces node_modules +.DS_Store diff --git a/home.php b/home.php index 0f43606..c0165fc 100644 --- a/home.php +++ b/home.php @@ -158,46 +158,6 @@ function onCatChange() { - - - -cat_ID; -*/ - -global $post; -$cat_obj = get_queried_object(); -$thiscat_id = $cat_obj->term_id; -$thiscat = get_category($thiscat_id); -$parentcat = get_category($thiscat->parent); - - $cat = get_query_var('news'); - $category = get_category ($thiscat); -// echo '

'.$category->cat_name.'

'; - echo do_shortcode('[ajax_load_more category="'.$category->slug.'" cache="true" cache_id="cache-'.$category->slug.'" posts_per_page="9"]'); - } -} -?> - -