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
/* | |
Theme Name: Squid | |
Theme URI: http://wordpress.org/ | |
Description: Squid Demo theme for WordPress. | |
Author: Mahesh | |
Author URI: http://wordpress.org/ | |
Version: 1.0 | |
Tags: white, two-columns | |
License: |
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
<html> | |
<head> | |
<title>Squid</title> | |
<meta charset="<?php bloginfo( 'charset' ); ?>" /> | |
<title><?php wp_title(); ?></title> | |
<link rel="profile" href="http://gmpg.org/xfn/11" /> | |
<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" /> | |
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> | |
<?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?> | |
<?php wp_head(); ?> |
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
#!/usr/bin/python | |
import shutil | |
import sys | |
import os | |
def getparent (content, line_nr): | |
for i in range (line_nr - 1, -1, -1): | |
if "{" in content[i].lstrip(): | |
return content[i].lstrip().split(" ")[0] |
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
<!-- BEGIN Open Graph tags --> | |
<!-- title & tpye --> | |
<b:if cond='data:blog.pageType == "index"'> | |
<meta content='blog' property='og:type'/> | |
<meta expr:content='data:blog.pageTitle' property='og:title'/> | |
<b:else/> | |
<meta content='article' property='og:type'/> |
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
<html> | |
<head> | |
<link rel="stylesheet" href="themes/mango.min.css" /> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile.structure-1.3.0.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script> | |
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
//Remove the Website Comment URL Field | |
add_filter('comment_form_default_fields', 'url_filtered'); | |
function url_filtered($fields) | |
{ | |
if(isset($fields['url'])) | |
unset($fields['url']); | |
return $fields; | |
} |
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 Mysql Database Query for fetching table result | |
<?php | |
/*Connects to your Database */ | |
mysql_connect("localhost", "root", "xxxx") or die(mysql_error()); | |
mysql_select_db("classifieds") or die(mysql_error()); | |
$data = mysql_query("SELECT * FROM property") | |
or die(mysql_error()); | |
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
// 1 Column CSS Layout HTML | |
<div id="container"> | |
<div id="header"> | |
<h1> | |
Site name | |
</h1> | |
</div> | |
<div id="navigation"> |
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
// 2 Column Fixed CSS Layout Width | |
<div id="head-container"> | |
<div id="header"> | |
<h1> | |
Site name | |
</h1> | |
</div> | |
</div> |
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> | |
<head> | |
<title>Pyrus</title> | |
<style type="text/css"> | |
@import url(http://fonts.googleapis.com/css?family=Open+Sans); | |
/*CSS RESET*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, font, img, ins, kbd, q, s, samp, |
OlderNewer