Geodir pages
This topic contains 16 replies, has 2 voices, and was last updated by Paolo 9 years, 9 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
January 10, 2016 at 3:30 pm #67717
Hello,
I am trying customize geodir pages, In permalinks tab, there are the name of pages which i can edit from all pages tab, but some of them accutally is not real page like search results, or listing page. I use below code to custom the header in search result page
.search-results.geodir-page .main-title, .search-results.geodir-page .social-header {
display: none !important;
}I am a little bit confused, how i can find the page name like “search-results.geodir-page” for listing page? I want to edit “http://www.xxx.com/places/” page which is opened when i click view all button in the latest places widget.
Best regards,
AnilJanuary 11, 2016 at 4:04 pm #67842Hello guys,
Any news?
Best regards,
AnilJanuary 11, 2016 at 4:46 pm #67855Hi,
the archive page and search result page are not actual wordpress pages. They are virtual pages and are controlled by template.
I’m not sure I understand what to yout to edit on them exactly?
Let us know,
Thanks,
p.s. read our support policy to know what to expect from us in terms of response time over the week end: https://wpgeodirectory.com/support-policy/
January 11, 2016 at 9:37 pm #67914This reply has been marked as private.January 14, 2016 at 11:00 am #68347Hello, any update?
Thanks,
AnilJanuary 14, 2016 at 4:56 pm #68402Hi,
sorry about the dealy, I’ve missed your reply of the 11th.
You’ll need the exact same css changing:
.search-results.geodir-pagewith:
.post-type-archive-gd_placeLet us know if this worked.
Thanks
January 22, 2016 at 8:24 pm #70109Hi Paolo,
Both are worked but just for places. What about CPT?
I have a custom post type which is gd_item. The changes doesn’t affect its searching result and archive page.Thanks,
AnilJanuary 22, 2016 at 8:34 pm #70110You’ll need to add css for that too:
add :
.post-type-archive-gd_item .main-title, .post-type-archive-gd_item .social-headerSomething like this should do it:
.post-type-archive-gd_place .main-title, .post-type-archive-gd_place .social-header, .post-type-archive-gd_item .main-title, .post-type-archive-gd_item .social-header { display: none !important; }Thanks
January 22, 2016 at 8:42 pm #70114Okey, i ll try for archive page and let you know.
But i have one more questions. In a city, gd_item cpt doesnt contain any listing. When i search in this city for item cpt, search results layout is still old version. The css change doesnt affect it. Do you have any idea why it is like that?
January 22, 2016 at 8:49 pm #70115This reply has been marked as private.January 22, 2016 at 9:07 pm #70117One more question 🙂 I noticed that detail page also is virtual page. Can you share the page name for it also?
BR, Anil
January 25, 2016 at 10:49 am #111026Hello,
Any news for above 2 question?
Thanks,
AnilJanuary 25, 2016 at 3:34 pm #111114This reply has been marked as private.January 25, 2016 at 4:16 pm #111156This reply has been marked as private.January 25, 2016 at 6:24 pm #111209Hi,
1) please clear your browser cache, I don’t see what you see when searching for items (see image attached).
2) For place it will be .single-gd_place for item .single-gd_item
https://wpgeodirectory.com/docs/customizing-your-style/ (check for body classes.)
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket