• Resolved jazzu

    (@jazzu)


    Hello!

    I want all the links under the login button to have the same bullet point. I checked the code and saw noticed, that div.wpum-template.wpum-form.wpum-login-form has ul.wpum-action-links, which has 2 list item elements. The first one has a bullet point, but the second one doesn’t. You can see that HERE.

    How can I fix that? I traced the code for the link without the bullet point to /wp-content/plugins/wp-user-manager/includes/wpum-forms/class-wpum-form-password-recovery.php, in which there is this code:

    /**
    	 * Show the password recovery form first step.
    	 *
    	 * @return void
    	 */
    	public function submit( $atts ) {
    
    		$this->init_fields();
    
    		$data = [
    			'form'    => $this->form_name,
    			'action'  => $this->get_action(),
    			'fields'  => $this->get_fields( 'user' ),
    			'step'    => $this->get_step(),
    			'message' => apply_filters( 'wpum_lost_password_message', esc_html__( 'Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.', 'wp-user-manager' ) )
    		];
    
    		WPUM()->templates
    			->set_template_data( $data )
    			->get_template_part( 'forms/form', 'password-recovery' );
    
    		WPUM()->templates
    			->set_template_data( $atts )
    			->get_template_part( 'action-links' );
    
    	}

    Since I don’t understand PHP, I can’t fix the problem via code myself, so I kindly ask for your assistance. I checked the options in Users >> Settings , etc. but I couldn’t find anything that would allow me to do this. I tried it with Loco Translate by adding the bullet point before translating the Lost your password? part, but that makes the bullet point a link as well, which I don’t want.

    Please help me out.

    Kind regards

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jazzu

    (@jazzu)

    Okay, even though support seems to be dead, here’s how I fixed it, if anyone encounters this.

    I used Loco Translate, went into Lost your password? string and just wrote ? [caption]. Now it shows as a normal bullet point without any problems.

    Kind regards

    Plugin Support Mark Kevin

    (@mkesteban08)

    Hi @jazzu ,

    I would like to apologize for the delay in our response.

    I’m glad that you’re able to get this resolved and thank you very much for providing us with the solution that you used for this, I’m sure that other users that might have encountered this would be able to utilize it.

    Please feel free to let us know if you have other questions. Have a great day!

    Thread Starter jazzu

    (@jazzu)

    Hello!

    No problem. I just noticed that the solution wasn’t written correctly from my end. The solution was that I wrote ? < a href=” [link] ” > [caption] < /a >. The part written in italic contains NO SPACES, except for the caption if needed.

    Kind regards

    • This reply was modified 2 years, 4 months ago by jazzu.
    • This reply was modified 2 years, 4 months ago by jazzu.
    • This reply was modified 2 years, 4 months ago by jazzu.
    • This reply was modified 2 years, 4 months ago by jazzu.
    • This reply was modified 2 years, 4 months ago by jazzu.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sign in / Register / Lost your password links’ is closed to new replies.