Including PHP code with TDC

Posted in: Newspaper
Post count: 8

Hi, part of a site that I am working on requires some custom PHP code. To accomplish this, I was hoping to use a plugin called Insert PHP, which has a set of shortcodes, that when used, will execute the PHP code contained within. When I insert the code using the WordPress page editor, everything works great. However, when I try and run the same code using TD Composer, inside of a “Text with title” element, I don’t get any output when I save and view the page. I am able to use other shortcodes this way, which work fine, but have no luck when trying to execute the PHP.

I’ve tried manually adding the code in the WordPress editor after creating and saving the page in TD Composer, but I am having some formatting issues. I was hoping that I would be able to get this function working in TD Composer to try and resolve the formatting issues.

Any insight or advice that you can provide would be much appreciated. Thank you!

Post count: 22421

Hello,

Sorry but the tagdiv composer was never meant to output php code. Sorry but there is no simple solution I can provide for this. If you need to implement custom php code, do it outside the tagdiv composer or you can hire a freelancer to make the modification needed.

Thank you!

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