Under Appearance / Widgets, select a ‘Text’ widget where you can copy and paste your selected div then add this text box under Sidebar (active) that you’ll like to appear on your site.
Yeah that’s the easy way and the last resort, but what I have is something slightly different. I want to be able to edit everything on page editor using ‘user friendly’ tools (divi builder) and not mess around with the code.. I was thinking maybe some ‘PHP code’ that calls/gets that specific DIV which I can insert into that TXT widget.. any suggestions?
If it was for me, Id do the copy/paste div code, but this is for someone who does not know too much editing.. want to make it as simple as possible for them to update the site in the future..
Oh I see, in that case I would suggest contacting the theme creator for support.
I dont think it has anything to do with the creators of the theme, no disrespect.. But more of a general PHP code problem.. all I need to do is pull that line of code using a scrip 😮
No offence taken 🙂
Since you’re after a PHP solution try asking in Stack Overflow?
I’ll be interested in finding out your solution too.