Stack Exchange Network

Stack Exchange network consists of 174 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
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
22 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 ...
-1
votes
0answers
10 views

Add button or functions to column in table from csv file import

I publish in a site information received from a .csv file as a table with a plugin of type wpDataTables or Table Generator with for example the following information in the following form: "Job Name" "...
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
16 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
12 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
40 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
31 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
0answers
147 views

Woocommerce Product Table Plugin Custom button & add to cart link

I recently purchased the Woocommerce product table from barn2, and started working with it. I managed to hide the price for logged out users and change the text of the add-to-cart button but I am ...
0
votes
0answers
9 views

User custom data show in a table

I want to show the user that is logged in what his/her points and training are in a table. They are both in the user data section in wp. Any suggestions, add-ons?
0
votes
1answer
56 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
42 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
276 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
111 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
30 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
35 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
39 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
38 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
253 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
103 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
307 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
240 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
54 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
60 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
94 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
64 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
42 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
136 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
13 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
63 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
132 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
52 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
414 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
66 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
151 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
37 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 ...
1
vote
1answer
1k views

Tablepress won't update the table data [closed]

I'm new to wordpress and it's features. I want to show some data like below image. I could make it with tablepress plugin, but if the source CSV file changes, the table values won't change. How can I ...
0
votes
1answer
79 views

Is it possible to add a shortcode's content to a table?

Is it possible to add my shortcode in a table? [vc_column_text] [st_custom_meta key="st_custom_available_dates"] [/vc_column_text] For example, if my custom_meta has the value of &...
1
vote
0answers
48 views

Retrieve data from the database to table such as comments in the admin control panel

Hi guys: I hope that you will be in good health I use the form below to enter data into the database in WordPress. <form action="<?php echo admin_url('admin-post.php'); ?>" method="post">...
1
vote
0answers
16 views

Modification of how the data is controlled/showed and stored

Before you read: The ticket is just an example we don’t want an actual plugin for that. It is just to visualize the issue. Ticket can be a support ticket, invoice, sale etc. Just like wp_post has “...
1
vote
1answer
76 views

update custom post type meta from a shortcode

I have the following scenario: I have a custom post type called "tablepress_tables" that is create by the plugin "Wordpress", Tablepress has a shortcode to display the number of rows which is [table-...
1
vote
1answer
313 views

update a post meta from a single table cell TablePress

I have the following scenario I have a lot of tables created by TablePress. one column in them is called Size which displays the size of some files in bytes. tablepress have a summing function called "...
1
vote
1answer
578 views

How to edit mySQL wp_posts table from plugin php?

I have a need to change a plugin that adds entries to the wp_posts table. Currently, it is lacking in that it cannot target some (other) plugin specific columns. I am endeavoring to edit the plugin so ...
1
vote
2answers
619 views

get random row from custom table

i have custom table where i store quotes and author function quote_install(){ global $wpdb; global $quote_db_version; $table_name = $wpdb->prefix . 'quote'; // create sql your table ...