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
@echo off | |
setlocal | |
echo. | |
echo Determine whether we are on an 32 or 64 bit machine | |
echo. | |
if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto x86 | |
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 | |
/** | |
* Template Name: Custom Static Page | |
*/ | |
?> | |
<head> | |
<title>Amar Ilindra - Blogger | Entrepreneur | Dog Lover</title> | |
<meta name="description" content="Amar Ilindra is one of the finest blogger from India completed his Computer Science and Engineering. He loves to code under moonlight and pet his dog."/> | |
<meta name="robots" content="noodp"/> | |
<link rel="canonical" href="http://amarilindra.com/" /> |
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 | |
/* | |
* License: Copyright (c) 2008 Pawan Agrawal. All rights reserved. | |
* | |
* This code is part of commercial software and for your personal use | |
* only. You are not allowed to resell or distribute this script. | |
* | |
*/ | |
/** | |
* MBPNinjaAffiliate - MaxBlogPress Ninja Affiliate Class |
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
//widget area right before the comments section | |
add_action( 'genesis_before_comments', 'my_widget_area' ); | |
//Registering the widget area | |
genesis_register_sidebar( array( 'id' => 'after-post', 'name' => __( 'Before Comments ', 'geekdashboard' ), 'description' => __( 'Yoo This is the widget before Comments section.', 'geekdashboard' ), ) ); |
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
To show Only Last Modified Date: | |
Last Updated on [post_modified_date] By [post_author_posts_link] [post_comments] [post_edit] | |
To show both Published Date and Last Modified Dates: | |
Published on [post_date], Last Updated on [post_modified_date] by [post_author_posts_link] [post_comments] [post_edit] |
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
// Code for showing last updated date in Genesis Child Themes - (www.GeekDashboard.com) | |
add_filter( 'genesis_post_info', 'gd_post_last_modified_date' ); | |
function gd_post_last_modified_date($post_info) { | |
if ( !is_page() ) { | |
$post_info = 'Last Updated on [post_modified_date] by [post_author_posts_link] [post_comments] [post_edit]'; | |
return $post_info; | |
} | |
} |
NewerOlder