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.

podscms
Filter by
Sorted by
Tagged with
5 votes
3 answers
13k views

reading from a database using WordPress

I am very new to WordPress, I have very little knowledge with PHP. I read about PODS and I know how to create one and use pages / templates to display data. The issue I am havingis, the PODS I was ...
Pacman's user avatar
  • 2,225
5 votes
3 answers
5k views

Export/Import Pod entries in Wordpress

I've moved my Wordpress site to another location. Importing the WP database worked fine, also importing the Pods structure. BUT, when importing the Pods data, the pod entries aren't included. Anyone ...
Johan Wallberg's user avatar
4 votes
5 answers
1k views

Wordpress - use comment-system outside of pages and posts

so currently i'm using pods to create some individual pages for a log, filled with custom stuff. now i want to use the comments-system for each of this pages e.g.: mydomain.com/podpages/page1 mydomain....
choise's user avatar
  • 24.9k
4 votes
2 answers
4k views

How to change date and time format in Pods Framework's Date and TimePicker Components?

I was fighting with timepicker's default settings. The default settings were overridden somehow. Then, I noticed that they were actually overridden by Pods Framework's code: var ...
Mert Nuhoglu's user avatar
  • 9,865
4 votes
2 answers
6k views

How to change output of a certain Pods field?

I have two pods: course and teacher. Each course has a teacher. I use shortcodes in order to build a form to define new course: [pods name='course' form='1' fields='name, teacher' ] When defining ...
Mert Nuhoglu's user avatar
  • 9,865
4 votes
1 answer
5k views

How do I display Pods data for a Custom Post Type

I'm experimenting with the Pods plugin for wordpress. I've created a Custom Post Type with pods. My next step is to create a single-[cptname].php. I might also want to create custom Page Template ...
dave dave's user avatar
  • 947
3 votes
2 answers
458 views

PODSCMS + jQuery

I am modifying a theme and pulling data out of my PODS tables. I also have a custom DBTOXML.php file which is called from index.php using an AJAX call. Since this is a custom file that I put into my ...
Sharath's user avatar
  • 969
2 votes
1 answer
2k views

Add pods items to menus?

I've created a pod type that I want to put under a menu item. The only way I can figure out to do this is to manually add the links to the individual pods, but I'd like it to be more integrated than ...
Joren's user avatar
  • 9,743
2 votes
1 answer
1k views

Is reliable using post type pods to store 200k pods with many fields?

I would to know if it is reliable for a web portal to use post type pods for store 200k companies with many fields and with a couple of relationship fields multi-value. I don’t know if it is better ...
dlopezgonzalez's user avatar
2 votes
1 answer
235 views

Pods fetchRecord skips items

So I have am grabbing some records using Pods. I have 31 records, but my while($thePod->fetchRecord()) loop only goes 15 times $thePod = new Pod('projects'); $thePod->findRecords('slider_order ...
ahren's user avatar
  • 16.8k
2 votes
1 answer
5k views

The best way to display Pod based images in your template file

I am relatively new to the WordPress CMS and decided to use Pods for my custom field implementations including several image fields. While I love the admin UI I was a bit flustered trying output the ...
Ecksley's user avatar
  • 334
2 votes
1 answer
3k views

wordpress//pods cms - how to specify a custom template file to my pod?

First of all, I would like to say that I'm very sorry for this shamefull question ! On my wordpress (v3.5) I just downloaded and install pods cms plugin (2.2). I made my new awesome pod object (News ...
supernaturall's user avatar
2 votes
1 answer
1k views

What is the most efficient way to manage multiple level relationships using WordPress Pods CMS

This is my first time using Pods in Wordpress, so forgive me if this is a bit of an easy question to answer. I've done a bit of searching for an answer to this problem, but haven't found anything ...
David Stinemetze's user avatar
2 votes
1 answer
876 views

WordPress - Only Display Posts That Are Associated To Logged In User

In my WordPress Site, I have custom post types setup for Tanks, Locations, and Users using the PODS plugin. Currently I have some PHP that allows me to only show the logged in user a post, if they are ...
Dalton's user avatar
  • 59
2 votes
2 answers
908 views

How to return custom thumbnail size of featured image in Pods

I've registered several custom thumbnail sizes for a site I've been given control over, and want to be able to call on them in the template code, which is set up like this <img id="product_thumb" ...
woodini's user avatar
  • 33
2 votes
2 answers
4k views

How to use where clause in Pods

I am using Pods plugin for the first time, i have created 2 pods: Movies and Producers, i have a relationship field in the movies pod for the producers and i want to display all movies produced by a ...
Mina's user avatar
  • 303
2 votes
2 answers
716 views

Using Pods CMS with Roots Wordpress Theme

I am having problems displaying Pods data in a custom Wordpress template using the Roots Theme I have setup a "Products" Pod, a Pods page "products/*" that has been assigned the custom Wordpress ...
SinDesign's user avatar
2 votes
2 answers
312 views

Issue while displaying single pod Pod

I am new to Pods CMS and Wordpress. I am running pods CMS (2.0) and wordpress (3.4.1). I was playing with pods but unable to view single pod page. I have created few pods like teams etc. I am unable ...
suraj's user avatar
  • 21
2 votes
1 answer
558 views

Saving content from an array for a new loop

This is my first post, so I will be trying to be as thorough as possible. I am also very new to PHP. This is a wordpress site using PODS CMS plugin so keep in mind the wordpress image uploader ...
Lindsay Branscombe's user avatar
1 vote
3 answers
3k views

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 ...
Primus202's user avatar
  • 648
1 vote
1 answer
3k views

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 ...
aditya's user avatar
  • 996
1 vote
1 answer
4k views

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 '...
Thomas's user avatar
  • 4,235
1 vote
1 answer
2k views

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 ...
Mert Nuhoglu's user avatar
  • 9,865
1 vote
2 answers
789 views

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 ...
Mert Nuhoglu's user avatar
  • 9,865
1 vote
3 answers
979 views

Migrate Drupal Content Type to Wordpress

My Old site is developed in Drupal which is having a Content Type to create a form and the user is able to view that form and submit the form. The form is added as a new page in Drupal so that the ...
Dilip Rajkumar's user avatar
1 vote
1 answer
2k views

Pod findRecords relationship

I create items using pods, I want to filter through the pods depending on what their relationship is. Eg I have 2 relationships to pick from: "Good" or "Bad" $pods_name = "attitude"; //get the ...
Bankzilla's user avatar
  • 2,096
1 vote
1 answer
2k views

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 ...
otherDewi's user avatar
  • 1,098
1 vote
2 answers
1k views

Wordpress, PodCMS and Search

I have a WordPress site for a client. He owns a video store, and I made a site for him to update the list of movies, usually just the "new this week" movies. I used PodCMS as an easy way for him to ...
Vian Esterhuizen's user avatar
1 vote
1 answer
84 views

How to display posts with custom status under All

I created a custom status "Expired" for a custom post type (made with Pods). It's working fine except in the admin the posts with the custom status "Expired" are not showing up in ...
Nikolai's user avatar
  • 55
1 vote
1 answer
3k views

Order of custom posts in custom Wordpress query not as expected

I have a custom Wordpress query which looks like this: $args = array( 'post_type' => 'publication', 'post_status' => 'publish', 'category_name' => 'my-category', '...
Johannes's user avatar
  • 66.2k
1 vote
2 answers
738 views

Set custom post default language

Set custom post default language. I created a custom post with pods and I have WPML plugin installed. I want to show this custom post only in a language which is not the default one of the website so ...
user1619177's user avatar
1 vote
1 answer
1k views

Wordpress Pods: How to only get (sub)categories with articles in it

I am trying to get all subcategories which have articles linked to it. To visualize the needed result: subcategory A (10 articles linked) subcategory B (0 articles linked) <- I do not want this ...
DelphiLynx's user avatar
1 vote
1 answer
569 views

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 ...
Bakaburg's user avatar
  • 3,221
1 vote
2 answers
2k views

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 ...
Primus202's user avatar
  • 648
1 vote
2 answers
919 views

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 ...
Giraldi's user avatar
  • 16.8k
1 vote
1 answer
337 views

Display a variable from a pod via query using PODS

I have a custom event-pod with these variables: url, date, time So far this code is working: <?php $args = array( 'orderby' => 'date', 'post_type' => 'event', ); $...
Konstantin-007's user avatar
1 vote
1 answer
266 views

PHP and Pods: Combine array values only into new array

Long time user, first time poster. The forums here have got me out of a lot of trouble but I'm really stuck on this one. I'm using Pods for a Custom Post Type that has a Custom Field where a user can ...
Jonah Booth-Remmers's user avatar
1 vote
1 answer
735 views

Wordpress PODS magic tags extend with parameters

I am wondering if there's any function that I can create in order to modify the magic tags behaviour. Ideally, I would like to use a tag like this {@post_content|120} which would go through my custom ...
Manny Calavera's user avatar
1 vote
0 answers
348 views

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", $...
ninina31's user avatar
1 vote
1 answer
479 views

how to give permission to user on their own pods pages content with 'add' and 'edit' options only?

How to give permission to user on their own pods pages content with 'add' and 'edit' options only? I am using PHP, Apache, MySql and wordpress. Please, give me code examples. I am using following ...
suresh's user avatar
  • 41
1 vote
2 answers
886 views

Custom Pods.io detail page

I am attempting to create a custom template page for a details page for my Pods.io 'research_faculty' pod. I have the url going currently to /people/details and it does go to that page but I created ...
Wally Kolcz's user avatar
  • 1,644
0 votes
1 answer
8k views

The correct way to display Pods 2.0 items using PHP code in a Pods template

I'm almost tearing my hair off! I believe you are supposed to be able to use PHP, javacript etc other than HTML in PODS 2.0 template right? If so why is it that I get my items to display in a pods ...
dtechplus's user avatar
  • 599
0 votes
2 answers
8k views

How do you query Pods CMS using relationship field?

I have 2 custom content types created by Pods CMS: fights and events. In the fights content type there is a relationship field for the event. How would I select all fights from the database by a ...
Jason Ellis's user avatar
0 votes
2 answers
5k views

Looping in Wordpress with Pods Plugin

I am trying to create a loop for a group of divs that are being entered in as Pods via Wordpress admin panel. I have the Pods setup. I could have them setup improperly, but I believe they are setup ...
jeanhules's user avatar
  • 235
0 votes
1 answer
5k views

Querying by a pod field

I have a custom pod, product_type, in that pod I have a custom field named label. I want to find all the pods where the label matches a certain strings. Iv been trying this (and some other variations)...
MeLight's user avatar
  • 5,524
0 votes
1 answer
2k views

How to turn images into thumbnail size using foreach loop in Wordpress Pods CMS

I am using Wordpress Pods CMS and I have a foreach loop to show an unordered list of images. I would like to turn the images into thumbnail size (using the WordPress media thumbnail settings in the ...
kayee's user avatar
  • 330
0 votes
1 answer
4k views

Wordpress custom post type: returning *all* values of a multiple select list field

I am echoing all the custom field values from a custom post type (created with Pods) within the Wordpress loop in a dedicated php template (no Pods template). This works for all custom fields except ...
Johannes's user avatar
  • 66.2k
0 votes
1 answer
2k views

Creating a Pods relationship programmatically produces error in Advanced Custom Fields

I'm trying to create a pods relationship using the following code: $data = array( "pod_id" => esc_attr(strip_tags($_POST['customMetaAutorID'])), "field_id" => 1073, "item_id" => $...
danielrvt's user avatar
  • 10.6k
0 votes
1 answer
228 views

PODS CMS incorrect query

I have a query like this: $Record = new Pod('event'); $where_clause = "DATE(enddate) >= CURDATE() AND event_type.name='Training'"; $Record->find('startdate ASC', 100, $where_clause); It return ...
Dau Thanh Hai's user avatar
0 votes
1 answer
155 views

Long php process hangs the serve. Bad project design?

Hi I need suggestions for my research project. I'm building a database that read RSS feeds produced by google alerts and saves the results in a database for latter categorization. I'm using ...
Bakaburg's user avatar
  • 3,221