How to insert PHP code into widgets?
-
Hi,
I am adding HTML and PHP code together in widgets using HTML custom blocks but the PHP code is not rendered to the page, an example of which is below<p>©2015- <?php echo Date('Y'); ?> Footer Area</p>
How to add PHP code into widgets ?
I would prefer not to use a plugin and to achieve this through coding
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to insert PHP code into widgets?’ is closed to new replies.