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
| function wps_admin_bar() { | |
| global $wp_admin_bar; | |
| $wp_admin_bar->remove_menu('wp-logo'); | |
| $wp_admin_bar->remove_menu('about'); | |
| $wp_admin_bar->remove_menu('wporg'); | |
| $wp_admin_bar->remove_menu('documentation'); | |
| $wp_admin_bar->remove_menu('support-forums'); | |
| $wp_admin_bar->remove_menu('feedback'); | |
| $wp_admin_bar->remove_menu('view-site'); | |
| } |
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 | |
| /* | |
| Template Name: Print Processing Orders :) | |
| */ | |
| if (!is_user_logged_in() || !current_user_can('manage_options')) wp_die('This page is private.'); | |
| ?> | |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
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
| javascript:(function(){s1=document.createTextNode('.guidesOn::before { content:""; position:fixed; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxEAAAsRAX9kX5EAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjVJivzgAAAAyUlEQVRoQ%2B2abQqAIBBEPW1X6CzdqTv1RUFIipi2o72gPyXV7uybKci5wDZM8xI6dz%2Buvs6pP2Dq81GI2qiiiJkiOzQ97EGHTXUF9XUwYsaI2o1LjyqjpaYwiqDI2YFs2HtI9Wjx2Z0R%2B1ADdmB%2FC7taB0uzCSNqCqOImSIkeyW7xLXMZvqjdzJcS01hFEGRSnbe3miR7JVGgWRXcxkUQRFgj%2F8Y8htGtkJHL%2FvGaGtKd6bU9Z4C%2FCiEZDeCPahIa%2FbbDSNX433mVkIrV5rTnhDyAAAAAElFTkSuQmCC) 50% 0; z-index:1; top:0; right:0; bottom:0; left:0; opacity:.3; pointer-events:none; } * { -webkit-user-modify: read-write; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; } a { -webkit-user-modify: initial; }');s2=document.createTextNode('#a1_z { background-color: #fff; background-color: rgba(255,255,255,.8); float: left; position: fixed; z-index:2; padding: 3px; bo |
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
| if (preg_match("/(?<=\<title\>)(.+?)(?=\<\/title\>)/s", $web_data, $m)) { | |
| echo $m[1]; | |
| echo " - One"; | |
| } | |
| else{ | |
| echo "No match!"; | |
| } |
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
| preg_match("/(?<=\<title\>)(.+?)(?=\<\/title\>)/s", $web_data, $m) |
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
| function get_title($url) | |
| { | |
| $dom = new DOMDocument(); | |
| if($dom->loadHTMLFile($url)) { | |
| $list = @$dom->getElementsByTagName("title"); | |
| if ($list->length > 0) { | |
| return $list->item(0)->textContent; | |
| } |
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
| /*Some style goodness*/ | |
| .menu, .menu ul{ | |
| background-color: #eee; | |
| -moz-border-radius: 5px; /* FF1+ */ | |
| -webkit-border-radius: 5px; /* Saf3+, Chrome */ | |
| -khtml-border-radius: 5px; /* Konqueror */ | |
| border-radius: 5px; /* Standard. IE9 */ | |
| border:1px solid #ccc; | |
| } | |
| .menu li{ |
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
| $(document).ready(function() { | |
| $('.menu li').hover(function(){ | |
| $('ul',$(this)).stop(1,1).slideDown(); | |
| },function(){ | |
| $('ul',$(this)).stop(1,1).slideUp(); | |
| }) | |
| }); |
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
| /*Menu*/ | |
| .menu{ | |
| height: 30px; | |
| line-height: 30px; | |
| padding-left: 10px; | |
| } | |
| .menu li, .menu a{ | |
| float: left; | |
| display: inline; /*Avoid IE float bug*/ | |
| } |
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
| <ul class="menu"> | |
| <li class="first"> | |
| <a href="http://www.vnwebtalk.com">Home</a> | |
| </li> | |
| <li class="active"> | |
| <a href="http://www.vnwebtalk.com">About Us</a> | |
| </li> | |
| <li> | |
| <a href="http://www.vnwebtalk.com">Services</a> | |
| <ul> |