gMaps – Google maps jQuery plugin
A nice jQuery plugin worth trying.
A nice jQuery plugin worth trying.
Refer @ http://jonathanpolansky.com/2009/03/wordpress-comments-feed-returns-404-page-not-found/
jQuery(‘iframe’).each(function() {
var url = jQuery(this).attr(“src”)
jQuery(this).attr(“src”,url+”?wmode=transparent”)
});
WordPress plugin by GoDaddy that checks for the plugins slowing down the performance of the website.
Plugin URL: http://wordpress.org/extend/plugins/p3-profiler/
// Retrieve current URL
var url = document.URL;
// Retrieve root URL
var root = location.protocol + ‘//’ + location.host;
// Redirect – insert required URL
window.location.href = “http://designchemical.com/”;
//Highlight Current Menu Item
var url = document.URL;
$(‘#menu a[href="'+url+'"]‘).addClass(‘active’);
//Check If Link Contains External URL, open it in new tab
var root = location.protocol + ‘//’ + location.host;
$(‘a’).not(‘:contains(root)’).click(function(){
this.target = “_blank”;
});
Can also check the proper highlighted version at http://pastebin.com/x4A3hszn
Check out @ http://net.tutsplus.com/tutorials/html-css-techniques/the-30-css-selectors-you-must-memorize/
git init
To ignore the svn directory already present
————————————————————–
cat > .gitignore
.svn/
.gitignore
Staging the newly modified files
——————————————-
git add .
git status
if by mistake the svn files get added, don’t panic, to unstage all the staged files
—————————————————————————————————————–
git rm –cached -r .
git add .
Check again if it’s done
———————————-
git status
git commit -m “Importing Restaurant Madness Theme”
Check for existing shortname handles
——————————————————-
git remote
If none are present, create a new one
——————————————————
git remote add rm git@code.rtcamp.com:restaurant-madness.git
Check again now
————————-
git remote
git push rm master
remove the .gitignore file we created
—————————————————-
rm .gitignore
Check out @ http://webtips.in/2012/03/fullscreen-background-image-slideshow-with-css3.html
Check out @ http://pastebin.com/ij6xeeGT
For javascript substring reference: http://www.w3schools.com/jsref/jsref_substring.asp
The wrong approach to fetch the feed from a URL is we start with
$example_url = http://www.website.com
$feed = new simplePie($example_url);
This is a wrong practice to use simplePie directly in WordPress. Basically, it messes up with cache setup and cache lifetime. In some cases, it keeps throwing an error and we keep on googling for the solution. Instead using the above as:
$example_url = http://www.website.com
$feed = fetch_feed($example_url);
Even the fetch_feed() method also returns the SimplePie object. So everything that works out perfectly in this case.
Refer @ http://wordpress.stackexchange.com/questions/7775/combining-multiple-rss-feeds-using-fetch-feed
installed and checked it out… nice plugin! The stats are awesome…