NooTheme Premium WordPress Theme › Forums › JobMonster › Edit header buttons
- This topic has 11 replies, 2 voices, and was last updated 4 years, 1 month ago by acaciasquare.
-
AuthorPosts
-
4 years, 3 months ago #1206289
Hi,
What is the file name and path that I need to edit to change this button in the header? - see attached screenshot
Thanks
James
Attachments:
You must be logged in to view attached files.4 years, 3 months ago #1206347Dear, it's function 'noo_navbar_btn' file 'noo-jobmonster/framework/functions/noo-wp-style.php' . You can install and switch your site to use Jobmonster Child theme then custom it via filter 'noo_post_job_btn'
Best regards.
4 years, 3 months ago #1206467If I activate the child theme now, I seem to lose a lot of my settings and customisations? - Is there any way to ensure these are transferred over to the child theme?
4 years, 3 months ago #1206510Why the setting on your site is lose when switch to use Jobmonster Child theme. Default it NOT lose unless you add custom code in Jobmonster theme. please check again and send for me details error when switch to use child theme, i will check to help you.
Best regards.
4 years, 2 months ago #1207636This reply has been marked as private.4 years, 2 months ago #1207664Please kindly give for me details what you want change button, i will check to help you.
Best regards.
4 years, 2 months ago #1207736Hi,
Thank you, I appreciate your help.
I need to change the header button label from 'Post a Resume' to 'Register' and the target URL be: /registration - as the client would like to have a custom registration form.
Hope that makes sense, let me know if not.
Thanks
James
4 years, 2 months ago #1207756Dear, If you want do it, please install and switch your site to use Jobmonster child theme, then add custom code to file functions.php of Jobmonster Child theme.
add_filter('noo_post_resume_btn', function(){ return '<li id="nav-menu-item-post-btn" class="menu-item-post-btn"><a href="your_link">Register</a></li>'; });
Change 'your_link' in custom code to link you want use.
Best regards.
4 years, 2 months ago #1207925This is brilliant! Thank you!
4 years, 1 month ago #1208917Hi,
Following on from this ticket. The client would like to hide the 'Post a Job' button when users are logged in.
How can we hide the 'Post a Job' button when a user is logged in?
The reason for this, is the client would like to still display the 'Register' button when a user is not logged in but does not need to show 'Post a job' because no one will post a job except admins and they will do it via the Dashboard.
Thanks
James
4 years, 1 month ago #1208942If you want hide Post Job Button when user logged, please add custom code on your site
add_filter('noo_theme_settings', function( $value, $option, $default ){ if('noo_header_nav_post_btn' == $option && is_user_logged_in()){ return false; } return $value; },10,3);
Best regards.
4 years, 1 month ago #1208989You really are amazing!!
Thank you so much!
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.