Customize widget archives
This commit is contained in:
7
wp-content/themes/cyber/assets/js/custom.js
Normal file
7
wp-content/themes/cyber/assets/js/custom.js
Normal file
@@ -0,0 +1,7 @@
|
||||
jQuery(document).ready(function($) {
|
||||
$('.archive-year-toggle').on('click', function() {
|
||||
var monthsList = $(this).next('.archive-months');
|
||||
|
||||
monthsList.slideToggle();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user