Big role of facebook and twitter in egyptian revolution

Egyptian protesters thanking to facebook and youtube and twitter’s role in the revolution against the country’s ruling government.

Big role of facebook and twitter in egyptian revolution

Big role of facebook and twitter in egyptian revolution
Big role of facebook and twitter in egyptian revolution

Key Facebook page

An anti-Mubarak Facebook page started by Ghonim, a Google Inc. marketing manager in the Middle East, was credited with helping embolden millions of Egyptians to take to the streets to demand that Mubarak step down after three decades of authoritarian rule.

Even when the government made the unprecedented move to shut the country’s Internet connections with the outside world for several days, engineers from Twitter and Mountain View’s Google developed a “Speak-to-Tweet” service, giving people on the inside a way to send voice messages transmitted by Twitter.

Several memorable news photos showed handmade cardboard signs and wall paintings that read “Thank you, Facebook” in Arabic and English.

Facebook and Twitter executives need to remain circumspect with their public statements about Egypt as they “thread the needle” of international diplomacy.

One protest leader, Wael Ghonim, said he wanted to meet Facebook CEO Mark Zuckerberg and thank him.

“This revolution started online,” he said in an interview Friday on CNN. “This revolution started on Facebook.”

But as a company, Facebook Inc. – and to a similar extent Twitter Inc. – has taken great pains to appear neutral about the uprisings in Egypt and elsewhere in the Middle East because taking too much credit could leave the Palo Alto company open to blame or being shut off from other countries.

And that, experts say, would not help its long-term business prospects.

Future of PSD to WordPress Conversion

PSD is the design layout made in Photoshop, which needs to be converted as PSD files cannot be launch in any browser. In such scenario PSD to WordPress conversion gives a lot of advantages like easy to update, install and import. Code generated by WordPress is compliance with W3C standards.

Future of PSD to WordPress Conversion

W3C validation helps to check errors during the development phase. User registration feature of WordPress helps visitors to register themselves and can communicate to back end. Customization and integration of WordPress theme becoming most sought -after for web development.

Future of PSD to WordPress Conversion
Future of PSD to WordPress Conversion

Interestingly, more than 12 percent of the top million websites across the globe are using open source blog publishing WordPress CMS for creating great user experiences. With such a rapid growth, PSD to CSS/Wordpress conversion will be one the most sought-after forms of markup conversion service.

A WordPress empowered website is search engine friendly and helps in generating more traffic. One of the in-built features of WordPress is user registration. It allows users to register on website for further communication. Another feature provided by WordPress is password protection which helps users to keep their comments, feedback and transaction protected.

WordPress 3.0.5 with fixes of security functionality

WordPress 3.0.5 contains a better fix for the KSES security vulnerability we reported on back in December and which was fixed by WordPress 3.0.4 – but that’s far from the only upgrade contained in this release.

WordPress 3.0.5 with fixes of security functionality
WordPress 3.0.5 with fixes of security functionality

The latest update also includes fixes for two security flaws that allow sufficiently clued-up contributors or authors to increase their permission levels and gain access to content that they are not supposed to see. A fix for an information disclosure vulnerability that allowed authors to see private and draft posts from other users on the same installation is also included in WordPress 3.0.5.

Additional hardening has gone into this newest release, too: plugins that don’t correctly use the WordPress security API now have a harder time of breaking things should they go wrong – which could help limit the impact of badly-written or malicious plugins.

The last line refers, of course, to WordPress 3.1, the next major revision in the pipeline. With a release due imminently, the WordPress team is looking for people to test the latest release candidate for bugs. While WordPress 3.1 RC4 is close to the code that will make up the final release, it’s still a good idea not to try it in a production environment – but you can download the release candidate if you’re willing to risk it.
Read more: http://www.thinq.co.uk/2011/2/8/wordpress-305-plugs-more-security-holes/

how to add jquery in wordpress plugin

All web developers know about jquery. May be all of us know or heard about jquery. Jquery is javascript open source library. WordPress itself uses the jquery library for long time but many developers does not know about that.
Because When we develop new wordpress themes then we include the jquery files in that theme.

jquery tips for wordpress theme developers

jquery tips for wordpress theme developers
jquery tips for wordpress theme developers

In this tutorial I will give very simple and basic tips about using jquery in wordpress themes. Using jquery we will introduce very nice effect in our website. with jquery we can generate the more traffic to our website.

Jquery is very lightweight javascript framework. Many web developers developed developed the third party effects and code with jquery.
We can add the Jquery in wordpress theme with very minimal effect. wordpress is given the api for including the jquery in our wordpress theme.

Add Jquery in wordpress theme

For adding the jquery in wordpress you just need to use header.php or functions.php file and put following code in that file.
For header.php put following code in that file.

<!--?<span class="hiddenSpellError" pre="" data-mce-bogus="1"-->php wp_enqueue_script(‘jquery’); ?>

If you want to use the functions.php file for adding the jquery then use following code.

function insert_jquery()
{
wp_enqueue_script(‘jquery’);
}
add_filter(‘wp_head’,'insert_jquery’);

Above are the very simple and basic tips for adding the jquery in your wordpress theme.

This code will include the latest jquery file in your wordpress theme.

50 CSS Tequniqe and Tips every web developer should check

Many Developer want to do work in CSS. Web Developer has special value for CSS. Since CSS 2.0 and CSS 3.0 came many techniques and Tricks invented by Web developers. Here I am giving you some list of CSS Tips. You can found following links very useful and powerful for your website while developing your website.

50 CSS Tequniqe and Tips every web developer should check

50 CSS Tequniqe and Tips every web developer should check
50 CSS Tequniqe and Tips every web developer should check
  • Multiple Columns
  • Multiple Backgrounds
  • Creating A Realistic Looking Button With CSS3
  • 56. A Crash Course In Advanced CSS3 Effects

show pdf in wordpress blog or website

Many people want to show there pdf files in wordpress blog. PDF is really popular format for showing the document with graphics and text and design and graphs. Without loosing the quality of text and graphics if we need to show the content then PDF is really nice format.

pdf in wordpress

pdf in wordpress
pdf in wordpress

In business world for presentation purpose all people mostly use the PDF document. Some wp developers asked about showing the pdf in wordpress.

For without any issue if you want to show the PDF document then you need to just open functions.php file and put following code in that file.
Following code I written for creating the shortcode in wordpress

function pdflink($attr, $content) {
return '<a href="http://docs.google.com/viewer?url=' . $attr['href'] . '">'.$content.'</a>';
}
add_shortcode('pdf', 'pdflink');

For showing link of PDF file in article or post you need add the following lines in the article.

[pdf href=”http://yoursite.com/linktoyour/file.pdf”]View PDF[/pdf]

Note: Upload the PDF file to your wordpress and then get the path of PDF file and then put above lines in article.
Change the path as you required.
Above code will create pdf link for your pdf document in your site.

If you does not want to create PDF link in your site and you want to show the pdf doc in your site then use following code.

function pdfshow($attr, $content) {
return '<iframe src="http://docs.google.com/gview?url='.$attr['href'] .'&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>';
}
add_shortcode('pdfshow', 'pdfshow');

For showing the PDF file in article or post you need add the following lines in the article.

[pdfshow href=”http://yoursite.com/linktoyour/file.pdf”]View PDF[/pdf]

We are looking for pdf in wordpress post, wordpress pdf tutorial,  wordpress tutorial, wordpress documentation pdf, wordpress ebook pdf, wordpress book, wordpress ppt, wordpress tutorial for beginners this for wordpress. Here we can add the pdf support using my code in your wordpress sites.

Updating the wordpess to wordpress 3.0.4 is important

Today I got email from Matt saying wordpress 3.0.4 version is released and we must need to update the wordpress due the major security reasons. When I checked the following article I realized the how important is wordpress 3.0.4 version.

http://wordpress.org/news/2010/12/3-0-4-update/

What Matt is saying at the end of 2010

My last message to you this year is an important but unfortunate one: we’ve fixed a pretty critical vulnerability in WordPress’ core HTML sanitation library, and because this library is used lots of places it’s important that everyone update as soon as possible.

I realize an update during the holidays is no fun, but this one is worth putting down the eggnog for. In the spirit of the holidays, consider helping your friends as well.

You can update in your dashboard, on the “updates” tab, or download the latest WordPress here:

Download

wordpress 3.0.4
wordpress 3.0.4

What Major Changes wordpress did in this 3.0.4 version.

They resolved following issue:

Don’t be case sensitive to attribute names. Handle padded entities when checking for bad protocols. Normalize entities before checking for bad protocols in esc_url(). Props Mauro Gentile, duck_, miqrogroove

WordPress changes the following files.

  • wp-includes/formatting.php
  • wp-includes/kses.php

download wordpress logo font

Many wordpress theme developers need to download wordpress logo font or similar font. From following links you can download the wordpress font.

I found some fonts which are similar to wordpress logo font. On following URLs you will find the wordpress fonts.

http://www.myfonts.com/fonts/linotype/dante-mt/

http://www.fontyukle.com/listele.php?sayfa=7&harf=D

http://new.myfonts.com/fonts/emigre/mrs-eaves/

download wordpress logo font
download wordpress logo font
download wordpress logo font2
download wordpress logo font2

Using custom sql query in wp_query function

People asked me fetching data from wordpress database with simple database query. You can use get_results() method for custom sql query in wp_query function.

Using custom sql query in wp_query function

Is this facility provided by wordpress API. Yes, that is provided by wordpress api. You just need to use the get_results() method. Here I am going to give some example about using the custom sql query in wp_query method.

You need to define the gobal $wpdb variable that important in your code. here is working example for fetching the posts.


global $wpdb;

$querystr = "SELECT wp_posts.* FROM $wpdb->posts wp_posts, $wpdb->postmeta
WHERE wp_posts.post_status = 'publish' AND wp_posts.post_type = 'post'
ORDER BY wp_posts.post_date DESC LIMIT 10";
$pageposts = $wpdb->get_results($querystr, OBJECT);

For fetching the Admin or user information thorough query use following code. following code is useful for fetching the single record or row.


$querystr = "SELECT wp_users.* FROM $wpdb->users
WHERE wp_users.user_email = 'info@domain.com' ";
$userinfo = $wpdb->get_row($querystr);

For detail information you should use the following URL:

http://codex.wordpress.org/Function_Reference/wpdb_Class

Using custom sql query in wp_query function
Using custom sql query in wp_query function

How to set post first image as featured image automatically

So using or choosing the image as featured image for post is another manual work we need to do. Info about. how to set post first image as featured image. We have SQL query for this.

From wordpress 3.0 version wordpress launched the feature called featured image. Many new wordpress themes are compatible with new wordpress version. So using or choosing the image as featured image for post is another manual work we need to do.

Many old wordpress website holder or blogger is having issue with this functionality. What they want is when they create the post they haven’t set the featured image, but they would like the featured image to default to the image that has been included in the post.

Some wordpress always use the first image as featured image but old post was not updated with featured image. They need to do manual work to set the featured image. I also faced same issue.

After doing some R&D I found the solution. If you want to set the your posts first image as featured image then use my following code.

For using the code you need to open your mysql database command prompt or phpmysqladmin program and select your wordpress database and execute the following query in that.

insert into wp_postmeta (meta_value, meta_key, post_id) select DISTINCT(ID), post_type , post_parent from wp_psts where post_type= 'attachment' and post_parent !=0 and post_status='inherit';<br /><br />update wp_postmeta set meta_key = '_thumbnail_id' where meta_key='attachment'

Using above sql query you will be able to set the featured image to your old and new post from post content. If you are having any issues with using this sql then write to me.

How to set post first image as featured image automatically
How to set post first image as featured image automatically