konradhartmann
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Possible? Search only posts, exclude pagesResolved by moving the line as shown below:
<?php while (have_posts()) : the_post(); ?>
<?php if (is_search() && ($post->post_type==’page’)) continue; ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>Thanks very much–and sorry for the huge posts on this topic. This is a great improvement, however, and I hope it benefits others as much as me.
Regards, –Konrad
Forum: Fixing WordPress
In reply to: Possible? Search only posts, exclude pagesHey, Renato. Yes, this worked, thanks! However:
1. The formatting of the Search Results list is now a little goofed up…but it is functional. In any event, this is better than it was.
2. Maybe (again), it is where I put it. I don’t have this line in index.php: <?php if ( have_posts() ) : while ( have_posts() ) : the_post();?>I have <?php if ( have_posts() ) then a bunch of code and then while ( have_posts() ) : the_post();?>
I put the code fragment on a line below this second piece: while ( have_posts() ) : the_post();?>
Did I misplace it?
Forum: Your WordPress
In reply to: BAN ZOMGERS!!What is the site for?
Forum: Your WordPress
In reply to: Music Site Based on WordPress. Not your typical WP blog.Excellent design. I am a music producer myself and really liked the layout. Very impressive.
One suggestion:
When I go to the About page, the first paragraph has an extremely clear description of your service. At the home page, however, some visitors may or may not know what you do from reading “hot beats” and “online licensing.”
What about a tagline like “Hip hop beats for your recordings?” That’s just an example–I’m sure you can think of a better line. I’d hate for an artist to look at your page and then leave.
Forum: Fixing WordPress
In reply to: Possible? Search only posts, exclude pagesAny ideas? (see previous post) Thanks
Forum: Your WordPress
In reply to: My newest blogCool. Thanks. I was just complimenting the layout. I know IE is in the majority.
By the way, I cannot get to my site statistics on NetworkSolutions. Whenever I open a ticket with them, I get an automated acknowledgment, but never an answer.
Forum: Your WordPress
In reply to: My newest blogI use Firefox and this layout looks great.
Forum: Everything else WordPress
In reply to: Post thumbnails on main page??Did you know your site is broken right now? I tried to visit it and got this message:
Warning: Cannot modify header information – headers already sent by (output started at /home3/cbr125rn/public_html/MotoMarta/wp-content/themes/dilectio/functions.php:349) in /home3/cbr125rn/public_html/MotoMarta/wp-includes/pluggable.php on line 850
Forum: Your WordPress
In reply to: Evaluate my Site 1 – 5 (5 Highest)The layout looks good. The problem I had (and this is with many sites, not just yours) is that it is not clear what the site is about or for whom it is intended. The domain name is different than the header, and there is no tag line.
Of course, by looking around I can figure out that there is some Anime/Manga theme, but people unfortunately will navigate away from a site very quickly if it doesn’t grab their attention. Also, something right below the header seemed to be loading but did not complete after several minutes. (I have a broad band connection.) By the way, my site does not load as fast as I would like and I am working with the ISP to resolve that. I can live with it, but it takes way too long (10 seconds) for all the images to appear sometimes.
Software companies are notorious for creating sites that do not clearly explain what their products do.
I would say you could get a 4 or 5 if these things were resolved, but I would have to go with 2 for now. That is not criticism: you are obviously talented. It is just the reality of how competitive a site must be to get and keep visitors.
Regards, –Konrad
Forum: Your WordPress
In reply to: Now it looks betterInteresting site. In fact, I left a comment on one topic.
Forum: Your WordPress
In reply to: How’s this for a non-blog looking WordPress powered site?Looks pretty slick. I have some eCommerce sites planned and what you are doing would fit my concepts (although the products are completely different). Congratulations.
Forum: Fixing WordPress
In reply to: Possible? Search only posts, exclude pagesHey, guys. I don’t expect free programming, but if anyone is interested in taking a look, I have included the search.php and header.php. I have tried several times to find the right place to insert the fix to search only posts (not pages), but the result is either no visible change or some kind of fatal error message when visiting the site.
I have some programming background so the concept is crystal clear. The problem is that I don’t know PHP syntax or CSS so unless the instructions are pretty specific to my situation, it is a little challenging. (Especially since there is no test environment.)
Anyway, if someone wants to take a look and help, I will owe you big time. Since I have a page with an index to all movies, every search returns that page, which is ugly.
Note: A fix that returned only a couple of lines from each page would also solve the problem. If you visit my site, you will see that any search on a movie name (e.g., Frozen River) fills all or most of the screen with the movie index, followed by other pages and finally the post, etc. It is really dumb for a search to return the index which is itself just another type of search! It would also be OK if the posts were always first, but that seems like an even more complex solution.
Thanks very much, –Konrad
**************Begin search.php**************
<form method=”get” id=”searchform” action=”<?php bloginfo(‘home’); ?>/”>
<div>
<input type=”text” value=”<?php echo wp_specialchars($s, 1); ?>” name=”s” id=”s” />
</div>
</form>
**************End search.php****************************Begin header.php**************
<?php get_header(); ?><?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Thanks Kubrick for this code ?>
<?php if (is_category()) { ?>
<div class=”page-title”>
<h2 class=”page-title-border”><?php _e(”); ?> <?php echosingle_cat_title(); ?></h2>
</div>
<?php } elseif (is_day()) { ?>
<div class=”page-title”>
<h2 class=”page-title-border”><?php _e(”); ?> <?phpthe_time(‘F j, Y’); ?></h2>
</div>
<?php } elseif (is_month()) { ?>
<div class=”page-title”>
<h2 class=”page-title-border”><?php _e(”); ?> <?phpthe_time(‘F, Y’); ?></h2>
</div>
<?php } elseif (is_year()) { ?>
<div class=”page-title”>
<h2 class=”page-title-border”><?php _e(”); ?> <?phpthe_time(‘Y’); ?></h2>
</div>
<?php } elseif (is_author()) { ?>
<div class=”page-title”>
<h2 class=”page-title-border”><?php _e(‘Author Archive’);?></h2>
</div>
<?php } elseif (is_search()) { ?>
<div class=”page-title”>
<h2 class=”page-title-border”><?php _e(‘Search Results’);?></h2>
</div>
<?php } ?><?php while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”><div class=”title”>
<h2 class=”posttitle”>
”rel=”bookmark” title=”<?php _e(‘Permalink to’); ?> <?php the_title(); ?>”><?php the_title();
?>
</h2><p class=”postmeta”>Reviewed on <?php
the_time(‘M d, Y’) ?> – <?php the_category(‘, ‘) ?> <?php comments_popup_link(__(‘ ‘), __(‘1
Comment’), __(‘% Comments’), ‘commentslink’, __(‘ ‘)); ?> <?php edit_post_link(__(‘Edit’), ‘
· ‘, ”); ?>
</p>
</div><div class=”postentry”>
<?php if (is_search()) { ?>
<?php the_excerpt() ?>
<?php } else { ?>
<?php the_content(__(‘Read the Rest ofThis Review »’)); ?><div style=”clear:both;”></div>
<?php } ?>
</div><!–
<?php trackback_rdf(); ?>
–></div>
<?php endwhile; ?>
<div class=”pages”>
<div class=”pages-border”></div>
<span class=”page-previous”><?php posts_nav_link(‘ ‘, ”,__(‘« Previous Reviews’)); ?></span>
<span class=”page-next”><?php posts_nav_link(”, __(‘NewerReviews »’), ”); ?></span>
</div><?php else : ?>
<div class=”post”>
<h2><?php _e(‘Error 404 – Not found’); ?></h2>
</div><?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
**************End header.php**************
Forum: Your WordPress
In reply to: SKIDDYSMITH.com !!!I like the design a bunch and I admire the boldness and uniqueness.
One suggestion: on the home page, the explanation of what your site is all about is kind of small, and, similarly, the links for your portfolio are not very obvious. If you could make those things easier to find without disrupting your design, it would be cool. (I didn’t mind looking, but you have to assume the average person takes one glance and moves on.)
Good stuff.
Konrad
Forum: Your WordPress
In reply to: Personal Blog – As harsh as you can beThe header takes up half the screen. It feels like you are yelling at the world that you like clean, simple stuff. Why would you need to make that statement? On the plus side, it is simple and clean and that’s good.
Konrad
Forum: Your WordPress
In reply to: Revamped blog with portfolioNice and clean, but you say you are a graphics designer and yet there is no logo. What do you think about creating a simple but powerful logo for your site to show people what you can do?
Best regards, –Konrad