Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM Double membership info in My Dashboard page! How to remove one?

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

  • Author
    Posts
  • #82054

    homeforsell

    As the topic title, in My Dashboard page has two places show membership info as the image:
    Membership

    Please tell me how to fix this problem?

    Regards

  • #83547

    Anna
    Keymaster

    Hi Rashad

    Thank you for the screenshot. Very helpful.

    Try this PHP modification

    Go to templates/submit_Templates/user-memembership_form.php

    You have there this code

         if( $paid_submission_status == 'membership'){
           print'
           <div class="submit_container">    
           <div class="submit_container_header">'.__('Membership','wpestate').'</div>'; 
           wpestate_get_pack_data_for_user($userID,$user_pack,$user_registered,$user_package_activation);
           print'</div>';

    Easiest way. Add a new Class like

    <div class = "submit_container_header_membership">'.__('Membership','wpestate').'</div>';

    And then add in style css

    #submit_container_header_membership{
    display:none;
    }

    Or you remove the code from PHP.

    Don’t copy paste what I added above because I had to format the code just to show you full code.

    Thank you
    Anna

    • This reply was modified 3 years ago by  Anna.
    • This reply was modified 3 years ago by  Anna.
    • This reply was modified 3 years ago by  Anna.
    • This reply was modified 3 years ago by  Anna.
  • #83713

    homeforsell

    Hi,

    I Have just removed the code as you show me:
    https://imagizer.imageshack.us/v2/565x275q90/909/a5JRdy.png

    But when open page “Submit Property”. has new problem appear for me! That’s all of elements on right side don’t show for me!
    https://imagizer.imageshack.us/v2/222x397q90/902/IOcov7.png

    How I should do?

    Regards,

  • #83869

    Anna
    Keymaster

    Hi

    It seems you modified more code than needed.

    It’s the kind of change I have to look at the code you wrote to advise.

    Send me FTP and i’ll do option one for you this one time – but please allow me 1-2 days to find the time for this since I am currently traveling.

    Thank you
    Anna

You must be logged in to reply to this topic.