Start a new topic
Answered

Say "Premium Listing" in red next to those listed as premium members

Those premium members that pay vs a free account, they're listed first, all the free accounts are listed second.  Is there a way to put some text next to those members in the results and say something like "Premium Listing"? I'm sure it's just an IF STATEMENT i need to add in there and get those listings grabbed first and then ECHO some code next to it. Where would I find that code though?


Best Answer

Thanks!

<? if ($user_data['subscription_id']==1){echo '<tr><td><span style="color:red;font-size:small">Premium Listing</span></td></tr>'; } ?>


Hi Aaron, Yes, this could be done through the Membership Feature (listing). I am guessing you are talking about the Search Results for Members. I was going to offer a step by step but I can't login to your site for some reason, but I am sure that the solution is with the membership feature listing.

Answer

Thanks!

<? if ($user_data['subscription_id']==1){echo '<tr><td><span style="color:red;font-size:small">Premium Listing</span></td></tr>'; } ?>