verphiztual
Forum Replies Created
-
I’ve installed WP Mail SMTP plugin. SMTP details will depends on your server hosting or email service.
Hope this helps.
Forum: Fixing WordPress
In reply to: Search is not working.no success… there is an error to your code.. i tried to transfer the endif; before the endwhile; like this:
<?php endif; endwhile; } else { ?>there is no error but the pages are still included… :[
Forum: Fixing WordPress
In reply to: Admin Baryou’re welcome.
Forum: Fixing WordPress
In reply to: Admin BarI think here is the solution. I have the same problem before.
at your header.php before the end of </head>, put <?php wp_head(); ?>.
at your footer.php before the end of </body>, put <?php wp_footer(); ?>
it should look like this:
<?php wp_head(); ?> </head>and
<?php wp_footer(); ?> </body> </html>hope that helps.
Forum: Fixing WordPress
In reply to: Search is not working.thanks for the idea…
Actually my search form is working now.. I put this code in my search.php<?php if (have_posts()) { while (have_posts()) : the_post(); ?> <div> <h3><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?> from <?php echo get_post_type(); ?></a></h3> <?php the_excerpt(); ?> </div> <?php endwhile; } else { ?> <p><?php _e('Nothing found, what meets your criteria.', 'basis'); ?></p> <?php } ?>My only problem is my search result. I don’t want pages to include on my results. Just posts only.