Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter tomeq

    (@tomeq)

    fidex

    Thread Starter tomeq

    (@tomeq)

    Thanks, problem is solved.

    Thread Starter tomeq

    (@tomeq)

    Hi,

    Problem is solved,
    Incompatible plugin “Highlight Search Terms” cause problems with generated links.

    You can put this info in your knowledge base in section “Plugin compatibility” if you want of course

    Thread Starter tomeq

    (@tomeq)

    ok, there is two files

    searchform.php – search form

    <form method="get" id="search-form" class="search-form clearfix" action="<?php echo esc_url( home_url( '/' ) ); ?>">
        <input autocomplete="off" type="text" value="" placeholder="<?php esc_html_e( 'Enter your keyword...', 'origamiez' ); ?>" name="s" class="search-text" maxlength="20">
        <button type="submit" class="search-submit"><span class="fa fa-search"></span></button>
    </form>

    search.php – search results tempate

    <?php get_header(); ?>
    
    <div id="sidebar-center" class="origamiez-size-01 pull-left">
    
        <?php origamiez_get_breadcrumb(); ?>
    
        <div class="clearfix"></div>
    
        <div id="sidebar-center-bottom" class="row clearfix">
            <ul id="origamiez-blogposts">
                <?php
    			if ( have_posts() ) :
    				while ( have_posts() ) : the_post();
    					?>
                        <li <?php post_class( array( 'clearfix' ) ); ?>>
                            <article class="entry-item row clearfix">
    
                                <div class="entry-summary col-sm-12">
    
                                    <h3 class="clearfix">
                                        <a href="<?php the_permalink(); ?>" class="entry-content"><u><?php the_title(); ?></u></a>
                                    </h3>
    
                                    <p class="metadata">
                                        <?php
                      									$is_show_author = (int) get_theme_mod( 'is_show_taxonomy_author', 0 );
                      									if ( $is_show_author ) :
                      									?>
                                            <?php get_template_part( 'parts/metadata/author', 'blog' ); ?>
                                            <?php get_template_part( 'parts/metadata/divider', 'blog' ); ?>
                                        <?php else : ?>
                                            <?php get_template_part( 'parts/metadata/author' ); ?>
                                        <?php endif;?>
    
                                        <?php if ( 1 === (int) get_theme_mod( 'is_show_taxonomy_datetime', 1 ) ) : ?>
                                            <?php get_template_part( 'parts/metadata/date', 'blog' ); ?>
                                            <?php get_template_part( 'parts/metadata/divider', 'blog' ); ?>
                                        <?php endif; ?>
    
                                        <?php if ( 1 === (int) get_theme_mod( 'is_show_taxonomy_comments', 1 ) ) : ?>
                                            <?php get_template_part( 'parts/metadata/comments', 'blog' ); ?>
                                            <?php get_template_part( 'parts/metadata/divider', 'blog' ); ?>
                                        <?php endif; ?>
    
                                        <?php if ( 1 === (int) get_theme_mod( 'is_show_taxonomy_category', 1 ) && has_category() ) : ?>
                                            <?php get_template_part( 'parts/metadata/category', 'blog' ); ?>
                                        <?php endif; ?>
                                    </p>
    
                                    <div class="entry-content"><?php the_excerpt(); ?></div>
                                </div>
                            </article>
                        </li>
                        <?php
    				endwhile;
    			else :
    				get_template_part( 'content', 'none' );
    			endif;
    			?>
            </ul>
            <?php get_template_part( 'pagination' ); ?>
        </div>
    </div>
    <?php get_sidebar( 'right' ); ?>
    
    <div class="clearfix"></div>
    <?php
    $footer_number_of_cols = (int) get_theme_mod( 'footer_number_of_cols', 5 );
    get_footer( $footer_number_of_cols );

    Thread Starter tomeq

    (@tomeq)

    Hi

    unfortunately but site is storage in local network so the access from outside is forbidden
    but I don’t know why to the all results links are added parametr &s=first_word+second_word , after clicked on it user is redirected to 404 page
    but if this parametr (&s=first_word+second_word) will be removed in browser address bar then page is showing properly

    PS. sorry for my english 🙂

Viewing 5 replies - 1 through 5 (of 5 total)