How to Dynamically Change HTML table text in post?
What I did is I write my post in an HTML structure so that I can easily locate and swap the paragraph with a Call to Action button, I used HTML tables for structure, and using Javascript to swap the text.
jQuery(document).ready(function(){
post = $('[postid]');
postid = post.data('postid');
lines = post.find('tr');
});
i use this code to select all <tr>
and then i run the main swap function,
Right now iam using this way. I dont know is this a good way for this.
After doing Some Research I found A CMS webflow. Webflow can directly swap from the database. But I want to use WordPress
So is there any other way to do this swap? Does WordPress forum have any posts related to this topic?
Leave an answer