PHP Code block

Posted in: Newspaper
Post count: 1

Hi there

I’d like to add a block of PHP code into the side panel using tagDiv composer. Can I do this? If not, which is the best way to do this?

Thanks

Post count: 20688

Hi,

The composer does not have a widget or element created specially for PHP code. If you require such an element you could maybe try plugins that have the option. Or maybe try a solution like this
http://www.wpstuffs.com/how-to-execute-php-code-in-text-widget-without-using-plugin/
http://www.helpersways.com/2015/09/use-php-code-in-wordpress-widget-without-plugin.html

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.