vesnama
Forum Replies Created
-
I understand this:
{@field_name,any_function}So I am putting in Pods template this:
{@robo_gallery.ID,show_robo_gallery}Is this correct to send ID of the robo gallery post to the function?
If I put in the Pods template only {@robo_gallery.ID} then the correct ID is displayed, I tested.And I understand I must create function show_robo_gallery inside function.php.
But I do not understand how this function is constructed to activate in the Pods template this shortcode
[robo-gallery id=”2068″]
where value for id is the ID value i sent via
{@robo_gallery.ID,show_robo_gallery}Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Image title and descriptionActually, not fully solved ??
How do I display caption and excerpt and custom fields for attachments if I use {@gallery_field} in Pods template instead of each loop through images?
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Image title and descriptionSuperb!
So content field is actually attachment description, excerpt is actually attachment caption.
And if I have Pod for media with for example custom field “transkript” I can also display that in [each gallery_field] loop using {@transkript} and it also works in Pods template translated with polylang ??????Solved ??
Ah, it seems bidirectional relationships need to be setup between different content types and not between same post type different by category?
Oh!
Well, Polylang translates in admin Pods labels, and when you go to edit post in different languages Pods fields have translated labels and for values content can be entered in current language. Then when you, like me, use Pods template which Polylang offers to be translated then in front-end posts are displaying labels and values in current language.But, with user data things are a bit different. I have created extended User pod with custom fields and Pod template for user public profile. This Pod template is (same as Pods template for posts) offered by Polylang to be translated so I created Pod template for user profile for different languages and labels are translated successfully in front-end. But, wordpress doesn’t offer for user profile via admin to translate values for user’s Pods custom fields. What should I do to be able to enter in user admin different translations for values for Pods custom fields? Maybe a totally new user admin page can be created by Pods for Pods custom fields and languages with a Pods templates as it is possible for posts?
Hehe ?? I understand. Thank you. Looking forward to future updates and I’m sure I’ll soon be supporter by donating ?????? I really like this product and much more then most known competition due to reason that I really like the way Pods template are set up ??
So, topic closed I guess.
To be clearer, I am posting posts in categories “Works” and “Workings” in one post type “post”. I do not use custom post types.
And I have one Pod extending post type “post”. This pod has relationship field “working_for” which I defined as bidirectional relationship field (and I chose in bidirectional options connection to itself).I must have some logical break in this process I believe but cannot understand how to solve it.
OK, permalink understood and working well. ??
Second reply I do not understand.
If in post in category Working I choose in relational bidirectional field named working_for a specific post in category Work, then how do I display in Work post all Workings related to it? I mean, there will be multiple Workings related to specific Work. So what should I do to have all related Workings listed on Work post frontend?I forgot to add the main question from the title of this post…
- Maybe the easiest way to display via Pods template a gallery related to current post with layout through one of those cool plugins for galleries would be if I could have a custom field “gallery shortcode” to enter full shortcode for example [gallery_plugin album=premiere layout=masonry columns=4], and then put in a Pods template the value of a field “gallery shortcode” to execute the shortcode on the front-end.
Hope you can explain how to do it in Pods template in any of two ways I was thinking about? Thank you.
I found the solution for if blank in official docs:
https://docs.pods.io/displaying-pods/template-tags/if-conditional-tag/So, both questions solved. ??
Oh, it seems I missed_ before field.
Now labels display and they are translated. Cool ??What about my other question:
is there a way to define in Pods template if some field value is blank then do not display label?
I forgot to say I activated Polylang translation for Pods fields so I will need labels to be displayed from these translated values not from the main label value.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Multiple choice custom listOK, thank you for your replies. Looking forward to the 2.9 update. Any approximation of when we can expect it?
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Multiple choice custom listI only need it for admin area user edit page.
I tried other plugins you suggest but no need for them. I would love to keep the number of plugins at minimum because I already have many.Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Multiple choice custom listBut then again, the form for the additional user info still doesn’t offer “add new item”,mommy fixed list of existing taxonomy items, so I as admin have to go through Taxonomy admin page to add an additional item specific user wishes to enter ??