WordPress.org

Ready to get started?Download WordPress

Forums

WP Job Manager
[resolved] Editing templates with [candidate_dashboard] shortcode (4 posts)

  1. teensicle
    Member
    Posted 1 month ago #

    Hey everyone! Hit a little snag, i'm trying to edit the message prompt that you user receives if he/she isn't logged in but wishes to view the"[candidate_dashboard]" shortcode. The message is "You need to be signed in to view this page." I checked in the "candidate-dashboard.php" file however was not able to find this prompt. Can anyone point me in the right direction? Thank you, it's much appreciated.

    https://wordpress.org/plugins/wp-job-manager/

  2. Mike Jolley
    Member
    Plugin Author

    Posted 1 month ago #

    This message isn't in a template file.

    if ( ! is_user_logged_in() ) {
    			_e( 'You need to be signed in to view this page.', 'wp-job-manager-resumes' );
    			return;
    		}

    You can customise the message easily using https://wordpress.org/plugins/say-what/ if you want to do that.

  3. teensicle
    Member
    Posted 1 month ago #

    Not sure if i did this the right way but i had to edit "class-wp-resume-manager-shortcodes.php"

  4. Mike Jolley
    Member
    Plugin Author

    Posted 1 month ago #

    Editing will mean you lose your changes during updates. The plugin method I posted would make it upgrade safe.

Reply

You must log in to post.

About this Plugin

About this Topic