poirazis
Forum Replies Created
-
Hey!,
yes, the problem was resolved with the new version!Thank you so much
Have a blessed dayForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] pods->find() from multiple podsfound the error.
the various post types must be passed as an array.Thanks for all your help Jory!
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] pods->find() from multiple podsHey again ??
I can’t seem to make it work. I have the following code$query_args = array( 'post_type' => 'post, policy_proposal', 'post_status' => 'publish', 'order' => 'DESC', 'orderby' => 'date', 'posts_per_page' => '5', 'meta_query' => array( '0' => array( 'key' => 'contributors', 'value' => "'" . $member_id . "'", 'compare' => '=', ), 'relation' => 'AND', ), );
Both posts and policy_proposals have a many to many relationship with team_member pod named “contributors”. Is there a different way to traverse relationships with meta_queries I am missing ?
Thank you in advance
Blessed
MichaelForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] pods->find() from multiple podsThank you Jory!
Blessed
MichaelForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Custom Taxonomy Term ArchivesHugely appreciated Jory!
Blessed
MichaelForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Custom Taxonomy Term ArchivesThank you Jory!
I was hoping for some Auto Template magic i have missed.Blessed.
MichaelThank you Scott!
With authentication it works fine!
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Initializing PODS in front-page.phpHey Jory,
I am not using a hook, I am implementing a custom front-page.php as explained here https://developer.www.ads-software.com/themes/functionality/custom-front-page-templates/#custom-site-front-page-template
I am trying to initialize a pod objects and it will not get any data unless $params are passed to the pods() call. In the Query Monitor i see that without the $params I don’t see a query call to the DB from pods, but with the $params everything works as expected.
To my limited understanding it seems that a call to pods->find() isn’t executed if no $params are given.
Thanks!
M.Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Custom Field Type : DurationThe field would hold an “event” duration, so no the 24H time field wouldn’t do. The duration of the event could be something like “2d 3hr 48min”. The field value would be stored in seconds ( and when displayed the seconds would be presented as human readable duration ). The exercise would be to learn how to build Custom Field Types, and this would be my first attempt!
Thank you Jory!
M.Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] 2.8 Estimated Release Date ?Thank you Scott! Will be eagerly awaiting!
All the best!