Home
Search
Search Keyword: Total 9 results found.
Tag: Wordpress Tips Ordering
How to create button tags in WordPress

How to create button tags links in WordPress

The first thing is how to find "the_tags" in your WordPress files?

 

How to add a Search box in WordPress template?

This is very simple article. This code will be helpful for theme developers and for those who like to add search to their WordPress blog template.

 

1. Open Your Wordpress installed folder and find file searchform.php. You can find it here: wp-content/themes/YourThemeName/. If searchform.php file exist, skip step 2 and go to step 3.

 

2. If You can't find searchform.php create new with this code:

 

How to include or exclude pages from header menu in Wordpress

How to include or exclude pages from header menu navigation bar in Wordpress

So, how to customize WordPress header navbar:

 

Adding too many pages to a WordPress blog that has a navigation bar in the header can really make your Wordpress blog a mess. There are options to control what pages are shown in the navigation bar and even a way to add external links.

 

Ok, open folder where WordPress installed: wp-content/themes/YourThemeName/ and open header.php. And find this code:

<ul id="nav"><li><a href="/<?php echo get_settings(‘home’); ?>">Home</a></li><?php wp_list_pages('title_li=&depth=2&sort_column=menu_order'); ?></ul>

 

A little added code can either include or exclude any page or pages but the first thing to do is find the page numbers of the pages you want to include or exclude. Log in to the admin, usually it place: http://www.YouSiteName.com/wp-admin/. Click on Pages -> Edit page. And look at the URL: 43 is Your page ID

How to add new sidebar in Your WordPress theme

Sometimes You need to use more then one sidebar, and in this article i'll show you how to create more sidebars in WP. I am assuming that you already know HTML and a bit of CSS.

Open folder wp-content/themes/YourThemeName/ If your theme has only one sidebar, then most probably you will NOT find a file called functions.php in your theme folder. In that case you will have to create this file yourself. Just open notepad or any other code editor to start a new file. Put this code into that file:<?phpif ( function_exists('register_sidebars') )register_sidebars(2);?> Save the file as functions.php and put it in your theme folder. This piece of code actually tells Wordpress to register two sidebars for you (See register_sidebars(2) in the code). If your theme has more than one sidebar or You use default WP theme, you will find the functions.php file already present in your theme folder. You just have to edit the number to your requirement and save the file. You can increase this number if you want more sidebars and if your theme's layout can accommodate it.
How to display Category (Blog) in Wordpress Pages?

How to display Category (Blog) in Wordpress Pages?

In my last project i have a menu with follow pages: Home, Services, Portfolio, Contact, Blog. And in Blog Page should display Categories. How to transform WordPress Pages to the Categories?

 

Log in to the WP admin:

Log in to the WP admin panel: http://YourSite.com/wp-admin/ Create new Page with name Blog:

How to create different image (style) header on different pages in WordPress?

In my last project, I needed to create unique header image for every pages: Home, Services, Portfolio, Contact, Blog.

So i fond Wordpress function: is_page().

How it works?

How to create rollover image menu in WordPress

How to create rollover image menu in WordPress, without any plugins?

Ok, first of all You need to create menu page links:

Log in to the WP admin panel: http://YourSite.com/wp-admin/ Click on Pages from left panel then Add New:
How to backup Wordpress site?

Lets talk about WordPress site backup. Do You need to backup Your site? Your WordPress database contains every post, every comment and every link you have on your pages or blog. If your database gets erased or corrupted, you stand to lose everything you have written. However, there are many other things which can go wrong with your WordPress website. There are many reasons why this could happen and not all are things you can control. But what you can do is back up your WordPress site data. After all, it is important. Right?

For customizing Front Page in WordPress You have three different ways: You can add home.php in Your  active Theme, add simple php code or add Front Page Plugin for WordPress. In this variants i'll use Default WordPress Theme You can find it in FTP: wp-content/themes/default/. Ok, let's consider this variants in detail:

© 2010. Sopov.com