Activity Stream
48,167 MEMBERS
61173 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6
  1.     
    #1
    Member
    Website's:
    PlaySongs.me

    Smile Search on wordpress ?

    Hey guys ,
    i'm using wordpress theme which is pretty weird
    when you search for something and there is no results it shows blank page
    instead of saying no posts found , example :


    site is : nightmarez.org if u wanted to check .

    i tried to make 404 page , but it didn't help .
    NightMare Reviewed by NightMare on . Search on wordpress ? Hey guys , i'm using wordpress theme which is pretty weird when you search for something and there is no results it shows blank page instead of saying no posts found , example : http://pokit.org/get/072fe4888041d10823f12fed6642a259.jpg site is : nightmarez.org if u wanted to check . i tried to make 404 page , but it didn't help . Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    bypassx.com
    Thats because your skin isn?t coded correctly
    The problem should be search.php

    Code: 
    <?php get_header(); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php endwhile; ?>
    <?php else : ?>
            <h2>Not Found</h2>
    <?php endif; ?>
    <?php get_footer(); ?>
    *I coded it fast by hand... so perhaps exists errors, but with a similar php code you can get what you want, the important part is the "else" conditional

  4.     
    #3
    Member
    Website's:
    SourceParadise.com MobileMaster.org
    Try the some original theme from WP, if it works properly, then you gotta fix your skin.
    Check the PHP error logs too.

  5.     
    #4
    Member
    Website's:
    PlaySongs.me
    Quote Originally Posted by Zeokat View Post
    Thats because your skin isn?t coded correctly
    The problem should be search.php

    Code: 
    <?php get_header(); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php endwhile; ?>
    <?php else : ?>
            <h2>Not Found</h2>
    <?php endif; ?>
    <?php get_footer(); ?>
    *I coded it fast by hand... so perhaps exists errors, but with a similar php code you can get what you want, the important part is the "else" conditional
    there is only searchform.php
    should i make search.php or just edit the up file ?

  6.     
    #5
    Member
    Website's:
    bypassx.com
    You need a search.php file, is hard to say... since i don?t know which skin you are using, and how it?s coded. But most of themes use search.php

    Use google, it usually helps a lot: http://codex.wordpress.org/Creating_a_Search_Page

    Different WordPress Themes feature different template files. Some include a search.php template file. This is not a Search Page, it is merely a template that displays the search results. There is also a template file called searchform.php. This is a template file that is often included in the sidebar of many themes and generates the search box form. If there isn't one in your theme, you can easily copy it from the Default theme.

  7.     
    #6
    Member
    Website's:
    PlaySongs.me
    thanks , will check it out
    edit : i guess i have to edit the searchform page , here is the page if someone knows .
    http://paste2.org/p/1847385

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. wordpress search results
    By nuds in forum Wordpress
    Replies: 5
    Last Post: 5th Jul 2012, 11:37 PM
  2. Search for Videostream Wordpress Theme
    By Deadmau5 in forum Webmaster Discussion
    Replies: 2
    Last Post: 22nd May 2011, 09:12 AM
  3. Wordpress search error 404, how to fix it??
    By LuDo8 in forum Webmaster Discussion
    Replies: 4
    Last Post: 17th Mar 2011, 11:13 PM
  4. Disable some search keywords on Wordpress
    By 3xupdate in forum Technical Help Desk Support
    Replies: 7
    Last Post: 5th Jan 2011, 03:25 PM
  5. Help with the search results (Wordpress)
    By RT in forum Web Application/Script Support
    Replies: 6
    Last Post: 16th Dec 2010, 08:47 PM

Tags for this Thread

BE SOCIAL