Questions tagged [pods-framework]
Warning: Offtopic! Pods is a framework for WordPress that allows you to create, extend, manage, and deploy customized content types and fields.
66
questions
0
votes
0
answers
46
views
Show Pods Custom Fields Editor when a page is using a specific template in WordPress
I want to use pods custom fields inside a page and i would like the pods editor to appear only if the page is using a specific page template, for exemple if the page is using my
galerie.php template
I ...
0
votes
0
answers
149
views
Custom URLs between different post types, using "Pods"
Setup
I am using the plugin Pods, and I have created 2 custom post types: location and office.
The URLs to access these resources are, for example:
/location/new-york (for locations)
/office/my-ny-...
0
votes
2
answers
355
views
Permalinks for Custom Post Types and Taxonomies
I've been trying to figure out how to achieve a particular permalink structure to no avail. Here's the situation:
On my site, I have one main custom taxonomy (module). I have five custom post types (...
0
votes
0
answers
52
views
Display all child posts in a custom post type, grouped by a custom taxonomy site
I successfully use this code to Show Child posts on the Parent post page via shortcode:
global $post;
$args = array(
'post_parent' => $post->ID,
'posts_per_page' => -1,
'...
0
votes
2
answers
273
views
How to use orderby on meta_value when using Pods custom database table storage
I'm struggling to understand how I can use pre_get_post when the post's metadata is not stored in the wp_postmeta table. I use Pods (https://pods.io) to create custom post types with custom fields, ...
1
vote
0
answers
180
views
How to get the url of an Image with id
If I have the id of an image media file, how can I get the url, to download it via rest api?
I'm using the Pods Plugin to create my own objects. thes have images included i want to download via rest ...
1
vote
0
answers
40
views
Can we create a WordPress read-only virtual field derived from three other fields?
Our app has three different dates representing three key dates for a Project (one of our PODS CPTs). One of the common calculations we make is deriving an overall "Status" of the project ...
0
votes
0
answers
91
views
Add custom post related by custom field to custom post
I hope to be able to explain my question.
My scenario is the following.
I have events post type created by a plugin for exhibition in a theatre season.
I want to have at the bottom of every single ...
0
votes
2
answers
386
views
Register PODS Custom Field with WPGraphQL [closed]
I've created a Custom Post Type called 'Item' and added a multi-upload file/image/video field type but I'm not able to figure out how to register that custom field with WPGraphQL. Here's how I ...
0
votes
0
answers
84
views
How to display related posts using the same taxonomy for custom types (Wordpress, Pods, Woo)
I need help to list related articles in my product page. Here what I have:
Woo Products
Custom type, created with Pods - "Artists"
Both: "Products" and "Artists" use the ...
0
votes
0
answers
89
views
How to show the clicked category related posts on category detail page?
I have used a custom page using this code, these links redirect to Category detail page which showing "Nothing Found". How can I show the clicked category related posts on category detail ...
0
votes
0
answers
58
views
How do I disable Pods/Elementor while using Ninja Forms?
There's a conflict when using Pods, Elementor, and Ninja Forms together. This is a known issue by Ninja but the other players are uncooperative and Ninja is still a little ways out on a real fix. The ...
0
votes
1
answer
90
views
WordPress different templates for same type custom post (but different slug)
I have created one custom post type lets say movie, now I have created 4 posts under movie type.
Slugs are movie/parasite/director and movie/parasite/actor.
Similarly movie/joker/director and movie/...
0
votes
1
answer
986
views
How to add a sub directory to WordPress single posts without affecting other post types?
I've been trying to add a subdirectory to my blog post's permalink for example domain.com/blog/post-slug/
However, this is affecting the other post types that I've created using Pods such as domain....
0
votes
1
answer
282
views
What is the correct way that when creating a custom post type assign values to custom fields created with pods framework?
I am trying to create a custom post type input using the wp_insert_post function, this custom post type called game was created using the pods framework and contains a series of custom fields which I ...
0
votes
1
answer
73
views
profile_update works on second update only
I am using PODS to add info to a users profile. I want to add data to the usermeta then do something with it right away. One the fields created by PODS is 'estimated_delivery_date'. I have simplified ...
1
vote
2
answers
89
views
Get url param no longer works when using add_rewrite_rule
I'm using WordPress admin to create a page (named get-region-page), in which Pod shortcode is used to retrieve the URL parameter. For example:
[pods name="region" slug="{@get.regionparam}" field="...
0
votes
1
answer
107
views
How to check if Wordpress object type is already extended by pods
I'm looking to dynamically setup some pods housekeeping when a certain plugin is installed.
I can easily check to see if a certain pod object has been set up (and create the pod type programatically ...
1
vote
0
answers
83
views
Custom Fields with Pods not being translated
The icon for translation for custom fields using Pods.io Plugin aren't working after installing WPGlobus Plugin and Pods Plugin, do I have to install the premium version of WPGlobus?
I see when using ...
0
votes
1
answer
35
views
How to parse multiple links from one variable?
So I have a Pod set up as a shortcode where it outputs the links for files a user uploads. Here is the following shortcode I made (imagine my shortcode being [getShortCode field="upload_files"]:
...
0
votes
1
answer
310
views
Custom Post Type "MUST NOT" be able to search via URL
Hello good day everyone,
Guys any idea how to hide permalinks from custom post types and should not be able to access via url. By the way, Im using Pods framework for my CPT's
Example:
www.example....
0
votes
1
answer
128
views
Associative array triggered from Custom Taxonomy (WordPress PODS)
I have national flag icons that I (manually add) on some posts when that nation is referenced.
Here is the code for that:
<span class="flag-icon flag-icon-us"></span>
All nice and ...
1
vote
1
answer
476
views
wp_title() returns 'page not found' on page 2
I'm currently making a custom Wordpress template, and I'm using paginate_link to make page links at the bottom.
index.php
<?php
get_header();
?>
<div class="container">
<div ...
0
votes
1
answer
294
views
Define option outside wp-config.php (on WordPress.com)
Using the PODS plugin. I need to add nested shortcode support which normally would be in the wp-config.php, but wordpress.com does not allow editing the core WordPress files.
The change is:
define('...
0
votes
0
answers
27
views
Content -> Post is easy, but Post -> Content is hard
I have a CPT/Pods, so it makes Post to Country, but it's the almost identical.
Content to Post (or Country) is easy, example: /country/page/5 (Content) to /country/taiwan/ (Post).
while ( $query->...
1
vote
1
answer
1k
views
Display a grid of taxonomy terms at root taxonomy page
I’ve used WordPress for years as a content admin but I am new to PHP development (am fine with HTML/CSS). From Googling about and experimenting I believe that what I want to achieve isn’t standard ...
1
vote
0
answers
160
views
Duplicate category slugs from pages and posts
We are working in a new website and having issues with duplicate categories slugs from "posts" and "pages". We are trying to develop the same structure of this website: https://coconuts.co.
We ...
0
votes
1
answer
420
views
Trying to load JavaScript only on pages within a PODS category/ custom post type
I'd like to load CSS but only on certain pages.
This code normally works great but I cant figure out the 'Conditional Tag' what will only load these pages.
This is the function I place in my ...
1
vote
2
answers
992
views
Creating a function within functions.php to change the date
I'm using the PODS WordPress Framework which is amazing.
I created a template with one of the fields publishing the date of an event which is done through a simple 'magic tag' like this
{@...
0
votes
1
answer
257
views
How to change pods ACT upload dir
I am trying to change the upload dir of files when it is uploaded through the front end using pods.
How can i check if the upload is coming from a Advanced Content Type using pods?
template-view-...
0
votes
1
answer
615
views
Dynamic redirect
Using PODS, I created a content type "sorteio" (lottery).
I made a routine in functions.php to create the title automatically and, after creating the first record, url looks like this: http://...
0
votes
1
answer
68
views
Allow Users to Modify Some Values of Assigned Wordpress Pods [closed]
Each user can have one or many locations. I need each user to be able to edit their own locations, or at least some of the values within their locations. The location pod is related to users (extended)...
0
votes
1
answer
128
views
File Upload Management
TL;DR: How can I control where files get uploaded - in association with a Content Type/Custom Content Type?
I'm building a website for a Rescue. I've got a Pod that's called Dogs. Inside of Dogs, I ...
-1
votes
1
answer
360
views
Allowing Admins to edit Pod Templates on a Network/MultiSite install
For a client I'm running Pods WP Networks install. A multisite Administrator reports that she can't edit any of the Pod Templates (found under /wp-admin/edit.php?post_type=_pods_template).
I can ...
0
votes
2
answers
107
views
How do I create an overview page with custom calculations from a post-type?
I've created some custom post-types using the Pods framework, however the the solution to my question should be the same regardless of pods. My custom types are event, team, achievement, ...
1
vote
1
answer
1k
views
Using GraphQL Plugin with Pods Framework
So, I started to experiment with a GraphQL plugin for WP, and was wondering how it'd work with Pods.
I came across a question on that plugin's GitHub that's pretty much the same thought I had. The ...
0
votes
1
answer
171
views
Passing taxonomy id of taxonomy clicked on one page to another page
I'm a beginner, and not very well versed with Wordpress.
This is my setup - I have plugins Pods Admin (for custom post types and custom taxonomies), and Page Builder by SiteOrigin (for creating my ...
4
votes
2
answers
2k
views
Wordpress pods io - Rest API for fetching fields information for custom post type
Hi I have created a custom post type using pods io. Whenever I hit the rest API for a custom post type, I get data for all the posts created using that post type. But what I need from rest API is the ...
0
votes
1
answer
400
views
Pods: Authors to Custom Field
I have 200 blog articles linked to different users. Now I moved them to new Pods custom field "author" because I don't want different user that could access to my blog.
The problem is that I have to ...
1
vote
1
answer
820
views
Linking to the most recent post in a Custom Post Type
I found this wonderful code that allows you to create a link to the most recent post in a category, and it's perfect for what I need. I tried it out, it works great. However, it doesn't include posts ...
1
vote
1
answer
2k
views
Get term siblings of current child taxonomy
So my url/slug structure looks like this /toolkit-category/downloads/gui-kits. Within /downloads is other child categories/terms. I am trying to fetch the other siblings of gui-kits when on /gui-kits. ...
2
votes
1
answer
582
views
Pagination gives 404 in template
I have a page in 'Pages' called 'News'. This page has a template containing my paged custom WP_Query.
Here's the code:
<?php
$paged = 1;
if (get_query_var('paged')) {
$paged = ...
0
votes
1
answer
488
views
Using PODS data with save_post
I'm trying to use the save_post hook to send an SMS to a telephone number entered into a PODS custom post type. The SMS should be sent when the record is saved.
add_action( 'save_post_appointment', '...
0
votes
1
answer
439
views
Pods pagination erases my sub menu
I've build a taxonomy that holds the categories of a custom post type. This is going to be used to create a sub-menu called categories that is a filter to generate all the custom post types that have ...
1
vote
0
answers
692
views
displaying and sorting comments by a custom field (using PODS plugin) [closed]
In my blog, i answer comments inline by editing them to add "admin says: blah blah". i do this so i won't bump up the comment count with all my admin comments.
I am using the PODS plugin to add a ...
-1
votes
2
answers
72
views
Make administrator role view only their own pod entries
Is there a way to make the admins see only their pod entries in the back-end "View All entries" ?
Normal users see only their entries but admins see everything no matter how i configure the roles….
1
vote
1
answer
500
views
Custom User meta field display
I'm using PODS plugin (https://wordpress.org/plugins/pods/) to extend main types in wp and WP Tiles for tiles rendering (https://wordpress.org/plugins/wp-tiles/). I'v already added field position to ...
1
vote
0
answers
84
views
Include related custom fields from one post type in another post type's JSON feed
I have a custom post type called Offers, and in this post type is a custom field called Store, which is a relationship field type to another custom post type Stores.
This has been created using the ...
0
votes
2
answers
1k
views
Manual excerpt being ignored on custom post type
I've set up some custom post types with Pods, but can't seem to get it to display my manual excerpt. It's working fine for my normal posts.
I've tried displaying it with echo get_the_excerpt() and ...
0
votes
1
answer
1k
views
Conditional Logic Based on Custom Taxonomy
I’m working on a large site in which I need to create various lists of different pages in the sidebar. I registered a custom taxonomy using the Pods plugin called “Page Categories” (page_category), ...