WordPress – Use javascript to print specific contents in page

  This solution worked for me. Step 1: Specify the printable contents inside this div. <a href=’javascript:printContent(“ad_div”)’ id=’print_link’>Print</a> <div id=’ad_div’> specify your printable content here……

Add Javascript in WordPress Pages

WordPress defaults security feature restricts use of JavaScript into your content. However there are plenty of plugins out in WordPress that allows JavaScript within page or…

WordPress – How to pass variable as parameter in URL

  This simple method worked for my WordPress website to pass a parameter in URL. In this tutorial, the Datewise Invoices page lists down all the invoices created between…