Saturday, June 4, 2022
HomeWordPress Developmentposts - How one can save template knowledge into wp_post desk (post_content...

posts – How one can save template knowledge into wp_post desk (post_content column)


Is there a strategy to save template knowledge into wp_post desk?

I made a customized template that robotically makes tables and a few sentences with the meta-data that customers insert in.
I needed to make customers select a template and write in a standardized format with customized area.
enter image description here
Customers can now simply put some textual content on my customized area (backside of my put up edit web page) and click on the template on the sidebar, then the contents present on the put up web page!

And a part of my code on single.php (put up web page) is that this and that is working completely.

<?php the_content();    
                    if ( is_page_template('hkb-templates/coin-info-template.php') ) { 
                    hkb_get_template_part( 'coin-info-template' );
                    }
                    else {
                    }
                ?>

Nonetheless, I observed that with this code, desk of content material plugin would not work 🙁 . I noticed TOC plugin checks the contents within wp_post desk (post_content column) however my template doesn’t save the info into SQL database. It simply make contents displayed on the put up web page. So my content material is invisible to TOC plugin. Any options or concepts to unravel this drawback? Please assist me.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments