Broke Newspaper Theme panel with custom code.. How do I remove to fix the panel?

Posted in: Newspaper
Post count: 2

I’ve added some custom HTML and JS to Newspaper which seems to have broken the Theme panel page and I can’t gain access to the CUSTOM CODE section to delete it. Is it a matter of finding the offending code in the website’s database? Thanks.

Post count: 20688

Hi,

Best to make a backup before adding various codes in the theme panel. The theme will store the custom code in the wp-options table->td_011 option name
https://www.screencast.com/t/loBwXknCD

There you can search for these terms, depending on the section you entered the code in

tds_custom_html – https://www.screencast.com/t/8n6Z3XYLPpx

tds_custom_javascript – https://www.screencast.com/t/cmB4hN8x7xoJ

The custom code you entered should be seen there.

Thanks

Post count: 1

This saved me today….the theme panel was broken after inserting some js code…Had to struggle a full day, but finally the answer was in database tables..thank you 🙂

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