News

Echoing a shortcode in WordPress using PHP is a simple process. To do this, you can use the do_shortcode() function. This function takes a single parameter, which is the shortcode you want to echo.
In above php script, we added a short code named user_list which is useful to display the user listing and we are going to get posts of these user by ajax call. Kindly write below script in footer ...