I am trying to add a mutli-select field type in Pods, but in the dropdown there is no option to choose select nor multi-select. where can I find these options?
]]>I am trying to accomplish the following:
I would like to have both of them under the same setting (Product ID), as opposed to making 2 pods (one for each). I’ve tried various options with custom taxonomy, but I have not been able to do that. Adding additional groups for a Pod or multiple fields within a group does not create separate fields in Quick Edit.
How do I go about this, please?
Thank you!
]]>I am unable to edit the custom fields created with the pods. Please assist.
]]>The above link is just an example. I am getting these errors in my debug.log:
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in …./public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 742
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ……/public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 632
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ……/public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 742
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ……./public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 632
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ……/public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 742
[19-Nov-2024 20:37:58 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in …….public_html/wp-content/plugins/pods/components/Templates/Templates.php on line 632
Thoughts? We’re on PHP 8.3
]]>Hi there,
I’m stuck and can’t work out what I’m doing wrong.
I created a new pod called “Store”
Within that pod I created a new text box field called “store_info” for a taxanomy category I have called store.
So when I edit that store, I see that I have that new “Store_info” box available and I can enter the store details and save it. That all works fine.
The last thing I want is to display that store information in my store page. I’ve tried to various shortcodes to try to display it, but it crashes my site.
Can any help me understand what I put in the shortcode to display the Store_info?
<?php echo do_shortcode(“[shortcode]”); ?>
Thanks!
]]>When I try to translate a page with WPML I find this error when I go to access the translated pages. I’ve been trying to translate my site for a month now but I keep seeing incompatibilities between these two plugins, please help!
Do you recommend in case a different translation plugin? I am willing to change it as long as I can solve this….
Warning: Undefined array key “descrizione_prodotto” in?/home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-base.php?on line?35
Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in /home/customer/www/new.modaceramica.it/public_html/wp-includes/blocks.php:1687 Stack trace: #0 /home/customer/www/new.modaceramica.it/public_html/wp-includes/blocks.php(1687): str_contains(Array, ‘<!–‘) #1 /home/customer/www/new.modaceramica.it/public_html/wp-includes/formatting.php(5215): filter_block_content(Array, ‘post’, Array) #2 /home/customer/www/new.modaceramica.it/public_html/wp-includes/class-wp-hook.php(324): wp_pre_kses_block_attributes(Array, ‘post’, Array) #3 /home/customer/www/new.modaceramica.it/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #4 /home/customer/www/new.modaceramica.it/public_html/wp-includes/kses.php(946): apply_filters(‘pre_kses’, Array, ‘post’, Array) #5 /home/customer/www/new.modaceramica.it/public_html/wp-includes/kses.php(754): wp_kses_hook(Array, ‘post’, Array) #6 /home/customer/www/new.modaceramica.it/public_html/wp-includes/kses.php(2232): wp_kses(Array, ‘post’) #7 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-text.php(37): wp_kses_post(Array) #8 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/dynamic-tags/tag.php(35): ElementorPro\Modules\DynamicTags\Pods\Tags\Pods_Text->render() #9 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/dynamic-tags/manager.php(207): Elementor\Core\DynamicTags\Tag->get_content() #10 [internal function]: Elementor\Core\DynamicTags\Manager->get_tag_data_content(’26c30e9′, ‘pods-text’, Array) #11 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/dynamic-tags/manager.php(100): call_user_func_array(Array, Array) #12 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/dynamic-tags/manager.php(65): Elementor\Core\DynamicTags\Manager->parse_tag_text(‘[elementor-tag …’, Array, Array) #13 [internal function]: Elementor\Core\DynamicTags\Manager->Elementor\Core\DynamicTags\{closure}(Array) #14 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/dynamic-tags/manager.php(64): preg_replace_callback(‘/\\[elementor-ta…’, Object(Closure), ‘[elementor-tag …’) #15 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/includes/controls/base-data.php(91): Elementor\Core\DynamicTags\Manager->parse_tags_text(‘[elementor-tag …’, Array, Array) #16 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1329): Elementor\Base_Data_Control->parse_tags(‘[elementor-tag …’, Array) #17 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1176): Elementor\Controls_Stack->parse_dynamic_settings(Array) #18 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(315): Elementor\Controls_Stack->get_parsed_dynamic_settings() #19 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(297): Elementor\Core\Files\CSS\Post->render_element_styles(Object(Elementor\Widget_Text_Editor)) #20 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(226): Elementor\Core\Files\CSS\Post->render_styles(Object(Elementor\Widget_Text_Editor)) #21 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(313): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules(Object(Elementor\Includes\Elements\Container), Array, Array, Array, Array) #22 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(297): Elementor\Core\Files\CSS\Post->render_element_styles(Object(Elementor\Includes\Elements\Container)) #23 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(226): Elementor\Core\Files\CSS\Post->render_styles(Object(Elementor\Includes\Elements\Container)) #24 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(313): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules(Object(Elementor\Includes\Elements\Container), Array, Array, Array, Array) #25 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(297): Elementor\Core\Files\CSS\Post->render_element_styles(Object(Elementor\Includes\Elements\Container)) #26 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(178): Elementor\Core\Files\CSS\Post->render_styles(Object(Elementor\Includes\Elements\Container)) #27 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/base.php(687): Elementor\Core\Files\CSS\Post->render_css() #28 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base->parse_content() #29 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/base.php(133): Elementor\Core\Files\Base->update_file() #30 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/base.php(229): Elementor\Core\Files\CSS\Base->update() #31 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/core/files/css/post.php(201): Elementor\Core\Files\CSS\Base->enqueue() #32 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/includes/frontend.php(701): Elementor\Core\Files\CSS\Post->enqueue() #33 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(144): Elementor\Frontend->enqueue_styles() #34 /home/customer/www/new.modaceramica.it/public_html/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->enqueue_styles(”) #35 /home/customer/www/new.modaceramica.it/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #36 /home/customer/www/new.modaceramica.it/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #37 /home/customer/www/new.modaceramica.it/public_html/wp-includes/script-loader.php(2263): do_action(‘wp_enqueue_scri…’) #38 /home/customer/www/new.modaceramica.it/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts(”) #39 /home/customer/www/new.modaceramica.it/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #40 /home/customer/www/new.modaceramica.it/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #41 /home/customer/www/new.modaceramica.it/public_html/wp-includes/general-template.php(3065): do_action(‘wp_head’) #42 /home/customer/www/new.modaceramica.it/public_html/wp-content/themes/astra/header.php(31): wp_head() #43 /home/customer/www/new.modaceramica.it/public_html/wp-includes/template.php(810): require_once(‘/home/customer/…’) #44 /home/customer/www/new.modaceramica.it/public_html/wp-includes/template.php(745): load_template(‘/home/customer/…’, true, Array) #45 /home/customer/www/new.modaceramica.it/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #46 /home/customer/www/new.modaceramica.it/public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header() #47 /home/customer/www/new.modaceramica.it/public_html/wp-includes/template-loader.php(106): include(‘/home/customer/…’) #48 /home/customer/www/new.modaceramica.it/public_html/wp-blog-header.php(19): require_once(‘/home/customer/…’) #49 /home/customer/www/new.modaceramica.it/public_html/index.php(17): require(‘/home/customer/…’) #50 {main} thrown in /home/customer/www/new.modaceramica.it/public_html/wp-includes/blocks.php on line 1687
]]>I have this template code that stopped working because of PHP use:
<h3>Stories written:</h3>
[if stories_written]
<ul class="stories">
[each stories_written]
<li>
<?php $name_tr = str_replace('-', ' ', $obj->display('post_name'));
$name_tr = ucfirst($name_tr); ?>
<a href="{@permalink}"><?php echo $name_tr ?></a>
</li>
[/each]
</ul>
[else]
No stories found
[/if]
I have quickly changed it to:
<h3>Stories written:</h3>
[if stories_written]
<ul class="stories">
[each stories_written]
<li>
<a href="{@permalink}">{@post_name}</a>
</li>
[/each]
</ul>
[else]
No stories found
[/if]
It works now, but I have dashes in post names. Is there a way to remove dashes without using PHP?
Thank you
]]>I’m trying to add content to the backend of a cpt and for some reason the pods fields wont let me add anything. It looks like they are in some kind of ‘loading’ state
]]>I have two related Pods: locations
and location_options
, both using table-based storage.
There are 30 fixed location options. Each location can have multiple options selected. My first thought was to make a taxonomy for location_options
.
However, each selected option also needs a short description. Ideally, on the location entry form, the options should be displayed as checkboxes, and each selected option should have a text field next to it for adding a short description. How can I set this up in a user-friendly way?
]]>hi,
If in Pods i have date field, how in Pods template I show this date but only the year?
]]>hi,
When I use post_content in Pods template to show the post content from related post, everything is displayed OK except that YouTube links are not embedded showing the thumb, but only raw links.
I use this: {@for_work.post_content}
can this be solved?
]]>Hello,
I’ve seen others struggle with the same issue but have yet to find a straight answer to how to make it work.
I’m using the WP theme Twenty Twentyfour in combination with Pods and have created a CPT with custom fields. In Twenty Twentyfour, you can easily create templates for individual posts and archives. Templates work as intended for individual posts, including auto templates. However, I still need to figure out a solution for archive templates. The archive is certainly displayed, but only, e.g., regular headings.
I have activated the Excerpt option in the “Advanced Tab ” and tried enabling “Auto template” with “Filter: the_excerpt.”
So the Pods Blocks display nothing, and nor does the Auto template.
My idea is to use IF conditional tags to show with an icon, e.g., if some PDF document is attached to the post (one of the custom fields).
As an experiment, I have now tried the Plugin “Meta Field Block,” and for some reason, that works, but the native Pods blocks don’t. Of course, I would like to get the native Pods blocks to work, even in the Archive templates, but how?
]]>Hi there,
I created a new CPT with Pods and enabled the “Enable Archive Pages”. So the archive page for it is: “example.com/books” but navigating to this page shows the 404 page.
I do believe the theme doesn’t have any issues as I tested it on the Staging without any other installed plugins and it works.
Probably the issue is mostly related to the plugins but I’ve installed a couple of plugins and it’s tough for me to disable all of them and find out which of them causes that issue.
I am wondering if you suggest a way to find out that issue.
Thanks,
Farzad
In the PODs shortcode, there is no parameter for number of columns, as there is for PORTFOLIO. Somebody says it can be done with CSS. I tried that but it didn’t work. Any ideas?
In general, is there documentation for accessing PODs elements via CSS?
]]>Hello,
I am using Pod Templates. I display label for fields using for example
{@_field.worker.label}
I cannot figure out how to display the label of a group of fields? I have definicijom the value, but the field label syntax doesn’t display group label. I tried this but nothing happens:
{@_group.event_data.label}
]]>Thanks for the awesome plugin!
One thing that would be really helpful is a Group Repeater field—something that lets us create repeatable groups of fields (like a group with text, image, and link fields that can be duplicated multiple times).
This would be useful for things like:
Is this something that might be added in the future? Or is there a workaround for now?
Thanks!
]]>Hi,
I have a pod for an event calendar. I have fields like “date_begin” and “date_end”. The field “date_end” is only filled out, if the event lasts for more than one day.
In my template, I use
{@date_begin}[if date_end] until {@date_end}[/if]
so the end date will only show, if the field is filled out. So far, so good.
Now on the website, I want to list the events in chronological order, but only, if the event isn’t over yet.
I use the “Where” field with:
CAST(date_begin.meta_value as DATE) BETWEEN CURDATE() and ‘2035/01/01’
This will list anything that starts between today and the year 2035.
But that means that events that last longer than one day will also no longer be listed after the first day. So, I need something like “if date_end then cast(date_end.meta_value…) else cast(date_begin.meta_value…)” in my where clause. How do I set this up? Any help appreciated!
Thanks,
Astrid
Hi Pod Team, I’m working on a legacy website with the pod plugin. We recently upgraded WordPress to the current version 6.6.2 and POD to 3.2.7.1, I see these warnings/error, can’t save any post.
??Warning: strlen() expects parameter 1 to be string, array given in?/wordpress/wp-content/plugins/pods/includes/data.php?on line?1601?? Deprecated: Function has_cap was called with an argument that is?deprecated?since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in?/wordpress/wp-includes/functions.php?on line?6085 .?
Any advice how to resolve this?
Thanks
]]>Hi, I’m creating a frontend form to add items to my POD, I have this:
?$fields = array( ‘post_title’ => array(‘label’ => ‘SME name’),’post_content’ => array(‘label’ => ‘Short description’,’media_buttons’ => ‘false’),’logo_sme’,’region_sme’,’good_practices_sme’,’website_sme’,’email_sme’,’linkedin_sme’,’x_sme’,’facebook_sme’,’instagram_sme’);
$smes = pods( ‘sme’ );
echo $smes->form($fields,’Add SME’);
I want to hide de Add media button and also to limit the post_content characters to 300. Is there a list with all the parameters the ‘post_content’ => array has?
Thanks in advance
]]>I am using the following code. technically the part {@_img.caption,,<p>,</p>} should work like, if the caption is not empty, you need to display or you should not display. But I see that the empty tags of P is always displaying. Am I missing anything?
[if download_links_2]
<ul class="download_links">
[each download_links_2]
<li>{@_img.caption,,<p>,</p>}<a href="{@_src,esc_url}">{@_img.title}</a></li>
[/each]
</ul>
[/if]
]]>
I’m experiencing an issue with the Pods Plugin for Custom Fields on my WordPress site. I’ve added a custom field to my pages that displays text via a shortcode. It works perfectly when I’m logged in, but the custom field content doesn’t show up on the logged-out version of the site.
How can I resolve this? Thanks in advance!
I need to change my content strategy, I have added many custom post types from pods for a while. Now I need to convert one custom post type to dafault post(from a custom field to default content), and also convert the categories to the default one.
I have found the https://github.com/pods-framework/pods-convert, but there is not tutorial, so I am not sure whether it can help me.
So, any one can help? How can convert the pods custom field to defualt content? or any pods convert tutorials if it can helps?
Thansk a lot.
]]>Hi,
I’m trying to order a list of CDs by the year they were released. So, I have a CPT called CD that has a custom taxonomy called “year” connected to it. What I want is to display all the CDs released by an artist ordered by the year they were released.
I always used [pods … orderby=”year.name” …] and it worked but now I see it has no effect. I tried adding this (Code Samples: Order by Numeric Field in Shortcode – Pods Docs) to functions.php and use “year.meta_value_num” or “year.name.meta_value_num” but with no effect.
Is there something I could do?
Hi Team,
I created some custom post types and settings using pods. It worked fine and i was able to create and use it successfully. But now i am getting a critical error on the website as soon as activate pods. Can you please help me with the same
]]>Why is the Custom Taxonomy field not displayed on the Add New Post page? The Post Type (extended) field is displayed instead.
]]>Hi,
I have a set up a date field to show when a sports fixture is to be held (“fixture_date”). I then want to only display future events, so in the shortcode I have included the where condition as follows, based on another post I found on here…
where="CAST( fixture_date.meta_value AS DATETIME ) >= NOW()"
However, this is not working – no posts are listed at all. Without the where clause, all posts are listed. Please advise me where I’m going wrong!
Thanks
Stephen
]]>I am using this shortcode to display my posts, but it does not display sticky posts at the top. I couldn’t find anything related to it in the documentation or anywhere :
[pods name="post" limit="20" template="tem2" orderby="post_date desc"]
]]>
I have been teating Pods with the Bricks builder. The one area where I need help with is with Relationships and using the built in php query editor. As such Bricks doesn’t register the relationship but, the same is true with Toolset relationships and the following will work in the php query editor:
return [
‘post_type’ => ‘member’,
‘orderby’ => ‘desc’,
‘posts_per_page’ => ‘-1’,
‘paged’ => 1,
‘suppress_filters’ => true,
‘toolset_relationships’ => [
‘role’ => ‘child’,
‘related_to’ => get_the_ID(),
‘relationship’ => ‘member_of_band’,
]
];
If I add the above for the linked band memebers on a “Band” page it returns the musicians for all the bands so in effect the code works up until it hits the nested arrray query to narrow down the ouput to the specific members of the band. Obviously I need to swap in the Pods equivalent here for toolset_relationships.
Is there a slug for that or, an alternative to the code above? My understanding is that it must be in the array format.
Hi, is there a way to use Pods Custom Settings Page and Elementor Free?
For example, I created a Pods Custom Settings Page and I want it to display on a page using Elementor Free.
I was able to do it with Elementor Pro by using the dynamic data feature. But is it possible to display the Custom Settings Page fields with just Elemento Free?
Thank you in advance.
]]>I want to insert content to explain what the Pod is all about. For example if my Pod is a gallery of my art, I want to have an image embodying what my art is all about, and an artist’s statement summarising all the artworks. HOWEVER this can be done only at the level of the individual artwork. This means I have to repeat the same content for EVERY artwork. This seems very cumbersome.
Is there any way around this?
]]>