Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [table]

The tag has no usage guidance.

0
votes
0answers
8 views

WordPress Form and Data Table

I want to embed a form on a WordPress page that collects some information from an individual and then submits that information to an email address (from a data table) which remains anonymous to the ...
0
votes
1answer
15 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
0answers
4 views

Problems displaying a table on mobile version of my site [migrated]

I've been trying to fix this issue for 10 days now and still i couldn't find any solution. I have a table that shows perfectly on desktop version but on mobile it gets out of the page area, i tried ...
0
votes
2answers
38 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 ...
1
vote
0answers
60 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
0answers
11 views

How to use TablePress for an Admin page?

TablePress is used mostly for posts on a website. I wish to use it for data on one of my custom plugins. Is it possible to somehow tweak the functionality of the TablePress plugin so that I can use it ...
0
votes
2answers
25 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
0answers
16 views

Sending WordPress Data (API) to SQL table

Looking for a solution that can send our WordPress checkout data to a local SQL database in certain table. We have custom form to capture data needed from user for our YII application, just no way to ...
0
votes
0answers
13 views

Home page on mobile version 2 column images

Good day, I have a question. What I am doing wrong? I need two colums on mobile version for the fruit boxes on home page. But it still one column. How I can change it? Site: https://entregasfrescas....
0
votes
0answers
12 views

Integration between Datatables Server Side Processing and Wordpress

I have a created a table using Datatables and a simple SELECT query from my Mysql database. I realized that for big amount of data, it's better use server side-processing to speed-up the records ...
0
votes
0answers
12 views

Gutenberg table spacing

I would like to reduce the spacing between rows on tables that I create. Here is a sample and the CCS that I've created so far. I've tried every thing that I could think of to get it to change but no ...
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 ...
0
votes
2answers
30 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
25 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
24 views

What charset/collate should we set for our custom database table?

I've seen this nice topic, but my question might be slightly different. Is it good practice to set your custom DB table (i.e. for plugin, which saves utf8 text) charset explicitly , like: CREATE ...
0
votes
0answers
13 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 ...
0
votes
0answers
70 views

CPT with custom table? Create posts automatically?

Variations of this have been asked in the past, for example: HowTo: Custom Post Type (Meta) to Custom Table , but I am wondering if there is a better answer for my case. I have an SQL table with 30 ...
-2
votes
1answer
34 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
127 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
47 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
22 views

Worpress 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
389 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
203 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
33 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
0answers
41 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
14 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
46 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
39 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
278 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
vote
1answer
112 views

Jquery not showing in homepage

*Update! Table is showing but only in Chrome browser, not other browsers. Tried in Safari and Opera and did not see table on screen. Please help! Need to be compatible with all browsers if possible. ...
0
votes
1answer
342 views

Gravity Forms - gform_field_value - query custom table breaks functions.php

Trying to prepopulate a form field with custom table value. I am adding a function to functions.php add_filter( 'gform_field_value_HomeCity', 'populate_HomeCity' ); function populate_HomeCity( $...
-1
votes
1answer
269 views

Add new MCE button for toggle specific cell background color

I'm using tables as a calendar for free dates in my schedule. You can see free dates here. http://www.zachrannastanicelipec.cz/smysly-terminy/ Now I'm using the Table->Cell->Cell Properties->...
0
votes
1answer
61 views

get the count of table rows

What is wrong in my code? It doesn't get the count but it is inserting into the database. function r_rate_recipe() { global $wpdb; $output = array('status' => 1); $post_id = absint($...
1
vote
2answers
66 views

Get Value from Column in Plugin Table [closed]

I am using Time.ly's All-In-One Event Calendar plugin. I am trying to get a value from the wp_ai1ec_event table in the column entitled "end". I want to get this based on the post_id. Since this is a ...
1
vote
1answer
129 views

HTML table from shortcode with multiple parameters

I've struck this problem, and I just can't solve it. I've come a long way with all the maths behind the table and the table being put out as a result of a function behind the shortcode. Then I also ...
0
votes
3answers
73 views

echo php values in table - strange behaviour, not all values are shown

I am currently despairing on a for me very strange behaviour when echoing php values to html table cells. I simply want to loop through an array and print out the values into a table but only some ...
0
votes
1answer
45 views

Separate by Category Post Type

Assuming i have this kind of data $query = new WP_Query(array('post_type' => 'Hotels','posts_per_page'=>-1)); but i want it to separate them by specific field (eg location) and to trigger this ...
0
votes
1answer
225 views

HTML Form Submit to table in same page

I have the form and works fine. On submit I have no idea where the data is going. I want it to go into a table on the same page. What am I doing wrong? <form id="myForm" action="" method="post" ...
0
votes
1answer
14 views

How do i can data from my custom form to a custom table

Hi i am struggling to find the correct code i need to insert the values from a custom form to a custom table i have already created. My form is as below Add a activity ...
0
votes
1answer
24 views

Table editing in Wordpress

I'm using a table in Wordpress to get my spacing right, but I'd like to remove the border completely or make it white so it isn't visible anymore. If anyone knows how to do that I'd appreciate it. I'...
-2
votes
1answer
23 views

echo spesific title get_the_title

I have two title QCM Rare I want to show the title into table header foreach($quiz_ids as $quiz_id){ echo '<th><a href="'.get_permalink($quiz_id).'" target="_blank"> '.get_the_title(...
1
vote
1answer
73 views

Change Wordpress prefix for only one table?

I have a little question about Wordpress database. I want to know: Can I change the wordpress pefix for only one table? Thet means I use on one Wordpress Page two Prefixes. If it works how I want to ...
0
votes
1answer
25 views

In WordPress, I want to run a loop to get posts in tabular format

I am having difficulty while fetching all the posts in WordPress using while loop. I need to fetch posts in a tabular format in which 1 row should contain 3 column cells.
1
vote
1answer
142 views

Storing product price data in the database

I am writing a Wordpress plugin to store product data that is pulled from the Amazon Affiliates API. My goal is to have an admin page where I can add new products and view/edit/remove existing ...
-2
votes
1answer
53 views

table chaos since upgrade to 4.8

Changes (via text editor) to existing html tables (in pages/posts) appear correctly in visual editor and when tested directly in browser. but when saved and viewed from front end offer haywire results:...
0
votes
2answers
488 views

How can ι create my own (custom) WordPress table/list?

I don't know exactly how is the correct name, but i want to create my own table like the default wordpress table : I wanted to ask, does the WordPress provide some API to create it?
0
votes
2answers
72 views

If I update WordPress my custom data will be deleted from the wp_users table?

If I update WordPress my custom data will be deleted from the wp_users table? I add new custom field and store data to users at this field if I update WordPress and WordPress needs to update this ...
0
votes
1answer
179 views

display menu as table layout

I want the menu of this site to look like the menu of this site. It's clear that they use display table and table cell but not sure how to implement it, been playing with css for a while, couldn't ...
0
votes
1answer
38 views

data retrieval presents last set of data

in WordPress, I have a custom table in which I want to store settings for use in a plugin. The code for the admin page of the plugin, contains a form and prior to displaying the form, I access the ...
0
votes
1answer
22 views

database select issue

I am writting plugin where i have custom table. I am trying to access one random row from last 5 rows from this custom table. "SELECT * FROM $table_name WHERE id > MAX(id)-5 AND id < MAX(id)+1 ...