This file contains 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 | |
/*** | |
* REGISTER CUSTOM POST | |
*/ | |
add_action( 'init', function(){ | |
register_post_type( 'android_apps', | |
array( | |
'labels' => array( | |
'name' => 'Apps', |
This file contains 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 ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); |
This file contains 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 for post excerpt | |
*/ | |
function excerpt($num) { | |
$limit = $num+1; | |
$excerpt = explode(' ', get_the_excerpt(), $limit); | |
array_pop($excerpt); | |
$excerpt = implode(" ",$excerpt)." <a href='" .get_permalink($post->ID) ." ' class='".readmore."'>Read More ››</a>"; | |
echo $excerpt; |
This file contains 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
/*global jQuery */ | |
/*jshint multistr:true browser:true */ | |
/*! | |
* FitVids 1.0.3 | |
* | |
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com | |
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ | |
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/ | |
* | |
* Date: Thu Sept 01 18:00:00 2011 -0500 |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
This is a WordPress eXtended RSS file generated by WordPress as an export of your site. | |
It contains information about your site's posts, pages, comments, categories, and other content. | |
You may use this file to transfer that content from one site to another. | |
This file is not intended to serve as a complete backup of your site. | |
To import this information into a WordPress site follow these steps: | |
1. Log in to that site as an administrator. | |
2. Go to Tools: Import in the WordPress admin panel. |
This file contains 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
Use options Tree as theme mood: | |
<?php | |
add_filter( 'ot_show_pages', '__return_false' ); | |
add_filter( 'ot_show_new_layout', '__return_false' ); | |
add_filter( 'ot_theme_mode', '__return_true' ); |
This file contains 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 $orig_post = $post; | |
global $post; | |
$categories = get_the_category($post->ID); | |
if($categories){ | |
$categori_id = array(); | |
foreach ($categories as $category) { |
This file contains 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
/* calendar widget */ | |
.widget_calendar {float: left;} | |
#wp-calendar {width: 100%; max-width: 100%;} | |
#wp-calendar caption { text-align: right; color: #333; font-size: 12px; margin-bottom: 15px; } | |
#wp-calendar thead { font-size: 10px; } | |
#wp-calendar thead th { padding-bottom: 10px; } | |
#wp-calendar tbody { color: #aaa; max-width: 100%;} | |
#wp-calendar tbody td a {color:#3d99ca;} | |
#wp-calendar tbody td { background: #f5f5f5; border: 1px solid #fff; text-align: center; padding:8px;} | |
#wp-calendar tbody td:hover { background: #fff; } |
This file contains 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
.comments-area { | |
margin-top: 3em; | |
} | |
.comments-area > h3 { | |
font-size: 18px; | |
} | |
#comments { | |
font-size: 16px; | |
color:#333; | |
} |
OlderNewer