Home Page changes after V2

This topic contains 39 replies, has 6 voices, and was last updated by  Guust 5 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #483027

    Abdelaziz Noor El Din
    Expired Member
    Post count: 97

    Hi,
    I follow the steps to upgrade from Geo Directory V1 to V2 and after all done successfully now my home page changed and can’t get it to the way it was before( see attached “before-upgrade.jpg”) the upgrade. Please see the attached as I need to have it to look the same as before upgrade. Also, many items disappeared from the main menu “Listing & My Account & Add Listing” and can’t find them from admin menu.Last thing is the right side widget where I used to have the Dashboard login. It seams that widget from theme option is not working at all.

    Please help

    Thanks

    #483047

    Alex Rollin
    Moderator
    Post count: 27815

    Did you remove the featured area, in v1? Is that what you are asking about?

    If you have specific questions about a feature please let us know how we can help.

    https://wpgeodirectory.com/docs-v2/geodirectory/getting-started/
    https://wpgeodirectory.com/docs-v2/geodirectory/upgrade-from-gdv1/

    My Account in the header has been removed from the V2 themes.

    For the front page you can edit the page and add shortcodes.

    #483054

    Abdelaziz Noor El Din
    Expired Member
    Post count: 97

    First, thanks for your fast reply. I used CSS before in V1 to hide featured area so It look like the attached image. I tried to do the same after V2 but css did hide all my header include menu and logo.
    I use this CSS : .sd.home .featured-area {
    display: none;
    }
    Now the question is, how can I resize the feature area to only keep the logo + image background and the menu but hide the rest ( search box – title – categories) so it will look like the attached.

    My second question is : how to add to the main menu the missing “Listing & My Account & Add Listing”.

    Thanks

    #483061

    Alex Rollin
    Moderator
    Post count: 27815

    Links?

    #483073

    Abdelaziz Noor El Din
    Expired Member
    Post count: 97
    This reply has been marked as private.
    #483100

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    WHy not using the Starter theme that doesn’t have the featured area?

    Anyway…

    
    .sd.home .featured-area {
        height: 70px;
        min-height: 70px;
    }
    
    .sd.home .header-wrap {
        display: none;
    }

    If you need more help with custom css, please hire a gd expert here: https://geodirectoryexperts.com

    This is beyond support.

    Thanks

    #483102

    Abdelaziz Noor El Din
    Expired Member
    Post count: 97

    Hi,
    I wish I could use Starter Theme but I need the the split listing page with map and listing which is not possible in Starter Theme.
    By the way, now the menu is showing behind the mape. See attached.

    #483115

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your reply. Try using the custom CSS code below and see if it fixes the issue you had there.

    div#sticky_map_gd_map_4 {z-index: 0!important;}
    #483118

    Abdelaziz Noor El Din
    Expired Member
    Post count: 97

    Thanks Kor, worked like a charm 🙂
    I encountered more issues after the upgrade if you can help me with:
    1- In listing details > if multiple phone numbers exist it push the related categories ( see attached).
    2- I can’t figure out what is the purpose of checkout>Transaction Failed. It contain text which showing to any user in all cases instead of an list of actual failed transactions.
    3- In GD V1, we had Listing Slider. I can’t located in V2.
    4- Any chance to enhance the main menu. It look so basic. Same applies to the search box and advance search.( please check http://realestate.pinjoor.com and see how menu and search and even listing look so cool and attractive). Thanks and waiting for your advise.

    Thanks a lot and have a nice weekend.

    #483211

    Alex Rollin
    Moderator
    Post count: 27815

    That phone field is only designed to be used for a single phone number. It has a ‘link’ attached to it that will load the phone app on mobile phones. I recommend you hide the presentation in that header if that is not how you are using it. If not then it would require a customization to move things around. We have made somee updates to the theme so try the next version and let us know if it is still an issue so we can help with CSS to hide it.

    2. Failed transaction, how do we see this issue?
    3. There isn’t a post slider in V2, it has been removed.
    4. Not at this time

    #483222

    Abdelaziz Noor El Din
    Expired Member
    Post count: 97

    For the phone filed I don’t want to hide it I just want it to be positioned correct when there more than 1 phone number.If this so hard to do then forget it.
    2- As I mentioned, in Failed Transaction page contain text ( see attached). It should show how many failed transaction user had not just a text.
    3- Why you removed post slider in V2…??? I was expecting you to improve it to better presentation and more listing from multiple CPT.
    That’s really bad.
    4- Why not…. this is the time to improve the overlook of the theme as it look so basic. Another disappointment.

    #484194

    Abdelaziz Noor El Din
    Expired Member
    Post count: 97

    Hi,
    Is it possible to hide “Search for” field if selected CPT is chosen ( see attached).
    Also, can I exchange position of the geo map and listing section without changing the writing direction, in another word, without using RTL. (see attached)

    Thank you

    #484261

    Kiran
    Moderator
    Post count: 7069

    Hi,

    1- In listing details > if multiple phone numbers exist it push the related categories

    For multiple phones you should create separate fields.

    To display more phone for custom fields use following PHP snippet.

    
    
    function gd_snippet_sd_details_output_social_shortcode( $shortcodes ) {
    	// Create phone custom field with key = "phone2"
    	$shortcodes .= '[gd_post_badge key="phone2" condition="is_not_empty" icon_class="fas fa-phone fa-fw" link="%%input%%" badge="%%input%%" new_window="1" bg_color="#ed6d61" txt_color="#ffffff" alignment="left"]'; //  key="phone2" for Phone 2
    
    	// Create phone custom field with key = "phone3"
    	$shortcodes .= '[gd_post_badge key="phone3" condition="is_not_empty" icon_class="fas fa-phone fa-fw" link="%%input%%" badge="%%input%%" new_window="1" bg_color="#ed6d61" txt_color="#ffffff" alignment="left"]'; //  key="phone3" for Phone 3
    
    	return $shortcodes;
    }
    add_filter( 'sd_details_output_social_shortcode', 'gd_snippet_sd_details_output_social_shortcode', 10, 1 );

    2- As I mentioned, in Failed Transaction page contain text ( see attached). It should show how many failed transaction user had not just a text.

    This is static page text which shown to user when transaction failed. This is a static text and it can be changed by admin.

    3- Why you removed post slider in V2…??? I was expecting you to improve it to better presentation and more listing from multiple CPT.

    In v2 we have post image sliders available. There are 3rd party plugins available with ore custom feature for post sliders. We will check to implement in future version.

    4- Why not…. this is the time to improve the overlook of the theme as it look so basic. Another disappointment.

    Currently our main focus is on GeoDirectory v2 plugin, there are important things to-do. We keep your suggestion, and will check tom implement in future version.

    Is it possible to hide “Search for” field if selected CPT is chosen ( see attached).

    Try this PHP snippet:

    
    
    function gd_snippet_hide_search_input() {
    	global $geodir_search_post_type;
    
    	$post_type = ! empty( $_REQUEST['stype']  ) ? $_REQUEST['stype'] : $geodir_search_post_type;
    
    	if ( $post_type == 'gd_real_estate' ) {
    		?>
    		<style>.geodir-listing-search .gd-search-input-wrapper.gd-search-field-search{display:none;}</style>
    		<?php
    	}
    	?>
    	<?php
    }
    add_action( 'geodir_after_search_for_input', 'gd_snippet_hide_search_input' );

    can I exchange position of the geo map and listing section without changing the writing direction, in another word, without using RTL. (see attached)

    Try this PHP snippet:

    
    
    function gd_snippet_dt_blog_sidebar_position( $position ) {
    	if ( ! sd_is_non_location_cpt() && ( geodir_is_page( 'listing' ) || geodir_is_page( 'search' ) || geodir_is_page( 'author' ) ) ) {
    		$position = 'left';
    	}
    
        return $position;
    }
    add_filter( 'theme_mod_dt_blog_sidebar_position', 'gd_snippet_dt_blog_sidebar_position', 10, 1 );

    Regards,
    Kiran

    #484353

    Abdelaziz Noor El Din
    Expired Member
    Post count: 97

    Hi,
    Thanks for the reply. Can’t save the PHP snippet as it gives “Page can’t be found” . See attached.

    #484366

    Abdelaziz Noor El Din
    Expired Member
    Post count: 97

    I add the php snippet inside functions.php and it work. Not sure why Code Snippet not working. Any ideas.

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