The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
0answers
12 views

How to get a custom pretty-url hierarchy area of site that is driven by data in a non-wp table?

I want to create a section of a wp site that uses custom pretty urls to display data from a custom DB table (e.g. 'locations') Example urls: example.com/locations/asia/india ...
-2
votes
1answer
32 views

How to get value from wp_usermeta table in database?

I ad a custom field to registration form: function wooc_extra_register_fields() { <p class="form-row form-row-first"> <label for="billing_cpf"><?php _e( 'CPF', 'woocommerce' ); ?> ...
0
votes
0answers
19 views

Access a WordPress Table from Outside Project

I have a PHP project on example.com and I have a WordPress installation on example.com/blog. I need to get data for my PHP project from one of My WordPress table. Is it possible? If it is possible ...
0
votes
0answers
10 views

dynamic table for post?

I want to display a list of items with pictures and a short description in a table on a wordpress page. The problem is that I want to the main future editor to be able to add new items at the start ...
0
votes
0answers
6 views

Do I need to worry about filling meta_value column in wp_postmeta table during migration?

I am migrating article/post data from a Joolma site running 'seblod', which has scattered the data across multiple database tables, so I can't use an off the shelf migration plugin. I am transfering ...
0
votes
1answer
31 views

WP_List_Table error on WordPress 4.4

I've read the thread here : Fatal error after 4.4 upgrade class-wp-list-table He was experiencing same problem with me, WordPress won't shows its native table. But unfortunately the given solution in ...
0
votes
1answer
37 views

Change colour of table td based on value

I have this code in my table calling in a number <tr> <td>Total: <?php echo $total_credit;?></td> </tr> I would like to change the background colour or the text ...
0
votes
1answer
40 views

How to insert dash (-) into database using wpdb and new_to_publish hook?

I am saving titles of posts in a separate table for a specific use. The titles are saved to the database when a post is published. code is: add_action('future_to_publish', ...
1
vote
0answers
45 views

Least expensive way to get table prefix in multisite installation

I am writing an api that will have to handle extremely high volumes of calls so, in short, I can not afford to load the WordPress core every call. I have no problem building the API to use the ...
0
votes
2answers
29 views

Should I store arrays in custom fields or create custom tables?

I am developing a website where I have modified the comment form to have review rating capabilities. I ask them to rate them on food, service and location. For each of those option there is ...
0
votes
1answer
35 views

Need help for creating custom table on wordpress

I'm trying to learn how to create and use custom tables on wpdb for a plugin that I'm going to build. So far I've seen a bunch of tutorials and know how to create a table but I'm facing problems ...
2
votes
1answer
35 views

Why majority of fileds in wp_posts table prefixed with post_?

Why for example field in wp_posts table is called "post_title" instead of "title"? Is this somehow related to b2cafelog legacy code for backward capability? Or is there other explanation for this? ...
0
votes
0answers
53 views

Fill table in WordPress with MySQL data

I'm unsure on how to do this as I've never coded a MySQL database directly into a website, so I appreciate any help I can get. What I want to accomplish: I have a MySQL table in my website's ...
0
votes
2answers
63 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> ...
0
votes
0answers
37 views

Sortable tables with multiple header rows

I've been playing with TablePress and it's pretty nice, but I'm looking for a slightly more advanced table plugin. I need to have multiple header rows. The first header row describes the second row, ...
0
votes
1answer
46 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 ...
1
vote
0answers
108 views

Create a table with wordpress plugin boilerplate

I am a new wordpress developer and i would like to create my first wordpress plugin based to wp plugin boilerplate template plugin. My plugin will have to do with my clients data so for this reason i ...
0
votes
0answers
37 views

Front-End Editable Table for NOT logged-in users

not logged in users can edit, modify, save data in a predifined table only on one page. They can enter predefined cells with text or checkmark and are able to add new rows. Preferably one user can ...
0
votes
0answers
22 views

Adding list of Indexes in wordpress document

I have been exploring wordpress to use it for documentation puposes. I'm stuck at a point where I am unable to add a list of Indexes to the document. Can I add indexes to a wordpress document the way ...
0
votes
0answers
27 views

Need a table not logged-in users can modify and/or edit

In a members area registered users can checkmark and / or enter data into cells of predifined rows and columns. Process should be as follows: User can register on the WP-Site He gets login data e.g. ...
2
votes
0answers
124 views

Visual Editor freezing on text highlight since 4.3

Ever since I updated my website to 4.3 my visual editor is freezing every time I try to highlight a piece of text, or even place my cursor someplace random. This only seems to be happening on the text ...
0
votes
0answers
10 views

How do you get all the posts and generate a table automatically in page?

I am trying to make a page with all the interesting posts(tagged with "interesting") and make a searchable table using TablePress. First of all, is this possible? If so, 1) what is a function in ...
0
votes
1answer
55 views

Wordpress mysql table double prefixes

Currently working on updating a wordpress website for a client of mine. The wordpress mysql database has double prefixes in it though. The standard wp_ prefix and her own custom prefix for the ...
0
votes
1answer
37 views

How to use TOC with ACF?

I'm using ACF advanced custom fields plugin to create custom fields for my CPT where i replaced the content editor of my CPTs with a custom Wysiwyg Editor field (field name: full_text) from ACF in ...
0
votes
0answers
58 views

Display posts list in a table with search

I am new to wordpress, and I need to display a table in the frontend with list of posts and a search functionality. Is there any custom code to do both the functionalites(listing and search)? NOTE : ...
0
votes
1answer
169 views

Custom select query two tables by a meta key

I'm using an event plugin which creates wp_ftcalendar_events table in database with start_datetime column. Here's image of whole table: I want to query my posts by start_datetime. I know that I ...
0
votes
1answer
75 views

Include custom table in query

Im using event calendar plugin where I can set event date for posts and it shows in calendar widget. Everything is working as inteded but I would also like to query post by event date. Problem is ...
0
votes
3answers
82 views

Can I create a table on my DB without creating a plugin?

I have a built in form I created on my WP website . I want to store the inputs to a table on my DB. All tutorials that explane how to create a talke include the fact that I have to create a plugin ...
0
votes
0answers
221 views

Creating custom database table with crud operation

I am new to wordpress. I going to work on one project that is having 400 pages. Out of that only 3-4 pages are the dynamic pages and rest are the static pages. What I meant to say by this, most of ...
0
votes
0answers
30 views

Pagination with WP_Table

I have created a table with the WP_Table class, i've just realised the pagination isn't working properly.. I can't quite get the offset right, it's showing the same results across various pages. ...
0
votes
1answer
73 views

Loop posts in a table ordered by a custom field value

I'm trying to generate a table for a custom post type events, in which I have a few custom fields, one of these is the date. I want to display the posts in the table and order them by the Date value. ...
0
votes
1answer
120 views

how to create table during plugin installation in side a class

I am creating oop base plugin. So how to create table during plugin installation in side a class.But I could not create table. This is my approach.What wrong with me. class Notification { ...
0
votes
1answer
42 views

MySQL swap one table for another?

So I have a situation with this WordPress site I'm doing where I have to swap the positions of my featured images. I have two per post thanks to the Multiple Post Thumbnails plugin, but now whatever ...
0
votes
0answers
61 views

Query post by meta key of another table

Im using event calendar plugin where I can set event date for posts and it shows in calendar widget. Everything is working as inteded but I would also like to query post by event date. I know how to ...
0
votes
2answers
31 views

Table is not created in WAMP

I don't know where the mistake is. My code is not creating a table in WAMP: function subscribe_table() { global $wpdb; $table_name = $wpdb->prefix.'_databasesubs'; $charset_collate = ...
8
votes
2answers
632 views

Is it mandatory to use $wpdb->prefix in custom tables

Sorry if this question is trivial. I'm just beginning to develop plugins in WordPress. In all the tutorials I found this: while creating the custom tables, $wpdb->prefix is used. Example: ...
0
votes
1answer
35 views

dbDelta not installing database

I'm not sure why this isn't running. When I output dbDelta it says that it created the table, but it doesn't. I think my SQL is valid. Taking everything out between id and UNIQUE KEY results in the ...
0
votes
1answer
69 views

Use members from 1 site on another one

I have two different wordpress installations and want to use the same users, I have Site_A with all the users logins with buddypress and bbpress, Site_B will be capable of letting the users from ...
0
votes
1answer
199 views

Google does not index data from custom table used for a plugin

I've got an online shop plugin (made on my own) which uses custom tables for storing data about products. For list of product and for product detail I created WordPress pages and used shortcode to ...
0
votes
1answer
91 views

Plugin does not create a custom table upon activation

I have a problem as the title says. My plugin does not create a custom table when it's activated. My code is: function bsp_create_update_table() { global $wpdb; //geting the acces to a wp tables ...
0
votes
0answers
86 views

make custom user table column searchable

I created a new meta value on registration and have it added to the profile as well as displayed on the user list as a column. But when I search the user table with the value it doesn't return the ...
0
votes
1answer
457 views

Can i set css class for table via TinyMCE [closed]

I'm using TinyMCE plugin. And now i need to set css class for table. I found some info on http://www.tinymce.com/wiki.php/Configuration:table_class_list . But how can i apply it in TinyMCE plugin for ...
0
votes
0answers
24 views

Join custom tables

i am wondering if it possible to create two custom tables in wordpress which are related? I have found out that that FOREIGN KEY can not be used, so is is possible at all?
0
votes
0answers
19 views

looping thru custom table, and sorting by usr_id and date

so for the last months i've been learning my self basic php, and javascript. and as so many before me i've hit a brick wall at foreach so i hope there is a nice guy in here who willing to set a ...
1
vote
2answers
65 views

how to change appearence of the content of default post list columns?

Speaking about backoffice here. I usually add columns and filters to the backoffice for certain custom post types. No problem here. BUt what if I would simply like to change something on the content ...
0
votes
1answer
131 views

dbDelta not creating tables with composite keys

I've been trying to figure this one out for 3 days now, reading every reference on dbDelta I can find. My ultimate goal is to create a table of unique ad_id, ad_trigger pairs. This does not create a ...
0
votes
1answer
20 views

How to avoid repeating similar properties for all tds of a table in a wordpress post

Consider the following table. <table> <tbody> <tr> <td style="text-align: right; direction: ltr;">1</td> <td style="text-align: right; direction: ...
0
votes
0answers
112 views

Woocomerce - create Make-Model-Year dynamic dropdown filter

I'm going to create a Make-Model-Year dynamic filter for Woocommerce products. I'm trying to decide, if I should use hierarchical taxonomies and tax-query for this, or create a custom table and use ...
0
votes
2answers
180 views

Add pagination to table generated by wp_query

I spent hours trying to find a solution to this, but I am not able to figure it out. I have a table that shows user's data and I am trying to add pagination to it. I have tried by adding "paged" in ...
0
votes
1answer
318 views

Creating a search form and displaying results

Im trying to create a plugin for a site where the user can see a table of orders from customers in the Wordpress dashboard, It's a custom db but I'm using the wp-list-table, I've wrecked my brain for ...