Logo for listing & listing details page style(may be a feature request)

This topic contains 1 reply, has 2 voices, and was last updated by  Paolo 10 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #17723

    khan
    Free User
    Post count: 1

    Is it possible to upload a small image as logo? that can be showed in listing preview instead of default image. in this way we can loose some weight of home page. i found a way to do so(uploading 1st image as logo) but its not a good solution.

    More over in my opinion (no offense, for a free solution nothing could be better then geodirectory.) listing details page could be more stylish by rearranging its contents. its been told that it can be done by editing template files. but i m unable to do so. as an example, i want to put address & other basic information in top of the post like “templetic directory theme”. any hints?

    #17730

    Paolo
    Site Admin
    Post count: 31206

    Hi Khan,

    everything can be done, but you need to have some php and wordpress API knowledge.

    You can start by looking at the structure of the template for the detail page:

    listing-detail.php

    There you will find that the content is returned by : a function named geodir_details_main_content, while the sidebar content is returned by : geodir_detail_sidebar.

    At this point you can search for this functions in all files and you will find that both are in geodirectory_template_actions.php and both also reference to functions in geodirectory_hopoks_actions.php

    Now by removing actions and re-adding them modified following your needs, you can customize the page as you wish.

    If you do a search in this forum, you can find some examples of how to remove/reorder elements using those functions.

    A couple of examples to modify the place detail sidebar are:

    Move rating stars from sidebar to content area: https://wpgeodirectory.com/support/topic/details-page-how-to-move-rating-stars-from-sidebar-to-content-area/

    Disable some detail info: https://wpgeodirectory.com/support/topic/disable-some-detail-info/

    Map instead of flexslider : https://wpgeodirectory.com/support/topic/map-instead-of-flexislider-on-detail-page/

    Searching for “remove_action” will bring them all up. All of this customization will start with a “remove_action”.

    Following these examples you should be able to do just about anything.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 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