melzor
Forum Replies Created
-
Forum: Plugins
In reply to: [Simplr Registration Form Plus+] Fatal ErrorAlso have this problem. Please push a fix asap.
Forum: Plugins
In reply to: [Tabby Responsive Tabs] script isn't loading with HTTPS, causing bugNevermind, my mistake. It’s another plugin that is causing this issue.
Forum: Plugins
In reply to: [bbPress] [Plugin: bbPress] Broken in WP 3.3.1Yep, and I can’t even post a topic. The form doesn’t show!
It works!!! Thanks so much! kisses!!
Thanks, but I’m getting an error, my code viewer is saying it’s something to do with this line:
<?php print ( is_single() && $IDOutsideLoop == $post->ID ) ? ' class="test"' : ''; ?>
thanks!
Forum: Fixing WordPress
In reply to: Highlighting current post title in get_posts listThe code posted here displays posts ONLY from the current category. If only we could merge both together! I don’t know PHP well enough to do this. Anyone?
<ul> <?php while(have_posts()) : the_post(); ?> <?php foreach((get_the_category()) as $category) { $my_query = new WP_Query('category_name=' . $category->category_nicename . '&orderby=title&order=asc&showposts=100');} ?> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> <li><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> <?php break; endwhile; ?> </ul>
Forum: Fixing WordPress
In reply to: Highlighting current post title in get_posts listI’ve been trying to do something similar to this, but only view post titles from the current category you are viewing. I have another code snippet which does this, although, it doesn’t have the capability to highlight the currently viewed post.
<ul> <?php global $post; $categories = get_the_category(); foreach ($categories as $category) : ?> <h3>More News From This Category</h3> <ul> <?php $posts = get_posts('numberposts=20&category='. $category->term_id); foreach($posts as $post) : ?> <li <?php if ( is_category('4') ) { ?> class="current_page_item" <?php } ?>><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; ?> <?php endforeach; ?> </ul>
I’ve tried merging both together but without success. Anyone know how?