Category Archives: Wordpress

Where is “get_search_form” for WordPress 3.1.2?

I found it! I was having trouble finding where the get_search_form function is for WordPress 3.1.2. On a few sites, I heard many people having trouble finding this function, so I thought I should post where it is for WordPress 3.1.2. The location is in the “wp-includes” folder. The function is located in “general-template.php,” at line 151.

Location :
www > wp-includes > general-template.php

I was looking for the function for a WordPress website that I’m making. I’m not a fan of the old classic search button and wanted to use my own custom search button instead, and in order to do that, you need to find where the form tag is being created.


2 Column Custom WordPress Website

One of things I’ve wanted to try is making my own custom WordPress theme. I thought it was be difficult to do. Making your own custom WordPress website is actually not too hard. It would only be hard if you have no experience in PHP, HTML, and CSS. The most difficult thing I had to overcome was figuring out how to make a 2 column website and allowing the content in both columns to be changed easily with the WordPress content management system. I knew how to make a 2 column website, obviously, if you saw my website, but making it edible for someone that has no coding experience at all, was the tough part.

Below are some of the things I wanted to accomplish for this test:

  • 2 Columns
  • Change content in both columns from CMS (content management system)
  • Add internal search engine
  • Add a new design
  • Customize search button

The test was a success, for the most part. I wanted to move the internal search engine to the right more. If I spent more time on the test, I probably would have figured it out, but since this was a test, I can live with the result. I was happy that I was able to add the internal search engine and have it working. Being able to add and get that internal search engine working, has gotten me thinking about using WordPress as another alternative to building websites.

 

Making Your Own Theme

First, you want to install WAMP or LAMP. Then you want to download WordPress from WordPress.org. Thirdly, you want to decompress the files and upload it to the www folder in your WAMP/LAMP folder. The fourth step is to start WAMP/LAMP. The next step is to start WAMP/LAMP and then open a browser. The sixth step is to go to this address, “http://localhost/wp-admin/.” The seventh step is to follow the installation steps. Once you have it installed copy the default theme and rename the folder something different. The ninth step is to login as ‘Admin’ and select the theme that you just created. The tenth step is to go into the files and modify the site the way you want. If you wanted to start completely from scratch, you would go into the theme that you created and rename the index.php and page.php. Then, make your own index.php and code the page yourself.

Before

Before customizing my own theme
 

After

Customizing my own wordpress theme


Follow

Get every new post delivered to your Inbox.