listing-detail.php and sidebar

This topic contains 6 replies, has 2 voices, and was last updated by  Kor 7 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #370562

    Marc
    Expired Member
    Post count: 15

    Hello again,

    when I want to edit some things in the sidebar (for example the website URL – not with a link “website” rather the full website url) where can i edit? Some things in the content I find in the custom_functions.php

    Thanks and kind regards,
    Marc

    #370628

    Kor
    Moderator
    Post count: 16516

    Hi marc,

    Do you mind sharing the URL of the site in question so we can take a look? You can use the private reply option below.

    #370629

    Kor
    Moderator
    Post count: 16516

    Please also provide WP temp admin if possible just in case we needed it.

    Thanks!

    #370790

    Marc
    Expired Member
    Post count: 15

    Hi Kor Chung,

    it is only a template question: https://www.dropbox.com/s/j1irk185g36zonm/Screenshot%202017-03-30%2011.39.40.png?dl=0 on the right side (sidebar) I want to edit some thinks like:

    Adresse: Alter Deutzer Postweg 221 < br >
    Köln < br >
    51107

    After “Köln” I want to delete the < br >

    Or showing the complete website url not only < a href = ” url.tdl ” > Website < / a> rather < a href = ” url.tdl ” > url.tdl < / a> you know?

    Kind regards,
    Marc

    #370866

    Kor
    Moderator
    Post count: 16516

    Hi Marc,

    You can remove the br tag from the address using the custom CSS code below. Insert into > GD > Design > Scripts > Custom Style CSS

    
    
    .geodir-sidebar-right .geodir_more_info br:nth-child(7)  {
        display:none!important;
    }

    And to display the URL on the Website link. Please insert the PHP code below into the code snippet plugin

    
    
    add_filter('geodir_custom_field_website_name', 'modify_geodir_custom_field_website_name', 10, 2);
    function modify_geodir_custom_field_website_name($title, $website) { 
    if ($title == 'Website') {
      return $website; 
    }  
    return $title;
    }
    #370884

    Marc
    Expired Member
    Post count: 15

    Hi Kor Chung,

    thanks – that was my idea too. But now I have “Köln51107” it must be “51107 Köln”. Isn’t it possible to change the template for sidebar?

    The code snippet plugin works fine, thanks.

    #370971

    Kor
    Moderator
    Post count: 16516

    Hi Marc,

    Yes, I think we can achieve that using the custom CSS code below.

    
    
    span[itemprop="postalCode"] {
       float:left!important;
    }
    
    span[itemprop="addressRegion"] {
       float:none!important;
    }
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