Submit Job&Save Draft
-
I want to align the submit job button to the right and Save Draft to the left, How to do that?
-
I would be interested in this, too. In fact, I think this is a design error?
Buttons that take you “back” a step should be on the left, and steps that take you “forward” a step should be on the right (just like your browser navigation buttons, etc., etc.).
I’ve simply hidden the “Save Draft” button using this CSS:
input.button.secondary.save_draft { display: none; ]But it looks like you can reverse the order of the buttons by simply making use of the job-submit.php template in wp-content > plugins > wp-job-manager > templates, and changing lines 76-81 in it to the following:
<?php if ( isset( $can_continue_later ) && $can_continue_later ) { echo '<input type="submit" name="save_draft" class="button secondary save_draft" value="' . esc_attr__( 'Save Draft', 'wp-job-manager' ) . '" formnovalidate />'; } ?> <input type="submit" name="submit_job" class="button" value="<?php echo esc_attr( $submit_button_text ); ?>" />Before making the change, make a folder titled
job_managerin your child theme’s directory, and then copy the job-submit.php template to it and make the change to it there, so that you don’t lose this change when WP Job Manager updates. Extra details here: wpjobmanager.com/document/template-overridesHi,
These kinds of Styling / CSS changes are outside the scope of support that I can provide, sorry! Also, without a link to your site, no-one in the community will be able to assist; it’s not possible to provide valid CSS with any certainty, without seeing the page in question.
@richardmtl – I believe I actually already provided a solution to their question (it looks like a swap in lines of code can do the trick in the job-submit.php template, but my post is being held “held for moderation by our automated system and will be manually reviewed by a moderator” for some reason.
Could you review and approve it?
@hastibe no, I don’t have that access. You can ask in the WPorg Slack in the #forums channel, or just wait. 😉
@richardmtl i was talking about “Submit Job Form” page buttons , please check screenshot
Submit Job , Save Draft i want those two buttons to align on the right side because buttons are default on the leftScreenshot: https://prnt.sc/qba77x
@marimanga This is a CSS/theming question, and as such is outside the scope of support that I can provide, sorry!
I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!
The topic ‘Submit Job&Save Draft’ is closed to new replies.