I’m attempting to move the sidebar that I’ve within the store, inside a facet drawer that can have the filters. I’ve created the HTML/CSS and the js liable for this to work. However I’m attempting to get the content material of all of the sidebar from the database and apply it inside my drawer. I’m a little bit of a junior in PHP and in WordPress development. So any guideline on the way to obtain this could be appreciated. I’m conscious of the choices
desk and that beneath sidebars_widgets
i can discover the content material. However I cannot retrieve this and apply it contained in the HTML code.
Additionally, I do not wish to use any plugins. So solutions like this won’t assist. I’m conscious that there are some plugins that may create shortcodes of any widget with a purpose to use them later inside any textual content or HTML, however I extremely wish to keep away from them.