Skip to main content

All Questions

Tagged with
0 votes
0 answers
22 views

Can I log the searches that are returning 404 in the DB?

I would like to log every single search query for which one gets 404. For example, if I search Cat in the search box, but my website doesn't have any content as cats. I would like to log that "...
Rajin Sharwar's user avatar
0 votes
0 answers
116 views

Advice how to connect custom database with Wordpress, change data in Wordpress and finaly use this data

Is it possible to create a page in WordPress that will allow logged-in users to create new or change existing content from the custom database? So I think this task could be divided into three parts: ...
Sladjan Ilic's user avatar
1 vote
0 answers
69 views

Is there any way to get all meta and standard columns for any WordPress object after searching based on meta key and value

I have a scenario where I have a meta key and value and a WordPress object name, I want to search based on the meta key and value and retrieve all details stored in db, for example if this is for a ...
Manas's user avatar
  • 26
1 vote
0 answers
263 views

How To Save Data From Remote APIs To ACF?

I've been attempting to ingest remote data from an api partner into Wordpress. To data I've used wpallimport plugin, but it's quite limited. How would one connect with a remote api and then save the ...
MisterTamper's user avatar
0 votes
0 answers
210 views

Having a repeating custom field in admin custom post type, what I'd go better with, for DB's sake? ACF repeater or query a different post type?

I have: A main custom post type - 'Cards' - each post showing its ACF repeater custom field - 'operations' - with the following sub-fields: 'add/remove', 'amount, 'value', 'date'. Let's say the fully ...
PatrizioRD's user avatar
1 vote
0 answers
333 views

Strange issue saving custom field data for a WooCommerce order

I have an issue with WordPress update_post_meta() function. So I have made a custom input field for WooCommerce orders which hold Tracking number. Most of the time everything is running smooth and I ...
John McClane's user avatar
0 votes
1 answer
296 views

What database state changes happen after a post is manually "updated" with no changes?

After importing a series of posts (using WP All Import), my (custom) page template is unable to access the post's contents/fields. However, if I open the post in the editor and click "Update"...
nathan lile's user avatar
2 votes
1 answer
2k views

WP All Import - Using Xpath to set a select value

I'm working on setting up an import using WP All Import, the idea is to update/add/remove posts within a custom post type which contain ACF fields. The CSV we are importing contains a column called &...
Ash's user avatar
  • 21
0 votes
1 answer
27 views

when looping through custom post data not appearing

i have a loop that fetch custom post type from the database now when i go to the page the data doesnt appear but when i refresh the page 2 times the data shows here is the code: <div class=&...
Or Shalmayev's user avatar
0 votes
0 answers
80 views

custom post types, custom fields and normalization

I have decided to redesign a plug I developed to use custom post types and custom fields instead of custom tables in the database. I have some questions about abstracting data into new post types. ...
guardiancrescent's user avatar
1 vote
0 answers
96 views

Store CPT 'Reviews' average ratings to a WordPress DB table or to a DB custom table?

I am working on this portal in which users can review the services (with description and rating) of a cultural place. BASICALLY, I created two Custom Post Types (CPT) with Pods, one is ...
sohlweber's user avatar
0 votes
2 answers
2k views

How to copy data from a custom field to the post_content?

i used ACF to store post data in custom fields. i'd like to copy the data from a wysiwyg field to post_content into wp_posts table. How can i do this? Roughly: data is on wp_postmeta table, where ...
Michael Rogers's user avatar
0 votes
1 answer
231 views

Specifying meta field's column type in Database using add_post_meta

In my code, I enhance one of my content types by following code: add_post_meta( $post->ID, 'favourite_fruit_code', $value ) All goes well, but I would like to have power over specifying what a ...
Fusion's user avatar
  • 137
0 votes
0 answers
29 views

Is there a way to save different data when USER interacts with the same POST?

I would like a kind of relationship database without create database because I’m not very confident with it. So I think about an alternative using Wordpress default features like posts, categories ...
Steffi's user avatar
  • 755
0 votes
1 answer
37 views

How to replicate data storage and querying using Wordpress. Custom posts/fields or Custom db tables?

I am new to Wordpress development but have experience of other dev. I would like to store information that in a more trad setup would mean setting up some tables with primary keys and then a joining ...
HMcGoonish's user avatar

15 30 50 per page
1
2 3 4 5