PGrizz
Forum Replies Created
-
Forum: Plugins
In reply to: Going directly to posts in WP Search SuggestHey Adam I’d appreciate the email, you can send it to [email protected]. But your saying that your edited version is broken half the time? =/
Forum: Plugins
In reply to: Going directly to posts in WP Search SuggestHey Adam, I’ve tried adding your edits on multiple themes including TwentyEleven by switching the wp-search-suggest.php file’s “$results[] = $post->post_title;” to “$results[] = ‘<span id=”?p=’ . $post->ID . ‘”>’ . $post->post_title . ‘</span>’;” and completely updating the wps-search-suggest.js file with the code posted above, but after making your changes it causes the suggest feature to stop working with no suggestions being shown.
I tried changing the #s on one theme to match, but that didn’t fix the problem. But I believe #s is the default input id for the search area on TwentyElven, where I still can’t get it to work properly.
Thanks Konstantin! That fixed it =D
Forum: Themes and Templates
In reply to: Thumbnails distorted after switching default size to 180 x 180Thanks! I’ll have to try this.
Thanks for all the input, WordPress has changed a lot since we started using it, so I’ll def look into changing categories to tags in the future. The one problem that has prevented me from making the change and has kept me using the system we currently use is another plugin called Similar Posts. The plugin works best when set to relate similar posts based off the same tags. If I were to make the change you suggested, then the output of the plugin would be far less accurate and most posts would not share anything in common besides the fact that they were news or reviews. But thanks, will still look into the changes in the future.
yep, that fixed it! really appreciate you going out of your way to help solve the problem, thanks again! ??
Unfortunately, the theme is heavily modified, and besides the breadcrumbs plugins, everything else seems to function fine with the modifications. You’re right about where the problem is. Each one of the six articles in the top is generated by this code:
<ul class="highlights2"> <?php $highlight7 = new WP_Query("meta_key=thumbnail&cat=".get_wpn_config('highlights_category_id_7')."&showposts=1"); while($highlight7->have_posts()) : $highlight7->the_post(); $highlightcat7 = get_wpn_config('highlights_category_id_7'); $highlightcatname7 = get_cat_name( $highlightcat7 ); $cat7_string.='<a href="'.get_category_link( $highlightcat7 ).'">'.$highlightcatname7.'</a>';?> <li> <?php if(get_post_meta($post->ID, "thumbnail", true)) : ?> <a href="<?php the_permalink(); ?>" class="thumbnail"><img src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" /></a> <?php endif; ?> <span class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></span> <span class="cat"><?php echo $cat7_string; ?></span> </li> <?php endwhile; ?> </ul>
it looks like this part of that code is what causes the problem: `<?php $highlight7 = new WP_Query(“meta_key=thumbnail&cat=”.get_wpn_config(‘highlights_category_id_7’).”&showposts=1″); while($highlight7->have_posts()) : $highlight7->the_post();
$highlightcat7 = get_wpn_config(‘highlights_category_id_7’);
$highlightcatname7 = get_cat_name( $highlightcat7 );
$cat7_string.='<a href=”‘.get_category_link( $highlightcat7 ).'”>’.$highlightcatname7.'</a>’;?> (code that isn’t causing the error) <?php endwhile; ?>`If you look at the part that is causing the error, it doesn’t actually contain the $post. Since it looks like I can’t edit it without it breaking my desired functionality, how can I restore it back to its original state after it’s done?
Sorry, I’m not that familiar with customizing loops, any advice on how I can go about restoring it back to its original state because it looks like the theme needs $post. Although, I’m not 100% sure if the theme needs $post either…
Forum: Hacks
In reply to: disabling "alt" attribute when hovering over navigationWow a WordPress post on a problem I have that isn’t 5 years old. I’d also like to know how to turn this feature off…
Appreciate the response Jesse, but I needed to fix it quick so I just switched to another plugin within page plugin, which is why it’s now working.
Forum: Fixing WordPress
In reply to: Only the first post from a day displays the datethanks, i tried switching to the_time before and it would display the time instead of the date. it looks like based on the link you shared that since wp 3.0 you now have to insert
<?php the_time(get_option('date_format')); ?>
in order to fix this problem. Thanks!thanks
it looks like the form works, but is there a way i can do it better and make it so that once the email is entered it gives a confirmation like the real plugin does?
thanks for the replies guys, and the tutorial from the link worked great ??
Forum: Fixing WordPress
In reply to: How to use two different headers on one site?appreciate the replies guys, and thanks Edward that worked perfect ??