Confusing FAQ.
-
It’s a great plugin. I suspect not many people use it because your instructions (FAQ) on how to insert the code is very confusing π
You give 2 codes:
CODE 1:
<?php
$categories = get_the_category();
$separator = ‘ / ‘;
$output = ”;
if($categories){
foreach($categories as $category) {
$rl_category_color = rl_color($category->cat_ID);
$output .= ‘term_id ).'” style=”color:’.$rl_category_color.’;”>’.$category->cat_name.’‘.$separator;
}
echo trim($output, $separator);
}
?>CODE 2:
<?php
$categories = get_the_category();
$separator = ”;
$output = ”;
if($categories){
foreach($categories as $category) {
$rl_category_color = rl_color($category->cat_ID);
$output .= ‘<div class=”featured-cat” style=”color:’.$rl_category_color.’;”>’.$category->cat_name.'</div>’.$separator;
}
echo trim($output, $separator);
}
?>And what about themes that do not have <?php the_category(); ?> function? Include a solution to where and which code to use.
As of right now, you are the only one who understands your FAQ, because you know code. The majority of us do not. When you write instructions, try to think like a regular user (and not as a programmer.) You could explain it to someone else and have them write the instructions in a clear way. It’s OK π
Trust me, if you re-write the FAQ in plain, simple and correct English (have someone proofread what you write) then you will have tons of downloads π
It’s a great plug in. I hope you clarify your FAQ.
Thank you.
The topic ‘Confusing FAQ.’ is closed to new replies.