I'll explain what I want to do in pseduo code.
if catergory = Cars && user is unregistered
<my code>
else
<my code>
Anyone know how I would go about writing that?
I'll explain what I want to do in pseduo code.
if catergory = Cars && user is unregistered
<my code>
else
<my code>
Anyone know how I would go about writing that?
If anyone finds this in the future. The code that was the solution goes as follows.
<?php
if ( in_category( 'Cars' ) && ! is_user_logged_in() ) { ?>
<!-- HTML markup here -->
<?php } else { ?>
<!-- other HTML markup here -->
<?php } ?>Thank you!!!
You must log in to post.