Bottom section setting

This topic contains 9 replies, has 3 voices, and was last updated by  vcherednichenko 9 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #39027

    vcherednichenko
    Free User
    Post count: 222

    Help please, how to insert a widget in a selected area. Please see the attached image.

    When I insert widgets into the Bottom section, they are not displayed correctly.
    Please see a couple of examples on the attached images.

    Is it possible on detail listing page and other pages add widgets to the content section as on the home page?

    Thanks

    #39033

    Simone
    Expired Member
    Post count: 3515

    Hello, please provide url of your website so we can check. It is possible that some of the widget are not looking great on the bottom.

    To add a Content section area infor the Listing page, use the following code in your functions.php .
    This is a custom modification that I made it months ago

    
    
    function listing_content_init() {
    
    	register_sidebar( array(
    		'name' => 'GD Listing Content Section ',
    		'id' => 'listing_content',
    		'before_widget' => '<div>',
    		'after_widget' => '</div>',
    		'before_title' => '<h2">',
    		'after_title' => '</h2>',
    	) );
    }
    add_action( 'widgets_init', 'listing_content_init' );
    
    			 
    			
    			add_action( 'geodir_main_content_open', 'geodir_listings_map_before', 10 );
    				function geodir_listings_map_before() { ?>
    							<?php if ( is_active_sidebar( 'listing_content' ) ) : ?>
    								<div>
    									<?php dynamic_sidebar( 'listing_content' ); ?>
    								</div>
    			
    #39179

    vcherednichenko
    Free User
    Post count: 222

    And when this code was inserted just got a white screen.
    Probably something I’m doing wrong.

    #39216

    vcherednichenko
    Free User
    Post count: 222

    Please tell me what to do?

    #39231

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

    vcherednichenko
    Free User
    Post count: 222

    Okay, but you need to write about it in the beginning, not when everything went wrong.
    I just asked Is it possible to add widgets to a specific section, Simone gave me code and I put it, that’s all.
    Now that the site has broken, I should pay. There is something wrong, is not it? )

    #39237

    Paolo
    Site Admin
    Post count: 31206

    I told you how to fix it via FTP. Just remove the custom code you added.

    You shouldn’t be trying to add custom code blindly without knowing what to do.

    In our support policy it is very clear that we do not provide support for modifying the plugin: https://wpgeodirectory.com/support-policy/

    If you want the plugin to do things that it doesn’t do or look differently from how it looks, we can point you in the right direction, but you shouldn’t be expecting us or our moderators to do the work for you.

    Thank you

    #39238

    Simone
    Expired Member
    Post count: 3515

    Hello, I have fixed the code in your functions.php for both the VK button and the GD Listing Content section section (you will find a new area in Widgets).
    About the VK you will find on your site the error “NO App Domain” I thin it’s due to some wrong settings when setting up the button. You can find in your functions.php how to edit and replace the code once you set it right. just look in functions.php and find
    <!–here is the code for your VK–>

    One more thing, you’re using GDF framework but not the Child theme.

    #39251

    vcherednichenko
    Free User
    Post count: 222

    Thank you very much guys! I work alone, and understand all from zero through trial and error. Sorry if something goes wrong. You big fellows that have created such cool plugins, I do not get tired to admire your work. If you need to pay extra, let shall discuss the price, because I have in reserve many more tasks.
    Or, if you agree to help me, I can do it myself.
    Just seems I put the code not correct and therefore got a white screen.

    Thanks

    #39252

    vcherednichenko
    Free User
    Post count: 222

    Well, I remove the custom code via FTP. All recovered. Thank you

    Thank you fo add GD Listing Content section, but this section is everywhere but not on the listing detail page. And when adding widgets in this Content section they appear above, but not below the base block.

    Sorry if that something is wrong

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

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

Open Support Ticket