Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   How to put a Search form and format it in a page (http://forum.bytesforall.com/showthread.php?t=7785)

Mikii Jun 26, 2010 03:51 AM

How to put a Search form and format it in a page
 
Hi.

I need to insert a search form in a page and I have a couple of questions.

1. The "standard"
PHP Code:

<?php include (TEMPLATEPATH '/searchform.php'); ?>

would not work. It gets scrambled upon saving the page.
Hover, this code works fine:
PHP Code:

<?php include ('wp-content/themes/atahualpa351/searchform.php'); ?>

2. I get a search input text field that is all the page wide. I know there is a way to personalise the way it looks (e.g. make it only 300 points wide, and so on) but I do not know how to do it....

PS I have tried several php executions plug-ins with the same results.

Thanks a lot!


All times are GMT -6. The time now is 10:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.