jahusdtc
Forum Replies Created
-
AuthorPosts
-
Two marvelous solves in one message! Alex, thanks!
1. The Copyright via this snippet immediately worked properly…no clearing of ANY cache required! Love it when a plan (or hoped-for plan) comes together!
2. The CSS exclusion from GD-Booster is a wonderful idea. Especially while in more of a change-a-day situation of developing during production! Suppose I can put back in when more “finished product.”
But … wow, so helpful. Have a WONDERFUL day!
May 1, 2018 at 5:16 pm in reply to: Popular Post – Home – Same size as Detail Featured Image? #428676Alex…looks perfect!
I have included the code, but don’t yet see any change.
Perhaps I have small image set as full size or something? Can you give me a clue where I would see that?
Or maybe clearing my GD Booster and browser isn’t enough? Any suggestions?
Forgot to add…I DID clear the browser cache!
Thank you. That’s very kind!
Hey, Alex…sorry for delayed response. Thanks…you had the answer. (As did Guust! But I wanted to leave the info on the FrontEnd for my Admin, while hiding it from the non-admin, so went the longer route. Was I correct?)
Just wanted to tell “somebody” what I found that worked.
Gotta say: “Admin Only” sounds like….”Admin Only.” Maybe needs a little help tooltip on that field in addition to your documentation elsewhere? Saying that Admin Only would be seen by EVERYONE…just in case they didn’t pick up on that themselves? Just a thought. Some things are “private.”
2 points:
1. I found my “missing” textarea field that said Admin Only — only showed on front side of Details page — when there was something in the field!The radiobuttons in the fieldset showed because they HAD a default value. The textarea had no default value, was blank…so why show? Took me a while to figure that one out!
2. The link to the following indeed gave me the code-only answer to hiding for particular users or role: https://wpgeodirectory.com/support/topic/i-want-to-restrict-s2-member-access-to-a-specific-tab/#post-427397
3. If someone wants a CSS solution (pondered this…easy, but IS visible in the Source code and this was to be private…) I used the following. I had added a css class in the Geodir->Place Settings->Custom Fields section.
Say your custom class on the tab’s custom fields is: my-tab-info. The CSS would be:
.my-tab-info{display:none!important;}
dd [data-tab=”#gd_tab_1″]{display:none!important;}
I got the #gd_tab_1 by looking at the page’s css.Just in case this helps someone.
Thanks guys for your help!
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.That was it!!! Thank you for solving my mystery! Really appreciate it. Page so much more informative with that Category or Sub-Category title. Wohoo!
For anyone else unfamiliar with exactly what “initial” does…
“The initial CSS keyword applies the initial value of a property to an element. It is allowed on every CSS property and causes the element for which it is specified to use the initial value of the property. When using initial value, it will pick the value as defined in the spec as properties default.”
All right, I admit — I haven’t yet taken your advice.
That’s because I looked at Page Source and SEE that title on the page — but it’s not visible. Obviously, I’ve messed something up.
On the Source, I’m seeing — right below the header, this HTML fragment. (BTW, am I supposed to mark this as Code in a Support query — or is that overkill?)
</header> <div id="geodir_wrapper" class=""> <div class="geodir_full_page clearfix"> <section id="geodir_cpt_categories_widget-3" class="widget geodir-widget geodir_cpt_categories_widget"><div class="gd-cptcats-widget"></div></section> </div><!-- clearfix ends here--> <div class="clearfix geodir-common"><div id="geodir_content" class="" role="main" style="width:67%;"><header class="entry-header"><h1 class="entry-title fn">All Churches-Baptist </h1></header><section id="geodir_advanced_search-1" data-show-adv="default" data-show-adv="default" class="geodir-advance-search-default widget geodir-widget geodir_advance_search_widget geodir-advance-search-default"><form class="geodir-listing-search gd-search-bar-style " name="geodir-listing-search" action="https://thechristianbusinessdirectory.online/" method="get"> <input type="hidden" name="geodir_search" value="1"/> <div class="geodir-loc-bar">
As you can see, there is
<header class="entry-header"><h1 class="entry-title fn">All Churches-Baptist </h1></header>
That is what I’d like to see at the top and it looks like Geodir already has that built in! Yes!
But…I don’t know if I have the wrong Z-Index or what, because I’m not seeing it. Can you give me a clue about what I need to do to make the “All Churches – Baptist” actually SHOW?
That would solve my problem … but magic CSS doesn’t seem to be working its wonder for me. Have tried multiple multiple selectors, but not seeing the title show.
Could you please give it a look?
Thank!
Thank you!
1. I have created a custom field geodir_affiliation that says Baptist or whatever. I have included it in the search by your very clever method (no pain, lots of gain!).
On Advanced Search, let’s say I search for Baptist.
My URL looks like this:
https://thechristianbusinessdirectory.online/?geodir_search=1&stype=gd_place&sgd_placecategory%5B%5D=&s=+&snear=&sgeodir_affiliation=Baptist&sgeo_lat=&sgeo_lon=I ONLY want to show the church field on the Search page if they do this Advanced Search on geodir_affiliation. In general, not of interest to searchers…they didn’t CHOOSE to search based on that criteria. (Using this scenario as example, but COULD be any custom field in the Advanced Search.)
I can parse out the URL in order to do this, but thought you might have someplace in your code where you already did the parsing. Could you let me know where I want to check this out?
2. Similar question here…I want to find out if someone chose ONLY the Category, say, Accountants and put BLANK in the “Search For” search field. In that case, I’d like to conditionally insert the GD > CPT Categories widget (or shortcode, really) at the top of the page so they can see any SubCategories that are involved.
Mainly interested if they pick Churches and put NO PARTICULAR Church in the “Search For” searcher field.
Then, I want to have Categories and SubCategories at top of Search Page results.
But first…I need to know if they did or did NOT pick Categories — without a “Search For” term.
Again, figured you folks had already done something similar to this…and wanted to use your already-vetted function for my nefarious purposes.
You have put an INCREDIBLE amount of thought — and insight — into your GeoDirectory plugin. Kudos!
Okay, Guust, I sorta understand that…
But on the first page, I see Category and Subcategories:
https://thechristianbusinessdirectory.online/businesses/churches/On the next clicked through page, I see … basically nothing.
https://thechristianbusinessdirectory.online/businesses/churches/churches-baptist/Is there a way on THAT second page that I could STILL see the “Category” (which is now the Subcategory of Baptist) at the top?
Am I missing a setting? Should I be using another of your widgets?
March 29, 2018 at 1:35 pm in reply to: Categories, SubCategories, Post_Category, Default_Category #424026Aha! I understand. (Always a nice way to start the day!)
In above instance, guess that would be Baptist — for my purposes — now I know there isn’t a “right-er” answer…Baptist would be most focussed category representation.
Which will make my export,change,import “dance” easier!
Thanks much…you really made my task easier…AND more understandable!
March 29, 2018 at 3:07 am in reply to: Categories, SubCategories, Post_Category, Default_Category #423946Alex, sorry, I’m not understanding.
If you have Parent and Child in the Post_Category
Church,Church-BaptistWhat is optimal to have in the Default_Category
Church
or
Church-Baptist?Does it matter?
What is your opinion?
I am exporting a boatload of listings and I would like to change and import them in the most proper manner…but am not sure what that is!
I’d like to only do the export, change, import bit once.
Please give me your opinion, okay?
-
AuthorPosts