how to use wordpress shortcode in text widget

wordpress tutorial, how to use wordpress shortcode in text widget. In your shortcode in your wordpress widget section you need to use only following code. From wordpress 2.5 version shortcode method is included in wordpress.

how to use wordpress shortcode in text widget

add_filter('widget_text','do_shortcode');
use wordpress shortcode in widget
use wordpress shortcode in widget

If you need the more information about using the wordpress short code then refer the following article
https://purabtech.in/use-the-wordpress-shortcode-api-in-wordpress-pages/

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

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

Use WordPress Update Services for better SEO

WordPress is having great setting for SEO purpose but many wordpress blogger did not know about that feature. WordPress has feature called update services. This service will ping when your blog is updated with new post or article.

Use WordPress Update Services for better SEO

This feature is very useful to reach the internet user faster than major search engine. WordPress provide the default http://rpc.pingomatic.com/ service to ping or update the content. Pingomatic is very power server for your wordpress blog.

Use WordPress Update Services for better SEO
Use WordPress Update Services for better SEO

For changing the Update services, Login to Admin panel. Go to Settings->Writing->Update Services section from using admin panel . When you see that text box you will only http://rpc.pingomatic.com/ link over there.

My advise to you is when you have good amount content in your blog or website then only use the multiple ping back services.

I used the following services in Update services option.

http://rpc.pingomatic.com/
http://rpc.technorati.com/rpc/ping
http://rpc.blogcatalog.com/
http://api.my.yahoo.com/RPC2
http://api.my.yahoo.com/rss/ping
http://ping.feedburner.com/
http://rpc.blogrolling.com/pinger/
http://blogsearch.google.com/ping/RPC2
http://api.feedster.com/ping
http://rpc.icerocket.com:10080
http://www.bloglines.com/ping
http://a2b.cc/setloc/bp.a2b
http://api.feedster.com/ping
http://api.moreover.com/ping
http://api.moreover.com/RPC2
http://api.my.yahoo.co.jp/RPC2
http://api.my.yahoo.com/ping
http://audiorpc.weblogs.com/RPC2
http://bitacoras.net/ping/

You can use the following ping back option as optional if you want.

http://blog.goo.ne.jp
http://blog.goo.ne.jp/XMLRPC
http://blogdb.jp
http://blogdb.jp/xmlrpc
http://blogdigger.com/RPC2
http://blogoole.com/ping/
http://blogoon.net/ping/
http://blogpeople.net/ping
http://blogsnow.com/ping
http://blogstreet.com/xrbin/xmlrpc.cgi
http://blogupdate.org/ping/
http://coreblog.org/ping/
http://effbot.org/rpc/ping.cgi
http://feedsky.com/api/RPC2
http://holycowdude.com/rpc/ping/
http://imblogs.net/ping/
http://lasermemory.com/lsrpc/
http://newsisfree.com/RPCCloud
http://packetmonster.net/xmlrpc.php
http://ping.amagle.com/
http://ping.bitacoras.com
http://ping.blo.gs/
http://ping.blogg.de/
http://ping.bloggers.jp/rpc/
http://ping.blogmura.jp/rpc/
http://ping.blogoon.net/
http://ping.blogs.yandex.ru/RPC2
http://ping.cocolog-nifty.com/xmlrpc
http://ping.exblog.jp/xmlrpc
http://ping.fakapster.com/rpc
http://ping.fc2.com/
http://ping.feeds.yahoo.com/RPC2/
http://ping.kutsulog.net/
http://ping.myblog.jp
http://ping.namaan.net/rpc
http://ping.rootblog.com/rpc.php
http://ping.snap.com/ping/RPC2
http://ping.syndic8.com/xmlrpc.php
http://ping.weblogalot.com/rpc.php
http://ping.weblogs.se/
http://ping.wordblog.de/
http://pinger.blogflux.com/rpc
http://pingoat.com/
http://pingoat.com/goat/RPC2
http://pingqueue.com/rpc/
http://popdex.com/addsite.php
http://r.hatena.ne.jp/rpc
http://rcs.datashed.net
http://rcs.datashed.net/RPC2/
http://rpc.blogbuzzmachine.com/RPC2
http://rpc.bloggerei.de/ping/
http://rpc.britblog.com/
http://rpc.newsgator.com/
http://rpc.reader.livedoor.com/ping
http://rpc.tailrank.com/feedburner/RPC2
http://rpc.technorati.jp/rpc/ping
http://rpc.twingly.com
http://rpc.weblogs.com/RPC2
http://rpc.wpkeys.com
http://services.newsgator.com/ngws/xmlrpcping.aspx
http://snipsnap.org/RPC2
http://syndic8.com/xmlrpc.php
http://thingamablog.sourceforge.net/ping.php
http://topicexchange.com
http://trackback.bakeinu.jp/bakeping.php
http://wasalive.com/ping/
http://weblogues.com/ping/
http://weblogues.com/RPC/
http://www.a2b.cc
http://www.a2b.cc/setloc/bp.a2b
http://www.bitacoles.net/ping.php
http://www.blogdigger.com/RPC2
http://www.blogoole.com/ping/
http://www.blogoon.net/ping/
http://www.blogpeople.net
http://www.blogroots.com
http://www.blogsdominicanos.com/ping/
http://www.blogshares.com/rpc.php
http://www.blogsnow.com/ping
http://www.blogstreet.com/xrbin/xmlrpc.cgi
http://www.catapings.com/ping.php
http://www.feedsky.com/api/RPC2
http://www.holycowdude.com/rpc/ping/
http://www.imblogs.net/ping/
http://www.lasermemory.com
http://www.mod-pubsub.org/ping.php
http://www.newsisfree.com/RPCCloud
http://www.newsisfree.com/xmlrpctest.php
http://www.popdex.com
http://www.popdex.com/addsite.php
http://www.snipsnap.org
http://www.snipsnap.org/RPC2
http://www.weblogues.com
http://www.weblogues.com/RPC/
http://www.xianguo.com/xmlrpc/ping.php
http://www.zhuaxia.com/rpc/server.php
http://xmlrpc.blogg.de
http://xping.pubsub.com/ping/
http://zhuaxia.com/rpc/server.php
http://zing.zingfast.com
http://blogsearch.google.ae/ping/RPC2
http://blogsearch.google.at/ping/RPC2
http://blogsearch.google.be/ping/RPC2
http://blogsearch.google.bg/ping/RPC2
http://blogsearch.google.ca/ping/RPC2
http://blogsearch.google.ch/ping/RPC2
http://blogsearch.google.cl/ping/RPC2
http://blogsearch.google.co.cr/ping/RPC2
http://blogsearch.google.co.hu/ping/RPC2
http://blogsearch.google.co.id/ping/RPC2
http://blogsearch.google.co.il/ping/RPC2
http://blogsearch.google.co.in/ping/RPC2
http://blogsearch.google.co.it/ping/RPC2
http://blogsearch.google.co.jp/ping/RPC2
http://blogsearch.google.co.ma/ping/RPC2
http://blogsearch.google.co.nz/ping/RPC2
http://blogsearch.google.co.th/ping/RPC2
http://blogsearch.google.co.uk/ping/RPC2
http://blogsearch.google.co.ve/ping/RPC2
http://blogsearch.google.co.za/ping/RPC2
http://blogsearch.google.com.ar/ping/RPC2
http://blogsearch.google.com.au/ping/RPC2
http://blogsearch.google.com.br/ping/RPC2
http://blogsearch.google.com.co/ping/RPC2
http://blogsearch.google.com.do/ping/RPC2
http://blogsearch.google.com.mx/ping/RPC2
http://blogsearch.google.com.my/ping/RPC2
http://blogsearch.google.com.pe/ping/RPC2
http://blogsearch.google.com.sa/ping/RPC2
http://blogsearch.google.com.sg/ping/RPC2
http://blogsearch.google.com.tr/ping/RPC2
http://blogsearch.google.com.tw/ping/RPC2
http://blogsearch.google.com.ua/ping/RPC2
http://blogsearch.google.com.uy/ping/RPC2
http://blogsearch.google.com.vn/ping/RPC2
http://blogsearch.google.de/ping/RPC2
http://blogsearch.google.es/ping/RPC2
http://blogsearch.google.fi/ping/RPC2
http://blogsearch.google.fr/ping/RPC2
http://blogsearch.google.gr/ping/RPC2
http://blogsearch.google.hr/ping/RPC2
http://blogsearch.google.ie/ping/RPC2
http://blogsearch.google.in/ping/RPC2
http://blogsearch.google.it/ping/RPC2
http://blogsearch.google.jp/ping/RPC2
http://blogsearch.google.lt/ping/RPC2
http://blogsearch.google.nl/ping/RPC2
http://blogsearch.google.pl/ping/RPC2
http://blogsearch.google.pt/ping/RPC2
http://blogsearch.google.ro/ping/RPC2
http://blogsearch.google.ru/ping/RPC2
http://blogsearch.google.se/ping/RPC2
http://blogsearch.google.sk/ping/RPC2
http://blogsearch.google.tw/ping/RPC2
http://blogsearch.google.us/ping/RPC2

Above services will submit your site content to major content ping back service. That will boost your site SEO and visitors of your site. After using above ping back urls your site content will be available to users throughout internet faster than google.

Use WordPress Update Services for better SEO
Use WordPress Update Services for better SEO

How to use bloginfo in wordpress theme

For each wordpress theme developer the bloginfo() function is very useful. If you are not used the bloginfo function then use the bloginfo function. There is great help is provided wordpress api. In every wordpress theme we need to use the bloginfo method. bloginfo() function is useful. If you not used bloginfo function than use bloginfo function. Every theme we need to use bloginfo in wordpress theme.

How to use bloginfo in wordpress theme

How to use bloginfo in wordpress theme
How to use bloginfo in wordpress theme

Displays information about your blog, mostly gathered from the information you supply in your User Profile and General Options from the WordPress Administration panel.

Following parameter is passed in this method.


name = TestWpapi
description = Just another WordPress blog
admin_email = admin@example

url = http://example/home
wpurl = http://example/home/wp

stylesheet_directory = http://example/home/wp/wp-content/themes/child-theme
stylesheet_url = http://example/home/wp/wp-content/themes/child-theme/style.css
template_directory = http://example/home/wp/wp-content/themes/parent-theme
template_url = http://example/home/wp/wp-content/themes/parent-theme

atom_url = http://example/home/feed/atom
rss2_url = http://example/home/feed
rss_url = http://example/home/feed/rss
pingback_url = http://example/home/wp/xmlrpc.php
rdf_url = http://example/home/feed/rdf

comments_atom_url = http://example/home/comments/feed/atom
comments_rss2_url = http://example/home/comments/feed

charset = UTF-8
html_type = text/html
language = en-US
text_direction = ltr
version = 2.9.2

following is examples for using the bloginfo() method.

//Show Blog Description

//Show Blog Title

//ading the style.css
//ping back url
//for content type

How to use the bloginfo() function in wordpress theme
How to use the bloginfo() function in wordpress theme

Import wordpress attachment without download images

Everybody knows how to use the wordpress import and export functionality. When you don’t want to download the wordpress post attachment (images, files) then you should follow my steps. Using following steps you are able to import all the attachment data without downloading the images.

Import wordpress attachment without download images

First Open your old wordpress installation and then go to wordpress panel. Then open your phpmyadmin of old wordpress installation and run following query.

update `wp_posts` set `post_type`='image' where `post_type`='attachment';
Import wordpress attachment without download images
Import wordpress attachment without download images

This query will create the image post type and attachments will become like post type. Then use the wordpress export and download exported xml.

 

Then open your new wordpress admin and click on import button and import the whole xml file.

You will see the you selected the download and import file attachments option but files are not downloaded.

Then through ftp client transfer all your image and files to new installation. Then open phpmyadmin of new wordpress panel and use following command.


update `wp_posts` set `post_type`='attachment' where `post_type`=image';

Now you are able to see the images in new wordpress panel and website.

Import wordpress attachment without download images
Import wordpress attachment without download images

free 40+ professional three column wordpress themes

people are searching 3 column themes. I found professional three column wordpress themes and I made a very nice and unique list of wordpress themes.

professional three column wordpress themes

Many people are sometimes searching for 3 column wordpress themes. I found professional 3 columns worpdress themes and I made a very nice list of wordpress themes. In this post you can view demo and for download theme you’ve to click on image of theme. So enjoy them and don’t forget to share! Thanks.

1. Pure Magazine

[ Demo ]

professional three column wordpress themes
professional three column wordpress themes

2. Bright-White

[ Demo ]

3. Blue News

[ Demo ]

4. Aristo

[ Demo ]

5. WP Premium

[ Demo ]

6. Freshblog

[ Demo ]

7. Fervens

[ Demo ]

8. Fantomalist

[ Demo ]

9. DailyPress

[ Demo ]

10. Carrington

[ Demo ]

11. Worn Wall

[ Demo ]

12. Work-a-holic

[ Demo ]

13. Unwind

[ Demo ]

14. Un.complicated

[ Demo ]

15. The Standard

[ Demo ]

16. The Morning After

[ Demo ]

17. Neoblue

[ Demo ]

18. Mercury

[ Demo ]

19. Magloss V2

[ Demo ]

20. Liliya

[ Demo ]

21. Grid Focus

[ Demo ]

22. The Daily Grind

[ Demo ]

23. Smooth

[ Demo ]

24. Shaken Grid

[ Demo ]

25. PixDesign Silver

[ Demo ]

26. Oxygenous

[ Demo ]

27. Mainam Vintage

[ Demo ]

28. Irresistible

[ Demo ]

29. Grass Roots

[ Demo ]

30. FREEmium

[ Demo ]

31. EcoNox

[ Demo ]

32. Demet

[ Demo ]

33. BlueBubble

[ Demo ]

34. Atlantis

[ Demo ]

35. Artwork

[ Demo ]

36. Welding

[ Demo ]

37. Solio

[ Demo ]

38. Simple Magazine Red

[ Demo ]

39. Riviera Magazine

[ Demo ]

40. Rewire Theme

[ Demo ]

41. Red Light Physics

[ Demo ]

42. Woodtastic

[ Demo ]

43. Simple Balance 2.0

[ Demo ]

44. Dilectio

[ Demo ]

Media Library not displaying images after importing posts

Earlier I have blog in wordpressmu  then after wordpress 3.0 version I decided to migrate to new version. I exported my all posts by using the wordpress  export tool. Then I imported data into new wordpress installation. I got all my posts and category and all the data. Then I checked all my attachments.

Then I saw my media library I saw all the images listing are there but images are not showing in media library. Media Library not displaying images after importing posts. I personally faced issue and got frustrated. then I solved issue myself using mysql query trick.

Media Library not displaying images after importing posts

Media Library not displaying images after importing posts
Media Library not displaying images after importing posts

When I checked my database I saw the all the my attachments are listed in post table but images are not displaying. All the places I only saw the wp-includes/images/crystal/default.png image.

I did spend one hour googled for solving the issue but I did not find any solution for this. Than again I checked my Folder permissions and images files but I found all things are perfect.
Then I checked my database and I found the issue. in wp_posts table ->post_mime_type column one entry was missing. After seeing that issue I fixed the issue.

I used the following mysql quires using myphpadmin tool.

[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.”]

Update wp_posts set post_mime_type='image/jpg' WHERE guid like '%jpg%'
Update wp_posts set post_mime_type='image/jepg' WHERE guid like '%jepg%'
Update wp_posts set post_mime_type='image/png' WHERE guid like '%png%'
Update wp_posts set post_mime_type='image/gif' WHERE guid like '%gif%'

[/viral-lock]

After using above query I checked the my media library. I am able to see my all images in media library.

My advise to you is first take backup of your database and then use above mysql quires. Then use the above queries.

If you are imported post from other website then use following commands also.


UPDATE wp_posts SET post_content = REPLACE(post_content, 'NEW-DOMAIN-NAME', 'files/');

UPDATE wp_posts SET post_excerpt = REPLACE(post_excerpt, 'NEW-DOMAIN-NAME', 'OLD-DOMAIN-NAME');

UPDATE wp_posts SET guid = REPLACE(guid, 'NEW-DOMAIN-NAME', 'OLD-DOMAIN-NAME');

Above quires will change the domain location of file.

WordPress 3.0.3 released with Fixes issues

Some time before on 8th December WordPress released the New version which is 3.0.3. What wordpress is saying about this release.

WordPress 3.0.3 released with Fixes issues in the XML-RPC remote publishing interface

Wordpress 3.0.3 released with Fixes issues
WordPress 3.0.3 released with Fixes issues

This release fixes issues in the remote publishing interface, which under certain circumstances allowed Author- and Contributor-level users to improperly edit, publish, or delete posts.

These issues only affect sites that have remote publishing enabled.

Remote publishing is disabled by default, but you may have enabled it to use a remote publishing client such as one of the WordPress mobile apps. You can check these settings on the “Settings → Writing” screen.

With this release they Improved the capabilites checking in the XMLRPC code. They modified the following files.

wp-includes/version.php
xmlrpc.php
readme.html
wp-admin/includes/update-core.php

Enjoy the wordpress 3.0.3 version.

how to generate Facebook fan code

Many people want to add the facebook fan code and like button in your website for fb page. we given information about how to generate Facebook fan code.

how to generate Facebook fan code

For generating the facebook fan code just go to following URL:

http://developers.facebook.com/docs/reference/plugins/like-box

Just put your facebook page url in URL section. specify the width of widget and color scheme. then uncheck the show header and show stream checkbox.

how to generate Facebook fan code
how to generate Facebook fan code

If you want to show the connected photos then put value in connections textbox. But I recommend to use the zero value in that because that will slowdown your website. Then click on get code button. Then you will see the facbook in page popup. As per my suggestion use the iframe tag. Do not use the javascript tag for your website.

That will again for your website performance related. As much script tag you include in your website that much slowness will happen to your website.

Then use the iframe tag code in your website.

If you are using the wordpress then just use the text widget for showing your facebook fan widget.

If you are having any issues or questions about adding the facbook fan code in your website then please write to me.

 

how to generate Facebook fan code
how to generate Facebook fan code