Comments (5)
Hi @Sher-Chowdhury,
thanks for your suggestion! At this time, I don't have plans to create such a wp-cli integration. I simply don't have the time for it. I also think that this wouldn't be that useful (yet) for the majority of TablePress users.
If someone else wants to step up and develop this, I'd gladly try to assist where possible!
At least for backing up, it should be sufficient to backup the relevant entries from the wp_posts
database tables (the Custom Post Type is tablepress_table
) and the tablepress_tables
and tablepress_options
entries from the wp_options
database tables.
Regards,
Tobias
from tablepress.
I was curious as to what the plugin's admin all tables tab is using to find a post of the post_type tablepress_table? I have been playing around with adding a post with the wp cli using the --post_type=tablepress_table arg, I have created a complete duplicate of a working table, and even custom edited the TablePress_tables option parameter to match, but it is not "enough" for the TablePress all tables admin tab to see it. I was wondering if there is some setting/meta/option I am missing that needs to be set to make it seen by the plugins all tables tab?
Thank you for you time.
Rhett
from tablepress.
Hi @RhettPrichard,
the table data is stored in wp_posts
, with a post_type
value of tablepress_table
. In addition, the meta data is in wp_postmeta
. Then, the post ID is mapped to a table ID in the tablepress_tables
option in the wp_options
DB table, which is where the "All Tables" screen gets its list from.
Regards,
Tobias
from tablepress.
Thank you
from tablepress.
A possible idea for wp-cli support would be to change options for many tables all at once
if you wanted to change a handfull of tables to show "The background colors of consecutive rows shall alternate"
wp tablepress options option=alternate tables=1,2,3
from tablepress.
Related Issues (20)
- Lesbarkeit von Beiträgen (Yoast SEO) wird durch einfügen der Tabelle von Gut auf OK runtergestuft HOT 2
- Question: posibility to get table information from a json REST api, instead of importing? HOT 4
- Can't save Auto Import Tables config HOT 1
- Function WP_Block_Type_Registry::register was called incorrectly HOT 2
- tablepress_rest_api:missing_capability:tablepress_edit_table HOT 7
- Help with translation HOT 3
- Freemius integration is doing heavy damage to wp_sitemeta meta_key fs_accounts HOT 5
- aria-role="link" in previous/next-buttons is redundant HOT 4
- check if file exists before attempting to unlink HOT 2
- Freemius Performance issue after upgrading to 2.1.5 HOT 3
- Error: Function is_search was called incorrectly... HOT 4
- Change Default Table Features for Site Visitors HOT 1
- No obvious way to disable/revert inline CSS loading HOT 1
- Fatal error: Compatibility issue with FS Edd Migration plugin HOT 8
- Resolve PHPStan issues HOT 12
- Oops! That page can’t be found. HOT 3
- Question: Accent neutralise HOT 1
- Tablepress text gets white when add links HOT 5
- TablePress CSS Loads even without a Table on page HOT 2
- Deprecation error from Freemius HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tablepress.