I was looking for a way to display my linked in profile in the sidebar. sidebar.php template needed to be edited – but I wasn’t sure how to call the shortcode (li_card) from within the template….
I discovered the do_shortcode function – which worked just as advertised…
<?php echo do_shortcode("[shortcode]"); ?>

Working Example (shortcode linkedin card )

 
<?php echo do_shortcode(""); ?>

Anuj holds professional certifications in Google Cloud, AWS as well as certifications in Docker and App Performance Tools such as New Relic. He specializes in Cloud Security, Data Encryption and Container Technologies.

Initial Consultation

Anuj Varma – who has written posts on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.