how to add google connect to your wordpress site

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
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
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
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.

how to add tag cloud to wordpress theme

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.


the_tags( $before, $separator, $after );

<php the_tags();?>

Now comes interesting part,  adding a tag cloud to your sidebar or footer.

Using following code you can display the tag could but don’t put following code in any loop.


<!--?php wp_tag_cloud('smallest=8&largest=22'); ?-->

If you want to show tag cloud more interesting than use my code in your style.css file.


.tags{
 clear:both;
 background:#FAFAFA bottom;
 margin:10px 0 10px;
 padding:12px 10px 15px 10px;
 -moz-box-shadow:0 2px 2px rgba(0, 0, 0, 0.2);
 width:auto;
 margin-bottom:5px;
 width:304px;
 border:1px solid #cfdcc7;
}

.tags a:link,.entry a:visited {
 font-weight:normal;
 color:#356BB2;
}
.tags a:hover {
 background:#356BB2;
 color:#fff;
 font-weight:normal;
 text-decoration:none;
}

Your tag cloud will look like..as follows.

how to add tag cloud to wordpress theme
how to add tag cloud to wordpress theme

you can pass following param to tag_cloud function.


More help full function tag related as follows:

the_tags, tag_description, single_tag_title, wp_tag_cloud, wp_generate_tag_cloud, get_tags, get_the_tags, get_the_tag_list, get_tag_link

You can visit the pages and check the details.

10 best free portfolio wordpress themes

When I started the Blogging, First I started about Portfolio WordPress theme. I got so many wordpress themes but I was looking for only portfolio wordpress themes.

I found portfolio wordpress themes but that most of all are paid portfolio wordpress themes. we have a collection of best free portfolio wordpress themes.

free portfolio wordpress themes

I got very super classic portfolio wordpress themes but that most of all are paid wordpress themes.

Here in this article I am going to tell you about best portfolio wordpress themes.

You can use for your portfolio and for your website. All themes are free to download and you can view the demo also.

1. Fotofolio

best free portfolio wordpress themes
best free portfolio wordpress themes

Demo | Download

2. Modfolio

modfolio,free portfolio wordpress themes
free portfolio wordpress themes

Demo | Download

3. Portfolio

Portfolio

Demo | Download

4. Sharpfolio

sharpfolio

Demo | Download

5. Gallery

galleri

Demo | Download

6. Portfolio Press Theme

portfolio-press-theme

Demo | Download

7. Ascari

Professional Portfolio

Demo | Download

8. Professional Portfolio

wpzoom_professional_portfolio_wp_theme-450x337

Demo | Download

9. WP-Coda

wpcoda

Demo | Download

10. Linquist

linquist

Demo | Download

Have fun!

10 best free premium wordpress themes collection

I spent lot of time to checking the wordpress themes and checking how they really looking with webpage. I am also curious about wordpress theme functionality. I always looked for theme look simple, sober and professional. The handling of website should be easy. not so much complex for managing the website.

When ever we talk about wordpress premium themes, we thought that is paid but still there is many . Here is best of collection.

free premium wordpress themes

I always recommend, First see some good premium wordpress themes and then make your decisions.

Here in this article I am going to give some very unique and best but still free premium wordpress themes list.

1. BigMug

bizmag free premium wordpress themes
free premium wordpress themes

Demo | Download

2. Solostream – WP-Clear

solostream-wp-clear1

Demo | Download

3. WP_010

wp_010

Demo | Download

4. Cubit

themeforest-cubic-wordpress-theme

Demo | Download

5. Corpozine

Corpozine

Demo | Download

6. Grungemag

eleganthemes-grunge-mag

Demo | Download

7. Yestilo

Yestilo

Demo | Download

8. WPLaunch

WPlaunch-wordpress-theme

Demo | Download

9. Purple Fever

purple-fever

Demo | Download

10. Visionary

visionary

Demo | Download

free valentine heart wordpress theme for download

On the occasion on Valentine day  We are very happy to introduce the new valentine heart wordpress theme. This wordpress theme has two columns present in theme. Nice pink color is base color of theme.

You can Download the valentine heart theme free.

free valentine heart wordpress theme for download

Valentine Heart Theme

free valentine heart wordpress theme for download
free valentine heart wordpress theme for download

[viral-lock message=”Download and Demo Link 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.”]

Demo | Download

[/viral-lock]

 

You can able to see the preview of theme and download from above Link.

valentine heart wordpress theme launched
valentine heart wordpress theme launched

best free pink wordpress themes for download

Pink colour is favourite colour of women, Here in this article we collected, best free pink wordpress themes for download. We collected unique pink free wordpress themes.

Valentine’s Day is a traditional holiday celebrated on February 14. I specially love this day. This is special day in everybody’s life. In college valentine day is special day I ever seen. It is the best Day to express your love to your lovers by sending Valentine’s cards, presenting flowers, or offering confectionery

best free pink wordpress themes for download

1. Free Pink Valentine by wpcontempo

pink-valentines-wordpress-theme
best free pink wordpress themes for download

Demo | Download

2. Valentine by freewpthemes

valentine-freewpthemes

Demo | Download

3. Happy Valentino by wordpress2u

happy-valentino

Demo | Download

4. Valentine Theme by wpcube

valentine-theme-wpcube

Demo | Download

5. Xlover

xlover_m

Demo | Download

6. Pink White Valentine

pink-white-valentine_m

Demo | Download

7. Heart

heart_m

Demo | Download

8. All Season Pink

all-season-pink_m

Demo | Download

9. Pink Heart

screenshot

Demo | Download

How to customize read more for every wordpress post

So many clients had requirement about customize read more link for every post. Tutorial for, How to customize read more for every wordpress post.

So achieving this functionality in easiest way is following.

Just add following code in your functions.php file.


<?php
//The Query
query_posts('posts_per_page=1');

//The Loop
if ( have_posts() ) : while ( have_posts() ) : the_post();

global $post;
$thePostID = $post->ID;
$custom_read_more = get_post_meta($post->ID, 'custom_read_more', true);

if ($custom_read_more) {
add_post_meta($thePostID, 'custom_read_more', 'You need to read this article');  //custom read more value
}

endwhile;
endif;
?>
customize read more for every wordpress post
customize read more for every wordpress post

Now you are set to use the custom read more value for each post. You need to just copy paste the following code in your index.php and page.php and single.php file.

<?php $custom_read_more = get_post_meta($post->ID, 'custom_read_more', true); ?>

<?php if (!$custom_read_more) { $custommore = 'Read More &raquo;'; } ?>

<?php the_content($custom_read_more); ?>

wordpress get child pages of current page

Using following code you can able to display the subpages of parent page. Tutorial for wordpress get child pages of current page. We have given code sample in this article.

<?php $subpages = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0'); ?>

<?php if ($subpages) { ?>
<ul>
<?php echo $subpages; ?>
</ul>
<?php } ?>

Note: This code you need to copy paste in loop only.

Using following code you can able to display the subpages and subpages of that.

<?php
if($post->post_parent)
$subpages = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″);
else
$subpages = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
if ($subpages) { ?>
<ul>
<?php echo $subpages; ?>
</ul>
<?php } ?>

Using css you modify the UI of menu.

wordpress get child pages of current page
wordpress get child pages of current page

More details you can found on following page
http://codex.wordpress.org/Template_Tags/wp_list_pages

How to use Custom Page as Homepage in WordPress

wordpress tutorial, How to use Custom Page as Homepage in WordPress. Here we given full step by step explanation about using custom template.

This is one of the most wanted hacks that users want to know how to accomplish. First you need to learn how to create a custom page. You will need to duplicate your page.php or create a wordpress.php file and add the following code at the very top:

How to use Custom Page as Homepage in WordPress

wordpressapi */ ?>

How to use Custom Page as Homepage in WordPress
How to use Custom Page as Homepage in WordPress

You can change the template name. Change any styling, that you want in that page. Go to your WordPress admin panel and create a new page and select this template(wordpressapi).

custompagetemplate

Select your page to be the homepage as per your choice. Now you have yourself a Custom Home Page.

Have fun!

How to show Twitter Followers Count on wordpress widget

We all are having the twitter account. If we want to show Twitter Followers Count on wordpress widget then just use our code.

How to show Twitter Followers Count on wordpress widget

Open your sidebar.php file and just copy paste the following code.

First you would need to create a file twitter.php and paste the following code in there:


<?php

//This xml file will return the all user information about from twitter account
$xml=file_get_contents('http://twitter.com/users/show.xml?screen_name=wordpressapi');
if (preg_match('/followers_count>(.*)</',$xml,$match)!=0) {
$twitter_follower_count['count'] = $match[1];

// this will show the twitter followers count
echo $twitter_follower_count['count'];
?>

WordPressapi is my twitter username. So you can change it your username.