Tablepress Fixed Header extension – problem due to shortcode
-
Hello,
I am trying to use the Fixed Header extension. I see in the instructions that it shows to add some extra code into the shortcode, after the ID of the table. Well, I’m not sure to do that due to some variables on my site. I am using WordPress, latest version, with The 7 theme, and WP Bakery Page Builder. I don’t see a way to add screenshots into this post, but I’ll try to describe my issue.So, the way WP Bakery Page builder works, is that you add elements into the page, and then you modify the elements. When I add a shortcode element into a page for a table, when I go to modify that element, the only thing that I enter is the table ID, for example, 2. So WP Bakery Page builder is automatically inserting the rest of the code into the page, therefore I cannot edit the entire shortcode. I tried adding the extra code for the Fixed Header Extension after the ID # of a table, leaving off the ending bracket, but that just created an error on the page.
For example, when I went to modify the element of one table, which was number 2, the only thing showing for me to modify in the element was: 2
So, I added this after it: 2 datatables_fixedheader=top
But that created an error on the page, so I tried it this way:
2 datatables_fixedheader=top\
That also created an error on the page.So, I don’t know how to add this extra code into the shortcode with the way it is structured using the WP Bakery page builder, since the page builder itself inserts all of the shortcode except the Table ID #. Do you have any ideas on how I can approach this? If you need to see screenshots of what I am talking about, can you explain to me how to add screenshots into this post?
Thanks,
Anthony
The topic ‘Tablepress Fixed Header extension – problem due to shortcode’ is closed to new replies.