Help with combining these two scripts?

Hello guys,

Require some help with combining the two scripts below so they work alongside one another. Basically requiring users to log in to my site or create an account if they don’t have one. Currently the script only asks users to log in, I would like the script to ask non-members to sign up on the same screen. Any help would be much appreciated. Thanks!

<?php echo apply_filters( 'job_manager_job_applications_login_required_message', sprintf( __( 'You must sign in to apply for this position.', 'wp-job-manager-applications' ), wp_login_url( get_permalink() ) ) ); ?>

<?php echo apply_filters( 'job_manager_job_applications_login_required_message', sprintf( __( 'Don’t have an account? sign up here. ', 'wp-job-manager-applications' ), wp_registration_url ( get_permalink() ) ) ); ?>

Dav1, did you get this working? This is nearly two months old.

If you solved it, let us know how. If not, what is happening on the display when you show these two links?
Is one showing and one not showing?

The two are simple paragraphs which filter and post URL’s, so they should work. More info on what is NOT
working would help us…

Also, one thing that might help you debug this is to view-source of the page once it is shown in the browser
and look down to where these lines are displayed. You sometimes can see where something it missing that
way.

Let us know if you solved this.

Sponsor our Newsletter | Privacy Policy | Terms of Service