Visit about:config
Create a New Boolean and set to TRUE
browser.helperApps.deleteTempFileOnExit
<?php | |
/** | |
* Filter_tptn_viewed_count function. | |
* | |
* @param string $output Top 10 tracker script | |
* @return string Filtered tracker script | |
*/ | |
function filter_tptn_viewed_count( $output ) { | |
global $wp_query; |
.tptn_title { | |
float: left; | |
clear: left!important; | |
} | |
.tptn_thumb { | |
align: center!important; | |
} | |
.tptn_posts, | |
.tptn_posts_daily { | |
margin-bottom: 20px; |
<?php | |
/** | |
* Display the formatted list count. | |
* | |
* Add this code to your theme's functions.php file. | |
* | |
* @param $string $tptn_list_count Formatted list count | |
*/ | |
function tptn_display_formatted_count( $tptn_list_count, $sum_count, $result ) { |
<?php | |
/** | |
* Filter function to resize post thumbnail. Filters: crp_thumb_url. | |
* | |
* @since 1.8.4 | |
* | |
* @param string $postimage | |
* @param string|int $thumb_width | |
* @param string|int $thumb_height |
<?php | |
/* | |
* This example fetches the related posts for the current post ID and displays the output in a custom format restricted by the 'news' category | |
* | |
*/ | |
if ( function_exists( 'get_crp_posts_id' ) ) { | |
global $post; | |
$scores = get_crp_posts_id( array( | |
'postid' => $post->ID, |
<?php | |
/** | |
* Use external display of counter. | |
* | |
* @since 2.3.0 | |
* | |
* @param string $home_url | |
* @return string | |
*/ |
Visit about:config
Create a New Boolean and set to TRUE
browser.helperApps.deleteTempFileOnExit
svn log -r 1:HEAD --limit 1 http://plugins.svn.wordpress.org/top-10 | |
svn2git http://plugins.svn.wordpress.org/top-10 --revision 65307 --verbose --no-minimize-url | |
svn rm $( svn status | sed -e '/^!/!d' -e 's/^!//' ) | |
svn add --force * --auto-props --parents --depth infinity -q | |
.crp_related { | |
padding: 0; | |
} | |
.crp_related ul { | |
-webkit-column-gap: 10px; | |
-webkit-column-fill: auto; | |
-moz-column-gap: 10px; | |
-moz-column-fill: auto; | |
column-gap: 15px; |
<?php if function_exists( 'get_bsearch_heatmap' ) { | |
$args = array( | |
'daily' => FALSE, | |
'smallest' => '10', // Heatmap - Smallest Font Size | |
'largest' => '20', // Heatmap - Largest Font Size | |
'unit' => 'pt', // Heatmap - We'll use pt for font size | |
'cold' => 'ccc', // Heatmap - cold searches | |
'hot' => '000', // Heatmap - hot searches | |
'before' => '', // Heatmap - Display before each search term | |
'after' => ' ', // Heatmap - Display after each search term |