This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Site Title</title> | |
<link rel="stylesheet" href="/assets/css/style.min.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* FILTER WIDGETS IN WP ADMIN | |
* assuming you already enqueued some of your js / css in WP admin ( customAdminCode() ) : | |
* include (or separately enqueue) this jQuery plugin - https://github.com/cheeaun/jquery.livefilter | |
* all code (php,js,css) is here, but you should separate it, off course ... ;) | |
*/ | |
function customAdminCode() { | |
wp_register_script('my-admin-js', get_template_directory_uri(). '/js/admin/admin.js'); |