WordPress.org

Ready to get started?Download WordPress

Forums

Platform
Error in Search Result 'more ...' links (1 post)

  1. tomorgel
    Member
    Posted 1 year ago #

    Hi there.

    I've got a massive problem with the search result lists of the Platform 1.4.2 (light) template.

    Entering a search term (in either the standard search form or one integrated by widget) returns a correct listing of found topics in the usual excerpt-form-list.

    However, any link in this list, be it Headline-link or 'more ...' link at the end of the excerpts is always the same - it redirects on the page I'm on!

    Example:

    Searching for the term "genericsearchterm" produces:

    http://www.your-generic-website.de/wp/?s=genericsearchterm

    with, say, three listed entries in excerpt-form.
    The first is named "News about Genericsearchterms"

    So, the two links of that particular result should be something like:
    http://www.your-generic-website.de/wp/2012/05/news_about_genericsearchterms

    Instead, any Headline or 'more ...' link on this entry is just redirecting: http://www.your-generic-website.de/wp/?s=genericsearchterm

    Note:
    It's the only template I found up to now with this particular problem. Switching the template and the search works just fine.
    So it must be somewhere in the Platform-code.

    Anyone out there with a solution?
    Thank you,
    T.

    P.S.
    Here's the code of the (searchform.php). Might help.

    ----------

    <?php
    /*
    
    	SEARCH FORM
    
    	This file is the template for the theme searchform.
    
    	This theme copyright (C) 2008-2010 PageLines
    
    */
    ?>
    <form method="get" class="searchform" action="<?php echo home_url(); ?>/" onsubmit="this.submit();return false;">
    	<fieldset>
    		<input type="text" value="<?php _e('Search','pagelines');?>" name="s" class="searchfield" onfocus="if (this.value == '<?php _e('Search','pagelines');?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Search','pagelines');?>';}" />
    
    		<input type="image" class="submit btn" name="submit" src="<?php echo PL_IMAGES;?>/search-btn.png" alt="Go" />
    	</fieldset>
    </form>

    http://wordpress.org/extend/themes/platform/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags