How Get Ad Tags
In the single-ad_listing.php file, I want get ad tags. I try like get tags wordpress standard below but I can't do that.
$posttags = get_the_tags(); $MyTags="";
if ($posttags) {
foreach($posttags as $tag) {
$MyTags .= $tag->name.", ";
}
}
echo "This is my Tags List: $MyTags For Example";
Can someone help me, please?
Thanks Before,