radiocono
Forum Replies Created
-
Forum: Themes and Templates
In reply to: if a custom field not exist show or display code htmlthe end of code of my loop-single.php closed whit
<?php endwhile; // end of the loop. ?>
and in the browser it say
Parse error: syntax error, unexpected T_ENDWHILE in /web/htdocs/loop-single.php on line 155Forum: Themes and Templates
In reply to: if a custom field not exist show or display code htmlthe first condition should be if the categoty name1 show
echo’HTML CODE “
but if the custom field Key exist:
shows a html table
If the key value does not exist:
shows a different html code
now it ‘s necessary to return to the first part of the code and say that if in categories other than category name1 does not show anything aboveForum: Themes and Templates
In reply to: if is in a category show this else dysplay otherEvan Herman
thank you very muchForum: Themes and Templates
In reply to: if is in a category show this else dysplay othersorry
(get_post_meta($post->ID, ‘KEY’, false) )Forum: Themes and Templates
In reply to: if is in a category show this else dysplay otherwhat is necessary to add in (some conditional)?
maybe
(get_post_meta($post->ID, 'KEY', true) )Forum: Themes and Templates
In reply to: if is in a category show this else dysplay othernow i try the loop by Evan Herman
Forum: Themes and Templates
In reply to: if is in a category show this else dysplay otheron the editor tex code it said line 13 error
where the code says:
elseif ( in_category(‘CATEGORY NAME 2’) ) {} else {
}
?>