Questions tagged [table]
The table tag has no usage guidance.
248
questions
0
votes
1
answer
10
views
How to create specific wordpress Table
How can I create such table in wordpress using plugin? Any hints to do it?
0
votes
2
answers
1k
views
CSS for Table Rows and Columns
I have a simple table layout as per below:
<table>
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>4</...
0
votes
0
answers
25
views
How to set an exact search box in tablepress plug-in
I installed TablePress and set a table that contains 20 rows and 3 columns.
I want to let people to search an unique digit number from a column and
show the result as value of the same row or three ...
0
votes
1
answer
1k
views
Dynamic data table from external json feed
First of all, while I'm fairly comfortable with code, I'm also quite new to Wordpress development, JS, and PHP so please forgive me if this is not explained very well, or a real rookie-type question.
...
0
votes
0
answers
16
views
Have Wordpress Use a Different Database for users
I have imported my users from Filemaker into a different table in Mysql. Can I have my user login to that database instead of the wp_users table. If so how do I connect it?
Thanks in advance for your ...
-1
votes
1
answer
744
views
Show a table from data submitted by a form from a user
I would like to show a table on my wordpress site, which is filled by registered users.
How can I realize this?
So my thoughts are:
Registered users should be able to submit 2 variables through a
...
0
votes
2
answers
150
views
Identifying Plugins Based on Tables [closed]
Each time I attempt to import my test server db into my production server, I get the error below:
WordPress database error Table 'adminjsds_wordpress.wp_actionscheduler_actions' doesn't exist for ...
0
votes
0
answers
72
views
How to avoid my tooltip text (dis)appearing below my pricing table?
Hi folks i am adding tooltips to each feature of my price table, but as you can see, a big part is hidden below the next column of my pricing table. How can i put it in front?
I have tried to add z-...
0
votes
1
answer
158
views
Serial Number from custom table not appear in woocommerce_email_before_order_table action
I have a custom table with serial numbers in WordPress. I have successfully got the serial number to appear on both Order received page after testing with Stripe:
and it also appears on WooCommerce ...
0
votes
0
answers
31
views
Display the output from Custom User Fields from a Wordpress user profile on a Wordpress Custom Page
I created Custom User Fields on a User Profile Using this tutorial.
How do I add a field on the Users profile? For example, country, age etc.
I created three custom fields with the names:
"ID&...
0
votes
1
answer
604
views
Insert double entry in DB
I created plugin and my plugin create new Table in DB. My problem is when user type something in field firstname, lastname... and click on button Submit, that go to my table and that is ok.. but then ...
0
votes
1
answer
25
views
Table Sorter sort by span title?
I'm using table sorter plugin to sort a table on my website.
One column has only unsortable signs as content.
However I'm trying to sort this column by value.
It's the column IMDb here: https://...
0
votes
2
answers
830
views
What is my error trying to create a new table in the database?
I tried creating the tables in different ways and I always get the same error:
"Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the ...
15
votes
1
answer
8k
views
Performance with autoload and the options table
I am playing around with the autoload column of the options table. I didn't find much information about how the autoloaded values are used. I tried a print_r($GLOBALS) and saw that the autoloaded ...
8
votes
2
answers
2k
views
Wordpress Unit Testing - Cannot Create Tables
I'm using PHPUnit to Unit Test my WP plugin on top of the WP testing suite. Everything works fine except that when I try to create a table via the setUp method, the table doesn't get created.
Here's ...
0
votes
0
answers
124
views
Create multiple pages with tables from json file
I have this problem on Wordpress.
I have a json file with a structure like this
{
"obj": [
"obj1": {
"field1": "..",
"field2&...
1
vote
0
answers
95
views
Wordpress Multisite - can I somehow merge the tables?
First of all, I need to say I'm not a fan of WordPress at all and I have never fully understood it.
But I have inherited a multisite wordpress where anyone can register his own site. All in all, we ...
1
vote
1
answer
502
views
How to add a sortable date column in an admin page?
I'm trying to add a date column to an admin table (to woocommerce order page, just to be specific, but this code is not plugin dependent). The code works for adding the column, but whenever I try to ...
0
votes
1
answer
21
views
Some error in mysql script ? Can't working to create table
Has some wrong in my code ???
please help
<?php
global $lots_db_version;
$lots_db_version = '1.0';
function lots_install() {
global $wpdb;
global $lots_db_version;
...
1
vote
0
answers
140
views
Clone wp-admin/users.php (Users Admin Page)
I have created a new page in admin. I need to show all the users in this page(like Users admin page).
The reason for this is because i want to show certain custom user roles only on this page.
I tried ...
1
vote
3
answers
8k
views
How to get user ID during registration and add it to a custom table
I am trying to get the user ID during registration and automatically add that ID to my custom table. I am using the WP-Members plugin for registration.
Is it possible to get user ID on the fly while ...
1
vote
1
answer
30
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 ...
1
vote
1
answer
563
views
WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
Desired outcome
I want display: none to be applied to the entire table after form submit button is clicked,
because once I got the order number ( $order->get_id() ), in a second step I want to ...
0
votes
1
answer
102
views
Register custom table for WP to use in a plugin
I am trying to add a custom table handler to $wpdb.
public function __construct() {
$this->register_tables();
}
public function register_tables() {
global $wpdb;
$wpdb->tables[] = '...
2
votes
3
answers
2k
views
The plugin generated x characters of unexpected output, $wpdb not defined
I've written a simple Wordpress plugin to create a new database table.
The new table ought to be created when the plugin is activated.
When I try to activate the plugin, I get the following error:
...
0
votes
0
answers
23
views
Is classical wordpress eidtor a good option for me to include a large table with a large number of images on my webpage?
I am a beginner at using WordPress for my website. I generally design my website using the classical editor provided by WordPress and by installing very few plugins such as Beaver Builder and code ...
0
votes
1
answer
194
views
Table block - Wrap table
I am using Gutenberg to create tables. Gutenberg tables have the following front-end structure :
<figure class="wp-block-table">
<table>
...
</table>
</...
1
vote
0
answers
161
views
Filter table with dropdown
I'm making two dropdowns of location and category to filter a table by internship location and category. I want to make it so that a user can select one or the other and it will still filter it. I ...
0
votes
1
answer
2k
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
1
answer
472
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
0
answers
24
views
Plugins custom table not being created on activation
I'm developing a WordPress plugin and for some reason it's not creating a custom table on activation.
Here's my code, I had to change the table name, field names, etc.:
function exPlugininstaller() {
...
1
vote
1
answer
102
views
input data and output table [closed]
I need a solution to do this with WP.
In admin: I need to input data into database (name, surname, certification, level, date of issue).
In Frontend: client can use a specific search field to search ...
0
votes
1
answer
342
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
1
answer
66
views
create pages automatically and dynamically in wordPress
Is there an easy way to create pages automatically and dynamically in wordPress? Let me explain further:
I am developing a website where I have more than 20 equal pages, with the same layout, where ...
1
vote
0
answers
344
views
DROP TABLE with uninstall hook not working
I wanted to explore more options and thats the reason for me building my first WP Plugin. I tryed to follow the coding standards, but I am struggeling hard right now. I am trying to drop my created ...
1
vote
4
answers
2k
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
1
answer
204
views
Get All Results From Other Users That Share The Same Custom User Meta As Current User
I am pretty new to extending wordpress and trying to get my head around using Mysql and PHP to fetch data into a html table and print it on a wp page.
What i have so far is fetching all form data to ...
0
votes
1
answer
223
views
$wpdb->delete not working for me
I have a function (see in full below) that syncs data into WP from an external database. It's a list of scheduled items. When the schedule is updated, old data should be deleted. See this snippet:
$...
0
votes
0
answers
218
views
A dynamic table plugin to get user input
I just wonder if there is a Wordpress table plugin where the user can add some data in some certain cell and get a result in another. Just look at the following image:
In a table like above, I want ...
0
votes
1
answer
2k
views
Saving contact form 7 data into custom Table
I need save the Contact Form 7 data in a custom table because the Contact Form CFDB7 save me the information in the same colum.
some one khow a plugin make this or maybe a php functions for this?
1
vote
1
answer
674
views
How to create a form and display its content as table in admin panel?
I am new to Wordpress CMS and have been into a problem and don't know how to go about it. The problem is I want to create a form with first name, last name, phone number and a submit button. On ...
0
votes
1
answer
17
views
Right way to store a large set of similar information on website? [duplicate]
I want to add a list of companies' information to my website and I want to display the list in a page. Then by clicking on each company, user can see more information about that company in its ...
0
votes
1
answer
465
views
How to edit custom table data in frontend
I am trying to edit the data from the table in the frontend. when I click the edit the form doesn't anything it show only empty field
Html Code
<form action="" id="postjob" ...
0
votes
0
answers
214
views
I want to schedule email (date, time is in database->table) wp_schedule_event() not working
I want to schedule email (date, time is in database->table) wp_schedule_event() not working, I want to send emails to clients on future different dates and times from database, I am developing ...
1
vote
0
answers
36
views
Search bar in table in wordpress
I used this code in the table plugin. It checks data through only one column, I want the code to use all columns.
const searchFun = () => {
let filter = document.getElementById('myInput').value....
0
votes
1
answer
100
views
Why Query is returning empty array?
I am trying to execute a query using the below code but I'm getting empty array in var_dump.
global $wpdb;
global $post;
$slug = $post->post_name;
$course = $wpdb->get_results( "SELECT * FROM ...
1
vote
0
answers
36
views
Store multiple custom field as post meta per post(css, js, html, 2 link) [closed]
I want to make Wordpress faster. So, instead of using multiple templates, I want to put sidebar(html), small css file(syntax highlighter, prism.css css content as inline directly to post, to reduce ...
1
vote
1
answer
174
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 ...
0
votes
1
answer
22
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</...
8
votes
3
answers
5k
views
Removing filter dropdown in posts table (in this case Yoast SEO)
I don’t need Yoast SEO meta box for one post type so I removed it with remove_meta_box(). Removed unneeded columns in post table by unsetting columns with manage_edit-custom_post_columns, but drop ...