Questions tagged [table]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Making a simple table - with no coding or plugin

I've found many instructions showing how to make a simple table using blocks on my Dashboard. But in create new post or page there is no option for table blocks. Only paragraphs and various other ...
1
vote
1answer
19 views

Adding a Table to the wordpress database

I am using the following script to add a table to the wordpress database, but nothing is happening. I am not sure what I am doing wrong. Any advice would be much appreciated. function ...
-1
votes
0answers
14 views

Tablepress: dynamic cell content via Code Snippets

my goal is to display dynamic content from an api to certain cells in different tablepress tables in Wordpress. I am new to PHP but experienced with Javascript, so I also am open to suggestions ...
0
votes
0answers
8 views

Hide/display table rows according to post tags

I have a large table that I use in many posts of mine. I want this table to display the rows that include at least one of the post tags in any column, and hide the rest of the rows. So the rows ...
0
votes
1answer
21 views

Share or sync user table data with another user table

I have a software and a wordpress installed in the same database, there is a wordpress "user" table and the software "user_soft" table. Is there any way or plugin to sync the two tables so that when ...
0
votes
1answer
13 views

Dynamically modify content added to table via javascript

What I want to do is quite straightforward, but I can't figure it out. Let's say you have this variable defined in your global scope of your script: var contentOfRow = "<tr><td>hello</...
1
vote
0answers
9 views

User Meta Data in a Sortable Table

I have created a template that stores extra user data in to user meta, for example: how fast they row 100m, how fast they run 5km. I'd like to now display this data within a table, thats searchable ...
1
vote
1answer
15 views

problems with loading posts in a table-row

I am trying to modify a code in a webpage. Currently the page has a table, table-row, table-cell structure where thumbnails which represents posts of a specific category and associated data are loaded ...
1
vote
0answers
14 views

Wordpress editor not creating <p></p> tags properly in tables

Wordpress isn't creating paragraph tags properly for paragraphs in a table. For example, the following in the Wordpress text editor: <table style="border-collapse: collapse; width: 100%;"> <...
0
votes
0answers
20 views

Insert and retreive data from custom database from Wordpress page

This is the first question I'm asking here, so I'm open to any feedback on how to clarify my problem/question! I have created a small javascript game on a wordpress page with "custom html". I'd like ...
0
votes
0answers
16 views

CPT with custom datatable insert, update

I have a CPT with ACF and I have managed to get those fields to save to a custom data table. How can I update the same ACF values, with the same post_id, while I’m updating the CPT? Here is what I ...
0
votes
1answer
17 views

How to make wordpress use a non-wordpress users table?

I've been searching and all I can find is how to share the users table from multiple wordpress sites. I tried using define( 'CUSTOM_USER_TABLE', 'Users' );, but it's not working. I image it is because ...
0
votes
0answers
14 views

SQL query hanging php

I'm having issues with a fairly large WordPress site creating 45+ php-fpm pools. My hosting company says it is some long running SQL queries causing the problem and gave me this: +-----+-------------...
0
votes
0answers
21 views

Frontend posts table and post edit form

I would like to create profile page, where user can add, edit his own posts. The same functionality as in Wordpress admin, but at frontend - in the same style as the whole website. I want to have ...
0
votes
0answers
12 views

table/csv input that allows custom front end displays

I need an easy way for a client to import (from a CSV) and then manage a table of contact details (roughly 150 rows, roughly 9 columns) and then for me to create a custom non-table front end to ...
1
vote
1answer
46 views

How can I add data to a custom column in the Users section of the wordpress backend?

Can anyone help me with adding data to a new User table column that I added? In the wordpress backend, in the Users section, I added a custom column called "Last Name". Now, I'd like to add last ...
1
vote
1answer
32 views

Bulk actions redirects to “options.php” page when clicked (WP_List_Table)

I'm having a problem with WP_List_Table. I'm following a tutorial on internet (https://wpengineer.com/2426/wp_list_table-a-step-by-step-guide/) because I need to display an table on my plugin page. ...
1
vote
0answers
26 views

How do I get create a custom table showing the hours remaining for all customers in one page from this transactions page?

[insert_php] global $wpdb; $current_user = wp_get_current_user(); $emailAddress = $current_user->user_email; /*$emailAddress = "samplethis@youguessedit.com";*/ [YADDA YADDA YADDA CODE] "; /* ...
1
vote
1answer
18 views

I am trying to display information from a custom table from my wordpress users pages

to preface this I know my way around a computer but I'm no coder by any means. I have a site where users can purchase points/credits to be used for a service on the site. Each customer has their ...
0
votes
1answer
16 views

Duplicate rows in meta table, any known relations in WC?

I am doing a migration from very old to current wordpress/woocommerce and while investigating the data I found out that there are more than one row for a products _stock meta key. The same for other ...
0
votes
1answer
131 views

Querying specific table row by current user login

I m creating a user based website in Wordpress, where each users can create an account and upload data of their records into the website. But I m having trouble thinking of how users can view a ...
0
votes
0answers
22 views

Adding empty cells in a table with posts

I'm trying to create a plugin, and want to show up a table, in which WP posts would be shown. I can do it with the following code: echo '<table class="custom_type_table">'; $custom_type_args = ...
1
vote
1answer
12 views

How can I have different theme with same booking table? [closed]

I have 2 different Hotel theme on main and sub domain. How can I have same booking table? So when a person in theme 1 reserved specific date another one could not reserve that date on theme 2?
0
votes
0answers
464 views

Could not insert post into the database - Media

im currently having a database error in my Wordpress Media section. Everytime i upload a file i get a "Could not insert post into the database" error. The site was migrated from one hosting to ...
0
votes
1answer
50 views

Why does changing Database Table Prefixes result in loss of content?

As to add an additional layer of security, to an eCommerce website I am working on, I have changed the default Database prefix from wp_ to wp_additional_prefix. To do this, I opened the wp-config....
0
votes
0answers
63 views

How to create a custom search form to filter data organized in tabs?

Considering that I have an Excel table that represents my "DB", I need to implement a custom search form that: retrieves data from the table, using some filters, and shows short results; opens a tab ...
1
vote
0answers
66 views

Problem with tables (huge data) on Word-press site

I created bootstrap table for my word-press site.I created custom template to publish my table on my website.The problem is that my tables has a 2000 pages and each pages show 10 entries and consists ...
0
votes
2answers
470 views

Gutenberg table block with Bootstrap .table class

On my frontend I am using Boostrap 4, however Gutenberg block table has class <table class="wp-block-table"> so instead of creating new table style it would make more sense to append the ...
0
votes
1answer
34 views

Remove Line Breaks From Cell Content in WordPress

A line break in a table cell is converted to ⟨br ⁄ ⟩ when it is saved. I must remove all line breaks from the cell content else there is excessive space between paragraphs, list items, etc. It makes a ...
2
votes
1answer
188 views

Add table controls with wp_editor minimal editor configuration ('teeny')

I want to add the table controls for wp_editor(tinymce) initiated with teeny=>true. Here is what I have done so far (without success): <?php $tinymce_options = array('plugins' => "table", '...
0
votes
1answer
254 views

How to display custom fields as table in Woocommerce

I imported around 7000 products into a WooCommerce project I'm working on, and each product has specifications, and I would like to display them in a table, like something you would see on Amazon for ...
0
votes
2answers
166 views

Searching a custom WP table and displaying results in an HTML table

I have a custom table in the WP database called wp_products. It has columns titled ID, SKU, Details and Page. I'm trying to search this table via the default search box, so I've replaced my search.php ...
4
votes
0answers
732 views

How can I extend the Gutenberg table block transform to allow colspans/rowspans on pasted table <td> elements?

I'm trying to allow users to paste (relatively) simple tables into Gutenberg. The editor converts the raw HTML fine but strips out any attributes/classes. For the most part this is good - I want to ...
0
votes
2answers
32 views

Code is providing a row of data but not formatting it as table

I am using the following code: function seconddb() { global $seconddb; $seconddb = new wpdb('username','password','g3boat5_G3_Genba','localhost'); } add_action('init','seconddb'); // add the ...
0
votes
1answer
20 views

Looking for a simple tool to update a table

What I would like. A server generates row entries every now and then. I want this entry to be sent to my WordPress site and inserted as a row in a table. How would I accomplish this as simply and ...
1
vote
2answers
294 views

Gravity Forms - jQuery in List Field [closed]

I am working on this jQuery which will eventually populate fields from the Parent field (Features) to the Children fields (Description, address, etc.) within a List Field. I have been able to get the ...
0
votes
1answer
46 views

using wordpress acf shortcods in tables goes outside the table

I want to put some audio files in a html table using wordpress default [audio] shortcode and using ACF to take the url of song. because of using two nested shortcode does not renderrd in wordpress, I ...
0
votes
0answers
34 views

How to map data on CSV to web pages?

Like Contact information, descriptions, budget, prices, other numbers, on a CSV or spreadsheet, how to link it to WordPress web page? I'm using cpanel, WordPress, Tablepress plugin, elementor page ...
-2
votes
1answer
72 views

How can I create this type of table/catalog? [closed]

Hello there! I am a WP Beginner and I am banging my head on how to recreate this table/catalog. I went through a couple of plugins like Ultimate Product catalog, MyListing (paid) and most of the WP ...
0
votes
1answer
757 views

How to access custom Wordpress database tables

I have this sample code that I found online that's supposed to count the number of rows in a table. Of course... It works, but when I created my own table using phpMyAdmin... It no longer works. What ...
3
votes
1answer
269 views

Display Tables in a slider

I'm developing a site where I would like the user to be able to flip through tables, sort of like a gallery. I would like to see one table at a time, and be able to click on an arrow and see the next ...
1
vote
1answer
41 views

WordPress plugin output formatting

I'm currently working on my very first Wordpress plugin, and it is coming along nicely. I do have one question about the formatting of the generated output. At the moment, the plugin outputs a table ...
1
vote
1answer
1k views

Sum the total amount of a specific product purchased per user and display in table

I asked this in Stackoverflow but figured this would be a more specific domain to answer my question... I have a large mysql table (in woocommerce) where people can purchase items more than once. My ...
0
votes
1answer
526 views

How to build a dynamic data table with backend fields for the user

Since i am very new to wordpress, what is the best way to create a custom dynamic data table that a user can add/modify or delete data from the backend? what i need as a final table is something like: ...
1
vote
1answer
54 views

How to handle a CSV with 65,000+ rows and make it searchable?

I have a csv of 65,000+ rows. Each row only has two fields, an ID code and a Description. This csv will get updated every year or so. The users needs to be able to type in the code and get a list of ...
1
vote
1answer
66 views

The function can not create a table on MariaDB server

The function works on MySQL server well but it can not create a table on the MariaDB server. What could be the problem? public function create_table() { $current_version = get_option('...
0
votes
1answer
25 views

Table styles disappear when updating content

The tables on my website all have custom code for their style. Lately, when I go in to edit the content of the table (not the code), the style will completely disappear on the webpage when I update it....
1
vote
2answers
83 views

Why my database table not created on activation?

I try to build an plugin with an custom db table. So I include the notifications.php in the plugin index.php file. If I do a die; in the public function init() (in notifications.php), it dies so it's ...
0
votes
1answer
40 views

Is it a good idea to add a column to the posts table?

I'm making a custom theme for a client who has need of two custom post types. I'd like to join them together (it's a one-on-many connection) and thus was thinking of adding a column to the posts table ...
0
votes
0answers
486 views

How to add custom field to wp_list_table

I am trying build my own wp_list_table. And i am using this following code: https://github.com/pmbaldha/WP-Custom-List-Table-With-Database-Example/blob/master/custom-list-table-db-example.php It is ...

1
2 3 4 5