I'm trying to use add_to() in the latest version of Pods (2.3.18) and it doesn't seems to be creating the relationship in the database table (wp_postmeta). What I'm doing is:
$postPod = pods("post", $post_id);
$postPod->add_to("field",…
My project is a historical photographic archive and using NextGEN Gallery is a more elegant solution than my attempt using Pods. I have a search plugin customised to be used with Pods.
I want to know how to target the wp_ngg_pictures table using php…
I've got some custom post types set up in Wordpress using Pods and linking them using relationship fields. Now I'd like to display (and link to) the related custom posts 'postB' from a single post 'postA'. I also just want to display those posts…
Which is the most correct way to validate inputs on new pod save from wordpress backend if the pod is an advanced post type with is own table?
I also want to return an error message if the inputs are not fixable.
Thanks!
I'm using the fantastic Pods plugin to extend Wordpress's basic content types with a few custom ones. I've build an advanced custom type which means I don't get the automatic oEmbed support built into the native page/post types. I've structured it…
I have a simple pod with a boolean called featured. I’m trying to use the find() method (using the pods() shortcut) to list all pod entries that have the featured boolean set to true on a page template but I can’t get it to work. I found this answer…
[UPDATED]
I have three tables that are defined by one table and the relationship between those three tables are defined by another table like below:
Table #1: wp_pods_cities [Cities PODS]
item_id city
-------- ----------
1 Albany
2 …
I have two Pods:
course
participant
The pod course has a PICK field to the pod participant. The field is a multiple relationship field. So, each course item has multiple participants.
I want to find all the course items where a certain participant…
After saving a new pod item, I want to redirect the user to the detail page of the newly created record. How can I achieve this?
I tried using post_save hooks but it didn't work. I used the following code:
function redirect_to_detail($data,…
I am using Podsframework. I have created a pod called 'media'. Inside my pod I want to add a select field with multiple options(like 'online','offline','press'). So whenever someone is creating a new media he/she will have to select one of these…
Is there a way to view the conceptual schema for a database setup using WordPress with the Pods CMS plugin? I have inherited a database using this setup and would like to be able to see all the relationships in a graphical form. PhpMyAdmin can't…
I have a Wordpress site that is using the DIVI Theme and PODs CMS to create and display custom Content Types. I cannot get any of the PODs data to display. A simple PODs Content Type I have created is setup like the following.
Label: Portal…
I have a custom post type created with Pods plugin labelled "Camere" plural and "Camera" singular.
I placed in my page this loop but nothing shows up.
Not even the the text in the anchor tag.
if I change the name of the post type to the singular…
I want to refine my wordpress theme development process which is:
To make a unique-creative design with Adobe XD or Figma.
To convert it to static HTML using VS Code with Bootstrap.
In wordpress, create custom post types with PODS.
To convert the…
I have created custom post types in Wordpress using Pods, and then I am also using "The Events Calendar". I am trying to link events from The Events Calendar to a custom post type called "Projects" using relationship fields.
So I have my “Projects”…