Articles for the 'Tutorials' Category


Change Default SearchBox in Firefox

Tags: Tutorials | Deepanshu | 1 Comment »

To change the default search engine box on the top-right corner of FireFox:

This is how you can change it:

in the address bar of FireFox, type: “about:config

In the box marked filter, type: “browser.search.defaultenginename

Double click the value field or right click and choose Modify that value, by in the name of the search engine you wish to have as the default search engine. It must be one that you already have installed and also make sure you type in the name correctly.

Now if you type in “Yahoo”, restart Firefox and when your browser comes back you will see “red Yahoo Logo” and Yahoo as your default search engine box.

Then save that by pressing “Ok”.

Rate this:
2.5
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 3.5 out of 5)
Loading ... Loading ...

Change Default Search Engine in Firefox

Tags: Tutorials | Deepanshu | 2 Comments »

Every browser like FireFox or IE does searches on a default search engine set some where in its configuration. Changing this default search engine is a little bit tricky, but not anymore. Deepak, my friend, installed a chat software from RediffBol which also changed the default search engine as Rediff Search but he now wants to change it back to Google [my fav].

This is how you can get it done:

in the address bar of FireFox, type: “about:config

In the box marked filter, type: “keyword.url

Double click the value field and modify that value, by pasting:

http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=

Then save that by pressing “Ok”.

Now, you can use your address bar just as google search bar. Go nuts, since now you can search by entering the search terms in the address bar and pressing enter. This way you never need to visit www.google.com again!!!

Rate this:
2.5
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5 out of 5)
Loading ... Loading ...

How to display Author info in Wordpress Single Post

Tags: Blogging, Tutorials | Deepanshu | No Comments »

If you view a single post of a blog, you will see the author information at the bottom. Here we will see that how we can display such author info in a wordpress blog. That info can be edited in the control panel under Users->Your Profile.

The author’s photo can also display the image using avtars:

<img src="<?php echo get_option('home'); ?>/wp-content/themes/mimbo2/images/<?php the_author_lastname(); ?>.jpg" alt="" />

The author’s name is called like this:

<?php the_author_posts_link('namefl'); ?>

The author’s bio is called like this:

<?php the_author_description(); ?>

The author’s email is called like this:

<a href="mailto:<?php the_author_email(); ?>" title="Email this author">Email this author</a>

That seems like a pretty good start for building your own template themes. Now it’s up to the client to hire some talented writers and hope for the best.

Rate this:
2.5
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5 out of 5)
Loading ... Loading ...

Showing category specific wordpress posts

Tags: Blogging, Internet, Tutorials | Deepanshu | No Comments »

Displaying category specific posts in a wordpress blog is easy. Inside theme folder the you will find “index.php” and “sidebar.php” templates, you have to put a query_posts functions which refer to specific category ID numbers from your database. Example:

<?php query_posts('showposts=1&cat=4'); ?>

You will need to change them to reflect the ID numbers in your own database. They can be found in your control panel under Manage->Categories.

idnumbers1.gif

Result will be the recent posts from the category no.4

Rate this:
2.5
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5 out of 5)
Loading ... Loading ...
Main Blog | Report Abuse
Create Your FREE Blog | Log in