salromano
Forum Replies Created
-
Forum: Themes and Templates
In reply to: AJAX Comment Reply issuesAnything?
Forum: Plugins
In reply to: Category Link ColorsCan anyone help me with the separation?
Forum: Plugins
In reply to: Category Link ColorsI’ve been looking around. Here’s what I’ve managed to put together from my findings:
<?php $the_cat = get_the_category(); $category_link = get_category_link( $the_cat[0]->cat_ID ); foreach((get_the_category()) as $category) { echo '<a class="'.$category->slug.'" href="'.$category_link.'">'.$category->cat_name.'</a>' ; } ?>
This way, it appears as such:
<a href="https://website.com/category/category-1">Category 1</a><a href="https://website.com/category/category-2">Category 2</a>
Then, you go into your CSS, and add the following:
a.category-1 { color: #333; } a.category-2 { color: #CCC; }
And so on.
Only problem: I need a way to separate the categories by comma as they display.
Forum: Plugins
In reply to: Category Link ColorsNew things are pretty easy for me to latch on to – what’s the body_class() function and how could I use it to accomplish my goal?
Forum: Themes and Templates
In reply to: If has paginated commentsThank you so much. Worked like a charm! Final code for anyone that needs:
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?><div id="paginate_comments"><?php paginate_comments_links(); ?></div><?php endif; ?>
Forum: Themes and Templates
In reply to: If has BOTH tagsWorked like a charm. Thanks, Alchymtyhh!
Forum: Fixing WordPress
In reply to: SubtitlesRight. Will probably implement the custom fields method then.
Thanks, Esmi!
Forum: Fixing WordPress
In reply to: SubtitlesNo. The is best handled on a per post/page. Or on per theme basis using custom fields.
Why would you recommend the use of custom fields over a plugin? If you don’t mind my asking.
Anything, Chris?
Any updates on the plugin, Chris?
I’ll be very grateful if you’re able to get it working. Kind of need it.
Also notable: my WP popular posts are displaying nothing as popular (check sidebar — https://scrawlfx.com — there’s nothing there).
Amaury, thanks for response. Honestly, the removed features don’t bother me. I use different plugins for related posts, etc.
But the autocompletion — this new AJAX code — sucks. I have TONS of tags, and the old AJAX method worked fine. I see you’ve updated it a bit, but it’s still slower than slow. There’s no point in me using autocompletion, right now, as I can easily type the tags faster than waiting for them to appear.
I want the old version back.
Plugin dev, could we get a response, please?
Indeed. In the old version, as soon as I hit a letter, suggestions popped up instantly. On this new version, suggestions won’t appear until I stop hitting keys — and even THAT takes a little while for them to appear!