LucasMorato
Forum Replies Created
Viewing 8 replies - 1 through 8 (of 8 total)
-
My site got a hack attack too, patetic plugin
Forum: Fixing WordPress
In reply to: Reply button does not workup
Forum: Fixing WordPress
In reply to: Reply button does not workThat is a personal theme
Forum: Fixing WordPress
In reply to: Custom Single pageHey sea, is like this theme:
http://theme-fusion.com/avada/3-column/
Single portfolio Wide
Single Portfolio HalfForum: Fixing WordPress
In reply to: Single-Portfolio pageThanks doodle! I did it!
Forum: Fixing WordPress
In reply to: Single-Portfolio pageWhat is cpt’s? I think is categorized.
Forum: Fixing WordPress
In reply to: Search page not working?
Forum: Fixing WordPress
In reply to: Search page not workingNow i guess the page search.php is working, but the posts not is showing… Only appears: Search Results for: “search”…
Is there anything wrong with my code?
<?php /* Template Name: Search Page */ ?> <?php get_header(); ?> <?php if ( have_posts() ) : ?> <h3 class="page-title"><?php printf( __( 'Search Results for: %s', 'mytheme' ), '<span>' . get_search_query() . '</span>' ); ?></h3> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <?php else : ?> <div class="container"> <div class="row-fluid"> <div class="span8"> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'No results found', 'mytheme' ); ?></h1> </header> <div class="entry-content"> <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'mytheme' ); ?></p> </div> </div><!-- .entry-content --> </article><!-- #post-0 --> <div class="span4 pull-right"> <?php get_sidebar(); ?> </div> <?php endif; ?> </div> </div> <?php get_footer(); ?>
Viewing 8 replies - 1 through 8 (of 8 total)