wordpress Year Shortcode
For the functions.php file:
function year_shortcode() {
$year = date('Y');
return $year;
}
add_shortcode('year', 'year_shortcode');
Usage
Use [year] in your posts.
Random Tutorials
#random-posts img{float:left;margin-right:10px;
width:65px;height:50px;background-color: #F5F5F5;padding: 3px;}
ul#random-posts {list-style-type: none;}
var rdp_numposts=5;
var rdp_snippet_length=150;
var rdp_info='yes';
var rdp_comment='Comments';
var rdp_disable='Comments Disabled';
var rdp_current=[];var rdp_total_posts=0;var rdp_current=new Array(rdp_numposts);function totalposts(json){rdp_total_posts=json.feed.openSearch$totalResults.$t}document.write('<script type=\"text/javascript\" src=\"/feeds/posts/default?alt=json-in-script&max-results=0&callback=totalposts\"><\/script>');function getvalue(){for(var i=0;i<rdp_numposts;i++){var found=false;var rndValue=get_random();for(var j=0;j<rdp_current.length;j++){if(rdp_current[j]==rndValue){found=true;break}};if(found){i--}else{rdp_current[i]=rndValue}}};function get_random(){var ranNum=1+Math.round(Math.random()*(rdp_total_posts-1));return ranNum};
function random_posts(json){for(var i=0;i<rdp_numposts;i++){var entry=json.feed.entry[i];var rdp_posttitle=entry.title.$t;if('content'in entry){var rdp_get_snippet=entry.content.$t}else{if('summary'in entry){var rdp_get_snippet=entry.summary.$t}else{var rdp_get_snippet="";}};rdp_get_snippet=rdp_get_snippet.replace(/<[^>]*>/g,"");if(rdp_get_snippet.length<rdp_snippet_length){var rdp_snippet=rdp_get_snippet}else{rdp_get_snippet=rdp_get_snippet.substring(0,rdp_snippet_length);var space=rdp_get_snippet.lastIndexOf(" ");rdp_snippet=rdp_get_snippet.substring(0,space)+"…";};for(var j=0;j<entry.link.length;j++){if('thr$total'in entry){var rdp_commentsNum=entry.thr$total.$t+' '+rdp_comment}else{rdp_commentsNum=rdp_disable};if(entry.link[j].rel=='alternate'){var rdp_posturl=entry.link[j].href;var rdp_postdate=entry.published.$t;if('media$thumbnail'in entry){var rdp_thumb=entry.media$thumbnail.url}else{rdp_thumb="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgge7xZAnALLMBKhE78BkvvzrHspqDSv3v9aYfKjXDljdu9LMiJlulyiZ1FQQ9rzh6B8wIvLQBYMg5X4MTF7S095ylOk8AZ9hyIz3zPtqgarvTZzxV61GcsoEURVxvJhDD15EKMUW4NwRA/s1600/no_thumb.png"}}};document.write('<li>');document.write('<img alt="'+rdp_posttitle+'" src="'+rdp_thumb+'"/>');document.write('<div><a href="'+rdp_posturl+'" rel="nofollow" title="'+rdp_snippet+'">'+rdp_posttitle+'</a></div>');if(rdp_info=='yes'){document.write('<span>'+rdp_postdate.substring(8,10)+'/'+rdp_postdate.substring(5,7)+'/'+rdp_postdate.substring(0,4)+' - '+rdp_commentsNum)+'</span>'}document.write('<div style="clear:both"></div></li>')}};getvalue();for(var i=0;i<rdp_numposts;i++){document.write('<script type=\"text/javascript\" src=\"/feeds/posts/default?alt=json-in-script&start-index='+rdp_current[i]+'&max-results=1&callback=random_posts\"><\/script>')};
Tutorial Scale on Hover with Webkit Transition02/03/2014 - 0 CommentsTutorial Remove Specific Value from Array09/03/2014 - 0 CommentsTutorial Cross Browser Opacity01/03/2014 - 0 CommentsHow to Keep Flash Behind Other Elements (flash background)28/02/2014 - 0 CommentsTutorial Glowing Blue Input Highlights01/03/2014 - 0 Comments
Categories
3D Inset
SEO
Tutorial
css
css3
htaccess
html
jquery
php
(adsbygoogle = window.adsbygoogle || []).push({});
Useful links
VietnamAnswer
PHP Programmers
Businessman Forum
Driver Firmware Download
Mobile Discuss
Popular Posts
adf.ly, lienscash.com, adfoc.us, bc.vc bypasser extension for Chrome
function detect Unicode UTF-8 string PHP
50 Beautifull Css3 Buttons
HTML5 Jquery tooltip
30 Best HTML5 3D Effect examples
Tutorial iPad Orientation CSS
Tutorial Keyframe Animation Syntax
Create a phpFox module
Preg Match All Links on a Page PHP
Tooltips In only CSS3 And HTML5, Without JavaScript
Tags
3d border
3D Inset
Ajax
animated button
beautifull css
blogspot
Brighten Up
button
css
css3
Desktop
hide
HP
htaccess
html
html5
javascript
jquery
mysql
php
phpfox
script
SEO
Shopping Cart
template
Tutorial
vps
wordpress
(adsbygoogle = window.adsbygoogle || []).push({});
Archives
▼
2015
(
5
)
▼
June
(
1
)
Jun 20
(
1
)
►
March
(
1
)
Mar 28
(
1
)
►
February
(
1
)
Feb 03
(
1
)
►
January
(
2
)
Jan 14
(
1
)
Jan 08
(
1
)
►
2014
(
620
)
►
December
(
1
)
Dec 08
(
1
)
►
November
(
2
)
Nov 26
(
1
)
Nov 18
(
1
)
►
August
(
12
)
Aug 17
(
1
)
Aug 16
(
4
)
Aug 15
(
1
)
Aug 11
(
3
)
Aug 10
(
2
)
Aug 01
(
1
)
►
July
(
3
)
Jul 31
(
1
)
Jul 21
(
2
)
►
June
(
1
)
Jun 01
(
1
)
►
May
(
3
)
May 19
(
1
)
May 05
(
2
)
►
April
(
15
)
Apr 14
(
3
)
Apr 10
(
1
)
Apr 09
(
1
)
Apr 06
(
4
)
Apr 04
(
4
)
Apr 02
(
2
)
►
March
(
523
)
Mar 29
(
1
)
Mar 25
(
2
)
Mar 22
(
3
)
Mar 16
(
10
)
Mar 15
(
15
)
Mar 11
(
40
)
Mar 10
(
20
)
Mar 09
(
52
)
Mar 08
(
46
)
Mar 07
(
47
)
Mar 06
(
48
)
Mar 05
(
45
)
Mar 04
(
47
)
Mar 03
(
50
)
Mar 02
(
49
)
Mar 01
(
48
)
►
February
(
60
)
Feb 28
(
48
)
Feb 27
(
11
)
Feb 26
(
1
)
Driver Firmware Collection
Driver360 provide links to download driver and firmware. - All driver and firmware you may find here you can download and install absolutely for free. - All driver files, firmware updates and manuals are the property of their respectful owners.If there is any question or get any trouble, drop us your comments.DRIVER 360
©
HOT CSS
•
Entries (RSS)
•
Comments (RSS)
E-commerce Expert
addthis.layers({
'theme' : 'transparent',
'share' : {
'position' : 'left',
'numPreferredServices' : 5,
"services":"facebook,twitter,ketnooi,more"
},
'whatsnext' : {},
'recommended' : {}
});
function detectmob() {
if(window.innerWidth <= 800 && window.innerHeight <= 600) {
return true;
} else {
return false;
}
}
$(document).ready(function(){
if( detectmob() ) {
if(window.location.href.indexOf("?")>0) window.location=window.location+"&m=1";
else window.location=window.location+"?m=1"
}
})
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49625410-3', 'hotcss.blogspot.com');
ga('send', 'pageview');
window['__wavt'] = 'AOuZoY40G5ISOBZ5DD-NT_t9FEWziyUCIg:1743365159363';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d4771519697269718024','//hotcss.blogspot.com/search/label/wordpress','4771519697269718024');
_WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '4771519697269718024', 'title': 'HOT CSS', 'url': 'https://hotcss.blogspot.com/search/label/wordpress', 'canonicalUrl': 'http://hotcss.blogspot.com/search/label/wordpress', 'homepageUrl': 'https://hotcss.blogspot.com/', 'searchUrl': 'https://hotcss.blogspot.com/search', 'canonicalHomepageUrl': 'http://hotcss.blogspot.com/', 'blogspotFaviconUrl': 'https://hotcss.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': 'UA-49625410-3', 'encoding': 'UTF-8', 'locale': 'en', 'localeUnderscoreDelimited': 'en', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22HOT CSS - Atom\x22 href\x3d\x22https://hotcss.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22HOT CSS - RSS\x22 href\x3d\x22https://hotcss.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22HOT CSS - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/4771519697269718024/posts/default\x22 /\x3e\n', 'meTag': '\x3clink rel\x3d\x22me\x22 href\x3d\x22https://www.blogger.com/profile/17533110034270796320\x22 /\x3e\n', 'adsenseClientId': 'ca-pub-1075771178000414', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': false, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/cbe0cd4e6298c445', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': 'Share to X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'index', 'searchLabel': 'wordpress', 'pageName': 'wordpress', 'pageTitle': 'HOT CSS: wordpress'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard!', 'ok': 'Ok', 'postLink': 'Post Link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': true}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'HOT CSS', 'description': 'Free Beautiful Css templates, Web designer tricks from expert', 'url': 'https://hotcss.blogspot.com/search/label/wordpress', 'type': 'feed', 'isSingleItem': false, 'isMultipleItems': true, 'isError': false, 'isPage': false, 'isPost': false, 'isHomepage': false, 'isArchive': false, 'isSearch': true, 'isLabelSearch': true, 'search': {'label': 'wordpress', 'resultsMessage': 'Showing posts with the label wordpress', 'resultsMessageHtml': 'Showing posts with the label \x3cspan class\x3d\x27search-label\x27\x3ewordpress\x3c/span\x3e'}}}]);
_WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_PageListView', new _WidgetInfo('PageList1', 'pages', document.getElementById('PageList1'), {'title': 'Pages', 'links': [{'isCurrentPage': false, 'href': 'https://hotcss.blogspot.com/', 'title': 'Home'}, {'isCurrentPage': false, 'href': 'http://hotcss.blogspot.com/search/label/Tutorial', 'title': 'Tutorial'}, {'isCurrentPage': false, 'href': 'http://hotcss.blogspot.com/search/label/css', 'title': 'Css'}, {'isCurrentPage': false, 'href': 'http://hotcss.blogspot.com/search/label/jquery', 'title': 'jQuery'}, {'isCurrentPage': false, 'href': 'http://hotcss.blogspot.com/search/label/seo', 'title': 'SEO'}, {'isCurrentPage': false, 'href': 'http://www.expertcustomize.com/services/128-opencart-custom-development-service', 'title': 'Opencart Expert'}, {'isCurrentPage': false, 'href': 'http://www.expertcustomize.com/services/woocommerce-custom-development', 'title': 'Woocommerce Expert'}, {'isCurrentPage': false, 'href': 'http://www.expertcustomize.com/services/wordpress-custom-development', 'title': 'Wordpress Expert'}, {'isCurrentPage': false, 'href': 'http://www.expertcustomize.com/services/joomla-custom-development', 'title': 'Joomla Expert'}], 'mobile': false, 'showPlaceholder': true, 'hasCurrentPage': false}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'navMessage': 'Showing posts with label \x3cb\x3ewordpress\x3c/b\x3e. \x3ca href\x3d\x22https://hotcss.blogspot.com/\x22\x3eShow all posts\x3c/a\x3e', 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/2223122975-lbx.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/1964470060-lightbox_bundle.css'}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML4', 'sidebar1', document.getElementById('HTML4'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_LabelView', new _WidgetInfo('Label4', 'sidebar1', document.getElementById('Label4'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'sidebar1', document.getElementById('HTML1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_LinkListView', new _WidgetInfo('LinkList1', 'sidebar1', document.getElementById('LinkList1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_PopularPostsView', new _WidgetInfo('PopularPosts1', 'sidebar1', document.getElementById('PopularPosts1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_LabelView', new _WidgetInfo('Label1', 'sidebar1', document.getElementById('Label1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML3', 'sidebar2', document.getElementById('HTML3'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar2', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'sidebar2', document.getElementById('HTML2'), {}, 'displayModeFull'));