Questions tagged [podscms]

Pods is a CMS framework that lets you add and display your own content types. Unlike WP custom post types, each content type gets its own table.

Links

103 questions
1
vote
0 answers

add_to() in Pods Wordpress doesn't work

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",…
ninina31
  • 21
  • 5
1
vote
1 answer

How do I access a wordpress table from a custom plugin

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…
otherDewi
  • 1,098
  • 10
  • 24
1
vote
1 answer

Display, sort and filter posts from a relationship field (Podscms)

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…
Thomas
  • 4,030
  • 4
  • 40
  • 79
1
vote
1 answer

Validate advanced post types in pods framework on save in backend

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!
Bakaburg
  • 3,165
  • 4
  • 32
  • 64
1
vote
2 answers

Wordpress (Pods) oEmbed Items

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…
Primus202
  • 648
  • 7
  • 24
1
vote
3 answers

Wordpress Pods: Find on Boolean Field

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…
Primus202
  • 648
  • 7
  • 24
1
vote
2 answers

MySQL: Combine multiple related tables based on data in multiple rows

[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 …
Giraldi
  • 16,451
  • 6
  • 33
  • 52
1
vote
1 answer

How to query all related items in a many to many relationship using Pods API?

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…
Mert Nuhoglu
  • 9,695
  • 16
  • 79
  • 117
1
vote
2 answers

How to redirect the user to detail page after saving a new pod item/record in Pods / Wordpress?

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,…
Mert Nuhoglu
  • 9,695
  • 16
  • 79
  • 117
1
vote
1 answer

How do I add a custom select field in my pod?

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…
aditya
  • 996
  • 2
  • 12
  • 25
0
votes
1 answer

Conceptual Schema for Pods CMS?

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…
Josh
  • 3,385
  • 5
  • 23
  • 45
0
votes
1 answer

PODs Templates Not Displaying in DIVI Theme

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…
Tim Hamilton
  • 116
  • 11
0
votes
0 answers

wordpress custom post loop not working - not displaying any content

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…
Michel
  • 41
  • 4
0
votes
2 answers

Blank WP starter theme compatible with Blocks and Bootstrap

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…
0
votes
1 answer

Display, and sort posts from a relationship field in Wordpress (Pods & The Events Calendar)

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”…