Andrea Piaggesi
Forum Replies Created
-
AuthorPosts
-
Hi,
sorry for this reply but is there any chance for this request?
Thank you very much.Andrea
You’re right (my fault)!!
Thank you very much Guust.I can make a try but I’ll be happy if a developer can point me on how to modify the WP_Query that produce the listings output.
I would like an hook for functions.php file to customize the WP_Query args based on a $_POST parameter (for example) that I can manually put on the URL.
Something like this:
if ($_POST['archive']=1) { // Loop the listings with my custom $args for archive page // geodir_expiration_date <= $today ... } else { // Loop the listings with my custom $args for standard page // geodir_expiration_date >= $today ... }
I need to manage events too, I think that this is the problem.
Can I add two kinds of events?For example a generic events section (that is already present) and a new section based on the same custom post type?
Thanks!
AndreaThis reply has been marked as private.Ok I’m sorry but I’ve not solved this issue.
Actually I’m not using the Pricing Manager plugin.I’ve a listing page for each custom post type that I’ve defined, I would like to get an archive page for each custom post type.
This archive page should be based on a filtered custom field called “expiration date”.Yess, maybe I’m confusing something.
This reply has been marked as private.Hi,
I’m sorry but I’m not understanding..I don’t want sorting, I would like to filter custom post types if a date in a custom field is older than today.
So if the expired date is older than today I’ll not show the listing.
Can I add the filter as a parameter in the url?
Thanks.
AndreaThanks for the reply.
It’s mandatory to use the event type?I need three different custom post types because I would like three different add listing forms.
For now everything works and I think that the event section will be OK with these links but I don’t know how to manage other custom post types (not necessary events).
Thanks.
AndreaHi,
thank you very much for your support.
It’s my fault. I’ve previously translated it and I’ve forgot these settings.Thank you very much.
AndreaHi,
sorry for my question.
You’re absolutely right!!Thank you very much.
Thank you very much guys!!
Worked perfectly.Andrea
Hi,
thank you very much.
Yess it works, after some searching I’ve found “geodir_before_listing_post_title” too.Now the best for me will be and action to insert custom text at the very end of each Grid View item.
I’ve the “Add to favourite” button at the end of each grid item, I would like to insert the published date after it.Thank you very much for your great support.
Thanks!Andrea
Hi,
no I’m trying to change the content of each single grid item.
I’ve both geodirectory and buddypress in my site and I would like to display the “Author’s Name” field (just a custom field of buddypress) of each published element.I’ve do this for the single item by using an hook function.
I would like to do the same for the grid view.THANKS!!!
I would like to change the “Tag Keywords” field visible in the publishing form.
It’s a free text field that expect a comma separated list of tags.
(Tags are short keywords, with no space within.(eg: tag1, tag2, tag3) Up to 40 characters only.)I would like to replace it with a multiselect list that show only the tags entered from the backend.
So I would like the same “Category” behavior for tags too.Please sorry for my English, let me know if it’s clear now.
Thanks.Andrea
-
AuthorPosts