WordPress stores user generated content, along with other configurable information, in a a database (typically MySQL).
1
vote
1answer
74 views
Importing Data from a Non-WordPress database, into WP
I'm migrating data from a totally different database style into WP. The main issue I'm trying to wrap my head around is how to import any meta data, given that WP uses a key value pair style for meta ...
1
vote
1answer
85 views
How to use custom taxonomies to reference complex relationships?
I'm working on a site that will in part house information on products that many people have worked on in different roles. I'd like for people, the projects they've worked on, and their roles in the ...
1
vote
1answer
42 views
cross-site custom menu
i have a multisite whice i want to separate because its unneccery as two of my sites are on the same DATABASE and all i need is actually the dynamic custom menus which i have built in the main site(to ...
1
vote
1answer
42 views
how to migrate wpmu from one host to the other?
this issus is different fromm How to migrate wordpress users from one blog to another
since i am using WPMU, i have backup the database, and then import it to the other host, also i have changed the ...
1
vote
1answer
83 views
page not updating with database
I have code which updates the database fine, but the page doesn't update correctly! I have to refresh the page a second time for it to update correctly.
Here is the code below ...
0
votes
1answer
16 views
Split WP_POST table based on post types
I was wondering if it's possible to get my posts from 2 databases depending on the post type.
I'm using HyperDB but can't seem to get it to specify the database based on post type. I Basically need ...
0
votes
1answer
35 views
How do I find posts?
I am a new website administrator and I am having issues with posts not showing on dashboard. Posts All(21) Published (13) Pending (8). This is a listing site and the posts used to show up. Any ...
0
votes
1answer
23 views
WordPress database error Unknown column
I get this error in my database log:
[05-May-2013 21:13:31 UTC] WordPress database error
Unknown column 'region' in 'order clause' for query
SELECT * FROM tmp1db_wpuf_customfields ORDER BY ...
0
votes
1answer
30 views
Print output of Table Creation
I am creating a few tables and I getting the following message:
The plugin generated 440 characters of unexpected output during
activation. If you notice “headers already sent” messages, ...
0
votes
1answer
29 views
Check in function on custom page
I have a website about places and attractions in my country. Each place/attraction is a different custom post. On this page, i would like to add a button with the value "Check In" and if clicked by a ...
0
votes
1answer
38 views
Clipper theme needs database?
I have used clipper theme for my coupon site designing. is it necessary to create a database for this or shall i upload my wordpress files to the webserver?
Happy Coding
Dinesh
0
votes
1answer
75 views
Query specific posts per user selections from dropdown menus
This may be a little different than most people do. I'm trying to show certain posts that are determined by 4 different "categories." I have a large database table full of "products" (I'm using the WP ...
0
votes
1answer
46 views
Import custom database into wp and keep the post id
Hello guys I have a project where I need to import an old database to wp but I need a solution to keep the old id's as posts id so i can make the links look the same as the old website in this way we ...
0
votes
1answer
25 views
Recommended Post Structure for DB Storage
I'm trying to write a plugin that would help my local little league manage their league, and though I've read the New Table vs Post Meta question, it's still a bit unclear and I'm hoping someone here ...
0
votes
1answer
21 views
What is best for saving lot of extra detail of user?
In my site i need to store 200 extra data for each user. Now i know about the user meta option. But is it a good way to save 200extra field for each user?
Or should i create an extra table in the ...
3
votes
0answers
134 views
How to use custom database tables for custom post types?
I need to use an existing database table as a Custom Post Type (CPT) to integrate it with wordpress.
I've considered @boone-gorges thoughts here (should I?) and have decided, Yes, I need to use a ...
2
votes
0answers
61 views
Plugin development with unit tests
One of the things that my plugin does is creates a number of SQL tables as part of a versioning function (that is run under the admin_init hook as I couldn't find a better wordpress way of doing ...
2
votes
0answers
96 views
Plugin Not Working, But Only On GoDaddy Hosted site
I'm creating a plugin for a friend to log search terms on his site. It's very basic. It creates a new table to store terms entered in the search box. It converts the search term to lower case, ...
2
votes
0answers
222 views
comment_post_ID 0 (cannot remove from dashboard)
Ran across something a bit odd that I haven't seen before. A client has a pretty active blog and uses Akismet (paid) to protect against spam. At least once a day, they're reporting a spam comment that ...
2
votes
0answers
599 views
Insert query inserts 2 entries, should insert 1
I've written a small posts by views plugin, well at least started one.
My tables are set up but when they are updated the code adds 2 entries into my table when a post is loaded and views are ...
1
vote
0answers
44 views
Multisite 404 on pages - rewrite error breaks database
After updating my reading settings on my multisites, I get 404 errors on all my pages.
The only way to fix the issue is by reverting the database to previous version, that is the only way it can be ...
1
vote
0answers
30 views
Backup another database with BackUpWordPress plugin
Is there any possibilities to add another database which is connected to other wordpress plugin?
My site is using two database: main wordpress db and additional db for plugin data. The Backup includes ...
1
vote
0answers
42 views
Copy post to separate database with “add_action(…)”
I'm basically trying to have a copy of a post be sent to another database's table when it's published. I've gotten it to add a new row in the new table, with my own static arguments, but I'm not sure ...
1
vote
0answers
122 views
Should i use wp transient with w3-total-cache apc caching
Should i use in my queries wp transient like this -
<?php
if ( ! $my_paged = absint( get_query_var( 'paged' ) ) )
$my_paged = 1;
if ( ! $my_query = get_transient( "567recent_$my_paged" ) ...
1
vote
0answers
135 views
Easiest Way to Authenticate WP Users Using an External DB?
I have been looking for the best/easiest way to share users on a WP blog (in a subfolder) with the MAIN site's user database so that people do not have to register/log in on the WP blog when already ...
0
votes
0answers
7 views
How to export/import theme customizer settings?
I am wondering if it is possible to export theme customizer settings(theme_mods) to be imported into another install of the same theme. I know that the settings are saved into the database so I am ...
0
votes
0answers
17 views
Plugin for organizing and sharing information collected from contactforms
I would really appreciate to get some help with a wordpress page that I'm creating.
I want to create a page where people who are interested to be contacted for a service I'm providing are sending in ...
0
votes
0answers
13 views
Using Zoho Creator Database inside Wordpress Frame
Our agency network has an existing Wordpress-based website, and we would like to use Zoho Creator sort of like an intranet which is accessed through the Wordpress site. Basically, something along the ...
0
votes
0answers
7 views
update other databases when main databases update
WPMU membership plugin on three WP websites and want to have update the other two sites automatically when someone joins the main website. Do not want to use Multisite.
content on each site is ...
0
votes
0answers
34 views
Host does not allow remote connection, so how do I transfer data to my WordPress site?
I spent the last week trying to get my PHP code on my website to connect to my remote "personal" computer to display some data on a webpage. I just found out today from my web host (ipage)
"our ...
0
votes
0answers
44 views
Install WordPress with SQL database
I am very new to WordPress. I didn't even know it existed until I had to do it for my work. So I started in with a WAMP server with WordPress. That worked fine until we needed multiple sites with ...
0
votes
0answers
39 views
Trying to post information from a remote database to wordpress page
I'm fairly new to Wordpress and looking for some help.
Goal: I would like to stream data from my personal computer's Mysql database and display it on a webpage in my offsite Wordpress hosted site. ...
0
votes
0answers
14 views
Create a generic post type and define its metadata via another one used for categorization
Ok, I would like to share with you an idea I had and ask you what do you think about it and possible drawbacks I'm not able to forsee.
I'm building a database for an association with many kind of ...
0
votes
0answers
23 views
Create hundreds of users with just ID in phpMyAdmin
I'm trying to do the same as this post. But I have a problem with the
insert records into your wp_users table containing all the ID's of the
members you want to import
Right now, I have 3 ...
0
votes
0answers
57 views
Custom query on Wordpress custom table
I am working with a custom table where some values will be inserted or updated if they already exists, I have checked and rechecked the syntax and it seems to be working fine, if I run the same query ...
0
votes
0answers
32 views
how to display the contact form details after user selects date?
Iam using contact form 7 in my wordpress.
I want to display the form details after selecting the dates i.,e when i select 2 dates i have to get the stored details of form between those dates...
I am ...
0
votes
0answers
30 views
Wordpress and BigDump
I am having a bit of a nightmare situation. I was given a testarea on a subdirectory of a friend's client server as a temporary favor in order to test my wordpress site. The path is as follows:
...
0
votes
0answers
20 views
MySQL Engine vs. Charset
I am attempting to have my plugin create a new table. I am fairly new to SQL. I have found two different method for creating tables:
Method I
$table_name = $wpdb->prefix . 'cool_table';
$sql = ...
0
votes
0answers
23 views
How to add drop down sub menu from database fields in the particular menu slug
I am creating a menu(not in admin panel) in wordpress, and I want to add drop down menu from my database table fields in a particular menu slug?
How can I achieve that, using code?
I found the ...
0
votes
0answers
35 views
Wordpress DB collation for hebrew site
My current db collation is utf8_bin with utf8 charset.
When I add image title via admin (attachment plugin) in hebrew language I got something like "u05e9u05dcu05d5u05dd".
What I have to do to fix ...
0
votes
0answers
59 views
Widgets not restored from backup
I've done a little searching here to try to find what I need but most people seem to have these issues when they're moving a site or changing the sql. I'm doing neither so I can't figure out why ...
0
votes
0answers
61 views
Adding Custom field in a signup form not working
I have used the following code in functions.php to add some custom field to my registration form and add it to the db in the wp_usermeta table. But dont know why it is not working. I am using a custom ...
0
votes
0answers
128 views
Add data from front end into custom made table in database
I have a registration form which contains firstname, lastname, organisation, username, email etc. Here Username and email only will be saved in the db in the wp_users table.
I have created a new table ...
0
votes
0answers
31 views
Two Sub-Directories, One Database
I have an existing site install at mysite.com/wordpress (but it is set to be accessible at simply mysite.com). I have also installed a separate WP installation on a sub-domain (publish.mysite.com). I ...
0
votes
0answers
71 views
Plugin updating wp_options table and causing mysql issues
A client of mine has a wordpress site with the database and the wp installation in in a different servers. Yesterday I migrated the wp install to a new web server, keeping the database the same.
In ...
0
votes
0answers
37 views
I am trying to send ajax collected data to the current users database
I am using WooCommerce and added an additional field "location_gps" to collect the location (lat,long) added the ajax call to collect the data. Now I'm stuck getting the data into the current users ...
0
votes
0answers
39 views
WP_Query returns 100 results on homepage
Bit of a strange one this...
I've recently migrated a site from wordpress.com to my own server. In the new location, however, wp_query always returns 100 posts on the homepage, regardless of which ...
0
votes
0answers
31 views
cap_key problem when sharing users and usermeta tables with two installation
I'm following this Custom User and Usermeta Tables to share users and usermeta tables with two installation.
define('CUSTOM_USER_TABLE', 'bloga_users');
define('CUSTOM_USER_META_TABLE', ...
0
votes
0answers
175 views
Share DB tables between two blogs on the same WP Multisite installation
Is it possible for two separate blogs running on the same multisite installation to share tables in the database?
By default, Wordpress adds the blog ID to the table prefix for all of the associated ...
-1
votes
0answers
95 views
Need help to retrive data from MYSQL based on dropdown selection
I am displaying a list of country in the drop down list, retrive it from the database . and i need to display price for the selected country based on the options chosen by the customers in the drop ...


