Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • in reply to: "Popular Stick image" on pricing table #50196
     ofcentral
    Participant

    may I push that again…
    this code doesnt work for me:

    COPY CODE
    .membership .pricing-table.popular:after {
        background: url("images/pop.png") no-repeat scroll center center rgba(181, 41, 41, 0);
    }

    the image is in the folder /public_html/wp-content/themes/sweetdate-child/images

    in reply to: How to change matching system #38216
     ofcentral
    Participant
    This reply has been set as private.
    in reply to: How to change matching system #38013
     ofcentral
    Participant

    Hi,
    I’m referring to Post .
    I translated the fields “I am a” and “Looking for” both in the .po-File as well as in the WordPress-Profile Fields-Section. As soon as I translate the fields in the Profile Fields-Section (only in the .po-File doesn’t work), the matching algorithm doesn’t work, altough I also translated it in your custom code:

    COPY CODE
    
    //change matching system
    add_action('after_setup_theme','kleo_my_match');
    
    function kleo_my_match() {
    	global $kleo_config;
    	
    	$kleo_config['matching_fields']['starting_score'] = 1;
    	
    	//If we want to match by members sex. values: 0|1
    	$kleo_config['matching_fields']['sex_match'] = 1;
    	
    	//required for initial match. If the sex preference matches it will continue to the specified fields below
    	$kleo_config['matching_fields']['sex'] = 'Translation 1';
    	$kleo_config['matching_fields']['looking_for'] = 'Translation 2';
    
    	//sex percentage
    	$kleo_config['matching_fields']['sex_percentage'] = 49;
    	);
    }
    

    Can you help me? Thanks a lot!

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

Log in with your credentials

Forgot your details?