Geodir pages

This topic contains 16 replies, has 2 voices, and was last updated by  Paolo 8 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #67717

    acengiz
    Expired Member
    Post count: 54

    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,
    Anil

    #67842

    acengiz
    Expired Member
    Post count: 54

    Hello guys,

    Any news?

    Best regards,
    Anil

    #67855

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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/

    #67914

    acengiz
    Expired Member
    Post count: 54
    This reply has been marked as private.
    #68347

    acengiz
    Expired Member
    Post count: 54

    Hello, any update?

    Thanks,
    Anil

    #68402

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    sorry about the dealy, I’ve missed your reply of the 11th.

    You’ll need the exact same css changing:

    .search-results.geodir-page

    with:

    .post-type-archive-gd_place

    Let us know if this worked.

    Thanks

    #70109

    acengiz
    Expired Member
    Post count: 54

    Hi 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,
    Anil

    #70110

    Paolo
    Site Admin
    Post count: 31206

    You’ll need to add css for that too:

    add :

    .post-type-archive-gd_item .main-title, .post-type-archive-gd_item .social-header

    Something 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

    #70114

    acengiz
    Expired Member
    Post count: 54

    Okey, 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?

    #70115

    acengiz
    Expired Member
    Post count: 54
    This reply has been marked as private.
    #70117

    acengiz
    Expired Member
    Post count: 54

    One more question 🙂 I noticed that detail page also is virtual page. Can you share the page name for it also?

    BR, Anil

    #111026

    acengiz
    Expired Member
    Post count: 54

    Hello,

    Any news for above 2 question?

    Thanks,
    Anil

    #111114

    Paolo
    Site Admin
    Post count: 31206
    This reply has been marked as private.
    #111156

    acengiz
    Expired Member
    Post count: 54
    This reply has been marked as private.
    #111209

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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

Viewing 15 posts - 1 through 15 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket