Few minutes back we just launched the Yahoo Buzz wordpress plugin. We developed the Yahoo buzz button plugin for social networking purpose. This plugin is free to download. Yahoo Buzz plugin will give you the power to connect with yahoo buzz to your wordpress blog or website.
Yahoo Buzz wordpress plugin
The yahoo Buzz will easily allows to add the yahoo buzz button your blog to be shared. this will give the admin control to where to show the yahoo buzz button in the post. This plugin has facility to choose where to show the button.
This plugin will give more control to edit and customize the CSS as per your choice for yahoo buzz button to show. This button will show the count of yahoo buzz did by the users.
Yahoo button will share your wordpress articles into yahoo buzz and this will give you more traffic to your wordpress blog. This is very SEO friendly wordpress plugin. You must add this plugin to your wordpress blog. This yahoo buzz button will give very cool look to your site also.
As we know now Yahoo is second number search engine in the world. So adding this buzz button will be helpful to become your wordpress website more socialite.
See some cool screen shots of Yahoo buzz plugin.
Admin panel Screen Shot.
Front End screen Shot
You can freely download the Yahoo Buzz wordpress from here : Yahoo Buzz
The Official Yahoo Buzz WordPress plugin URL is as follows:
Many people want to know about post category and know more information current category. Some time we need to use the first category of wordpress post. As we know we can define the multiple category to single article. So if we want retrive the wordpress category then we will get the result in simple php array format. Using that array we can easily extract the first category of post.
if we want first category than, we will get result in php array format. Using that array we can easily get first category name or id from wordpress post.
How to get first category name or id from wordpress post
In this post I will show how we can achieve that. Using following code we can get the first category ID.
In this article we will show to attach event to DOM element and add event to all image elements using javascript. Using javascript we can attach the event to any dom element.
add event to all image elements using javascript
You many times heard about getElementsByTagName javascript method but you did not tried.
getElementsByTagName function is very useful when you are working with javascript events. Using this function you can attach the event to any tag which is present in HTML body.
Here I am going to give the image example. Following script will attach the mouseover event to all images which are present in DOM.
var all_images = document.getElementsByTagName('img');
for (var i = 0; i < all_images.length; i++) {
addEvent(all_images[i], 'mouseover', myfunction, false);
}
function myfunction () {
alert('this is image mouse over alert');
}
/**
* cross-browser event handling for IE5+, NS6 and Mozilla
* By Scott Andrew
*/
//This addEvent function we are using for external class use
this.addEvent = function(elm, evType, fn, useCapture) {
if (elm.addEventListener) { // Mozilla, Netscape, Firefox
elm.addEventListener(evType, fn, useCapture);
return true;
} else if (elm.attachEvent) { // IE5 +
var r = elm.attachEvent('on' + evType, fn);
return r;
} else {
elm['on' + evType] = fn;
}
}
</script>
add event to all image elements using javascript
If you copy paste the following code in your document and If you mouseover on any image then alert with message will come.
This script will work in any browsers. (IE 6,7,8, FF3,2, Safari3,4)
last week google launched the google buzz to challenge the twitter. Google buzz got really huge amount of response. Now they did some modification in application so that will be easy to disable the unwanted google buzz.
How you can disable Google Buzz
Google’s engineers made some quick changes as a result of the backlash, including a security flaw affecting mobile Buzz users, a setup process that has you manually accepting followers, and an easier way to disable Buzz
You can disable the google buzz following these steps.
1. login to your gmail account first.
2. Click on setting button (right top side)
3. choose buzz option and choose your settings as per your choice.
How you can disable Google Buzz
Using following setting google really saving the people privacy.
Many people want to add google connect to your wordpress site. But they don’t know how to achieve that. In this article I am going to show you the step about adding the google connect to your site.
how to add google connect to your wordpress site
Google friend connect is the best feature to add in your site and increase your blog visits.
First go following URL:
http://www.google.com/friendconnect/home/
login to google friend connect.
how to add google connect to your wordpress site
Click on get started button and login with your gmail account.
Then click on ‘Set Up A New Site’ button.
Fill your website URL and information in form and click on next button.
After that you will get the congratulation window.
how to add google connect to your wordpress site
Then you will get the configuration page for google connect and you should choose colors and text color settings as per your website. Dont forget to choose or set the width of widget.
Finally click on “generate code” button and you will get the google connect code for your wordpress website.
how to add google connect to your wordpress site
Note: This javascript code will never run in test machine. If you want to see the google connect widget then put javascript code in production or live website.
Last year in Feb I heard about JSONP and really liked the JSONP solutions. JSONP allows you to make an HTTP request outside your own domain
JSONP consume the Web Services from JavaScript code. Earlier I worked on so on AJAX but there is issue with working or communication issue with cross domain sites.
JSONP for cross domain communication solution using with javascript and PHP
XMLHttpRequest is blocked from making external requests.
JSONP for cross domain communication solution using with javascript and PHP
JavaScript code to make a JSONP call will as follows:
[viral-lock message=”Solution code is Hidden! It’s Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.”]
function common_jsonpRequest(url, name, query) {
if (url.indexOf("?") > -1)
url += "&jsonp="
else
url += name + "&";
if (query)
url += encodeURIComponent(query) + "&";
url += new Date().getTime().toString(); // prevent caching
var JSONPscript = document.createElement("script");
JSONPscript.id = 'wordpressapi_jsonpRequest';
JSONPscript.setAttribute("src", url + "&CacheBuster=" + Math.random());
JSONPscript.setAttribute("type","text/javascript");
// write the jsonp script tag
document.body.appendChild(JSONPscript);
//script.text = "";
}
function returncall (data){
alert(data);
// you can use data as a variable also.
}
[/viral-lock]
In same javascript you should write the returning function as above.
In this tutorial we given code sample for create and read the xml using php. we given explanation and there details
What is XML?
Extensible Markup Language (XML) is described as both a markup language. Now it is known as data storage format also
How to create and read the xml using php
XML is very important in in today’s application development environment.
If you’ve never before worked with XML in PHP or have not yet made the jump to PHP5, this starter guide to working with new functionality available in PHP5 for XML.
Using following code you are able to create simple xml file.
<?php
//Creates XML string and XML document using the DOM
$dom = new DomDocument('1.0');
//add root - <books>
$books = $dom->appendChild($dom->createElement('books'));
//add <book> element to <books>
$book = $books->appendChild($dom->createElement('book'));
//add <title> element to <book>
$title = $book->appendChild($dom->createElement('title'));
//add <title> text node element to <title>
$title->appendChild(
$dom->createTextNode('Wordpressapi Magazine'));
//generate xml
$dom->formatOutput = true; // set the formatOutput attribute of
// domDocument to true
// save XML as string or file
$test1 = $dom->saveXML(); // put string in test1
$dom->save('wordpressapi1.xml'); // save as file
?>
$xmlFileData = file_get_contents(“wordpressapi1.xml”);
// Here's our Simple XML parser!
$xmlData = new SimpleXMLElement($xmlFileData);
// output will be shown in array format
print_r($xmlData);
WordPress tags and tag cloud is important part in wordpress theme. Here in article given code to add tag cloud to wordpress theme. Tag cloud good for SEO.
I will give so much credit to tags and tag cloud because SEO prospective tag are important.
how to add tag cloud to wordpress theme
What is a tags and Tag cloud?
This is the process of adding keywords which link directly to a site that monitors and allows search of key tags to find information on websites and blogs.
Tag cloud are also same but that will attract the users and give more information about topics which write in your blog. Keep this in mind tag are really important for SEO.
In this article I will show how to create the beautiful tag using wordpress api.
In your template you will found the single.php and page.php or index.php files in that file, You are already using some loop for fetching the posts. In that loop just put following code for displaying the tags.
As we know the wordpress is best featured CMS and growing very fast. Thousands sites are building wordpress daily. When it comes to which wordpress CMS we need to use then You should think about following points. Points about wordpress vs wordpressmu
wordpress vs wordpressmu
I am WordPressMU fan frankly speaking but that comes after words. When you are choosing wordpress client in senorio you should better understand the requirement and future plans of client.
In this article I am going to talk about some good features of both (wordpress and wordpressMU). We should also discuss about when to choose wordpress and when to choose wordpressmu.
——————————x———————x———————————–x—————
Use WordPress When following criteria is fitting with your client.
wordpress vs wordpressmu
1. When client want create website in very less time
2. There are only few admin are going to handle the site
3. There is not so much huge amount of data to listed on website
4. Client is no huge future plans about website
5. If client want so much free plugins or many features.
6. Client has less knowledge about handling CMS
7. For single small firms and business like (lawyer, Doctor, real estate agents, builders, witter, advertiser, engineers, professionals). In this situation wordpress is best suitable.
8. For small sites and wordpress will give the best performance.
9. SEO purpose wordpress is the best tool.
10. You will get so many free plugins and tools for wordpress
11. You will easily get the so much help and documentation
12. wordpress will always get first update from wordpress compnay
13. Performance – WordPress gives the is best in performance. But you should think about data size.
————————x———————————x—————————x——————————–
Use WordPressMU When following criteria is fitting with your client.
wordpress vs wordpressmu
1. When Client has big future plans with the website
2. There is enough time develop the site
3. If client is agree to develop custom solutions
4. If client is taking interest and he is having some knowledge about CMS
5. They are so many authors going to write and mange the website
6. There is very huge data need to be insert in website
7. For Big firms and business like (Magazine, Publication house, book writters, groups, social community, Big manufactures, big offices…etc). In this situation wordpressmu is the best solution.
8. For bigger sites I would recommend use wordpressMU
9. SEO purpose wordpressmu is also good but you need to do some customization in code.
10. For wordpressmu there are always few plugins and tool. (No plugins like wordpress)
11. You will get documentation and help but limited becasue not so many developers working on WordPressMU
12. WordPressMU always wait for update from wordpress company
13. Performance – WordPressMU gives best in performance in any condition.
But still I say I love WordPressMU and I think in future automatic will merge wordpress with wordpressMU.
CSS tutorial, Advanced rounded corner with only css. I got so many scripts which had solution with javascripts and some are given solutions with images.
In one of my project I got requirement about half rounded corner in header and footer.
Advanced rounded corner with only css
But I want customize every thing like color of rounded corner header background, footer background and border also.
I did so much R&D about same but did not found any solution.
So I tried to code myself in CSS and I got succeed in that.
In this article I am going to share the code with you.