I want to add this code in post

Malik Umer Farooq Posted in Technical Support 7 years ago

i want to add this code where ossn show post in home,timeline,group sir please help me

<?php
         $words = explode(" ",ossn_print('post'));
         foreach($words as $word){

             if(substr($word, 0, 1)=== '@'){
            echo "<a href='ossn_site_url(substr($word, 1))'>".htmlspecialchars($word)."</a> ";
         }
         elseif(substr($word,0,1)==='+'){
            echo "<a href='tel:" .substr($word, 1)."'target='_blank'>".escape($word)."</a> ";
        }
         elseif(substr($word,0,1)==='$'){
            echo "<a href='https://www.google.com#q=" .substr($word, 1)."'>".escape($word)."</a> ";
        }
         elseif(substr($word,0,1)==='!'){
        //code for open article in wikipedia
        }
         elseif(substr($word,0,1)==='#'){
            //code for hashtag
         }

         else{
             echo " $word ";
         }
         }

        ?>
Replies
pk Malik Umer Farooq Replied 7 years ago

Hellow Sir 5 days you can not reply any possible answer

Dutch Tunzxywalex Oyewale Replied 7 years ago

Is dat posible