Customizing home page search area

This topic contains 6 replies, has 3 voices, and was last updated by  adminparentland-pt 6 years, 6 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #432250

    adminparentland-pt
    Expired Member
    Post count: 172

    Hi,

    I see that there are a couple of things that can be done to customize the home page search area, one of them is adding text

    .sd-homepage .geodir-search:after {
    content:”My Custom Text”;
    color:#fff!important;
    width: 100%!important;
    }

    However, I can’t find a way to add links instead of plain text. Basically, what I wanted was to add some static links to some of my key categories.

    #432251

    Guust
    Moderator
    Post count: 29970

    Try adding the GD Popular Categories widget or CPT Categories widget:
    https://wpgeodirectory.com/docs/widgets/#popular-post-cat
    https://wpgeodirectory.com/docs/widgets/#cpt-cats

    Thanks

    #432258

    adminparentland-pt
    Expired Member
    Post count: 172

    Hi Guust,

    Popular Categories works, but then I must restrict my categories to those I really want to show, and work with sub-categories. I encountered some limitations then, like the default image and logo, which resort to the main category ones.
    Is there any way I can add some custom code beneath the search bar?

    Thanks

    #432263

    Guust
    Moderator
    Post count: 29970

    Yes, you should be able to, use a text widget and add your custom code.
    Without seeing your site, and knowing what theme etc you are using, there is nothing else I can add.
    Post your URL if you like (in a private reply).

    Thanks

    #432274

    adminparentland-pt
    Expired Member
    Post count: 172
    This reply has been marked as private.
    #432286

    Paolo
    Site Admin
    Post count: 31206

    HI,

    that would require custom coding in this file of the supreme child theme inc/geodirectory-compatiblity.php

    Thank you,

    #432287

    adminparentland-pt
    Expired Member
    Post count: 172

    Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount