jahusdtc
Forum Replies Created
-
AuthorPosts
-
Thank you, thank you, thank you!
Not sure why I was struggling so much with this, but this was wonderful and clear.My computer is happy again :}
Appreciate your taking the time….whew!
Addendum to above…am trying on my localhost.
Didn’t show a category for me. I just wrote that “Whoops” message because I had improperly written what I tried….that didn’t appear to work.
What would you say would get the default category’s name?
Could you let me know that one snippet, please?
Trying within add_action(‘geodir_wrapper_open’, …)
Just as follow-up, I’m working on the add my own tab bit, but for the heck of it I tried the custom field in its own detail tab approach — just to see if it would work to make just a “message to the freebie” tab.
I set default field to my HTML code content and set to not required. Didn’t see a tab.
Then went into editing of a listing and realized I had to put text in field for tab to materialize. Makes sense it would work that way, but wouldn’t be useful to hand-put in that code for every customer!
Interesting idea, but think couldn’t work out as I envisioned. It was just an idea :}
Am following second trail — thank you for suggestion.
Interesting idea.
This might be an even better reference:
https://wpgeodirectory.com/add-a-new-tab-in-the-listing-detail-page/Another idea — if the incentive wording added were same for EVERY Free listing —
would be to add custom field with that wording in it and make it Details Own Tab.You could set price package to Free only in Place Settings and should only show that tab on Free Packages. Could set “Default Value” in Place Settings to particular wording…but wouldn’t be able to add HTML in it.
Of course, could add HTML custom field! Then, I guess WOULD be able to put in divs and things!
Think I’ll go with the add-new-tab with custom content, just in case I want to customize it.
Interesting…thanks for your suggestions. Always appreciate your thinking.
Still looking, but SHOULD have put in…
get_term_by(‘id’, $post->default_category, ‘gd_placecategory’);
Had extra $ in earlier message! Whoops!
Even a single link at the top of a Geo tab panel would be helpful :}
February 22, 2018 at 10:40 pm in reply to: Change Order of Region and City on Add/Edit Listing? #418850Okay…where is the code for the unique GeoDirectory address …thingie?
I can see why one wouldn’t want more than one address :}
However, if I search for region, I’m going to find LOTS of references in the code. If you could narrow down my search somewhat, I’d be grateful!
Interesting idea! I will look into it!
Thanks for bringing it to my attention.
For purposes of Videos (what I’m currently working on) — where you might have a “limit” on how many videos someone can “show”, I think I’ll use the custom field of URL — that way I can show the videos however I want to show them.
Won’t need Iframe field.
Not so drag and droppable, but don’t want to STORE videos anyway. Just want to SHOW them.
Backward compatibility is always a fun (not) thing to have to consider!
Thanks for your reply.
This reply has been marked as private.Thanks, Stiofan!
Was trying to do this to remove the Description (Profile) section from Free price package.
You solved that here: https://wpgeodirectory.com/support/topic/description-and-freepremium-price-packages/
BTW, there is another editing page that isn’t at add-listing, it’s at something like:
http://my-site.org/wp-admin/post.php?post=1111&action=editIf I want to target it in future, what geodir_is_page would I use?
Thanks for solving my Description problem elsewhere!
I understand, Alex. Unfortunately, don’t think I’ll have a “specific” type/width/height of image uploaded…it’s going to be a mixed bag.
Maybe I can add additional custom image field for the listing image.
Therefore…can you tell me where in the code the listing image is inserted?
I know where the Details image is set.
Would you say there’s an optimum size for the listing image? Know the Detail image optimum size is in Overview of GeoDirectory.
Thanks!
Oops! Yes, I inherited them.
I understand…when I look at Listing page of Category parent and all its subs…the Listing Page is actually showing ALL items of parent PLUS subs.
So the listings = parent listings (6) plus all other sub-category listings.
That’s why pagination shows large number.
Sorry…should have known.
Question: If item is in MAIN category and also has sub-category…does it appear on above Listing Page twice?
February 22, 2018 at 6:29 pm in reply to: Change Order of Region and City on Add/Edit Listing? #418792Can you please tell me where I’d find the “Address” field type?
I see it shown in Geo>Place Settings under “List of fields that will appear on add new Place listing form,” but am not certain where the code for that is.
Would appreciate it.
-
AuthorPosts