brunomac
Forum Replies Created
-
Thanks a lot for your feedback 😀
Thanks for the quick answer.
On my specific case, I’ve created a custom post type (listing) and a custom advanced search form, and I want to display all listings posts with the grid/card layout, and on the search result pages as well.
So basically I added on the index.php, line 2562 the following:
if ( is_search() || is_archive() …My question now is, how to make this without the risk of loosing this feature when the plugin is updated
Thanks in advance,
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Output shows image URL, NOT imageHi @wpress2010, why don’t you use the path and insert an img tag giving the path to the href?
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] [See also]List more postsOi @cristianogoulart, conseguiu resolver o seu problema?
me diz como posso ajudar por favor. Só percebendo a estrutura de dados do seu site se pode auxiliar numa solução fácil e prática.
Me pode dar mais informações por favor? O problema que está encontrando é de fácil e simples resoluçãoForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Where clause in relationship fieldok, will do.
sorry JimForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Where clause in relationship fieldI was able to achieve half the requirements by adding on the where clause this:
gender.meta_value = ‘f’and for the father, gender.meta_value = ‘m’I forgot to mention that descendents is a bi-direccional relationship to cat, linked to the father and mother fields.
In the form list, I would like to remove the entry of the item we are editing from the father/mother list.
ex. If I’m editing the cat pod named “garfield” and since he’s male, how can I remove it from the father list?- This reply was modified 7 years, 7 months ago by brunomac. Reason: incomplete question
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Where clause in relationship fieldHi Jim, any resource online on how to use the WHERE clause?
Imagine I have an object (pod), called cat, it has a name and gender, mother, father and descendents.I have 3 fields as relationships, mother, father, and descendents.
- mother is a simple relationship to the same cat pod, but WHERE gender = female
- father is a simple relationship to the same cat pod, but WHERE gender = male
- descendents is a multiple relationship to the same cat pod, but WHERE not in mother and father ids
How can I achieve this?
Forum: Plugins
In reply to: [BuddyPress Docs] Conflict with Smart Slider 3What a great feedback @nextendweb, thanks!