NooTheme Premium WordPress Theme › Forums › JobMonster › Customizing “Post A Job” button.
Tagged: customization, post a job
- This topic has 20 replies, 2 voices, and was last updated 4 years, 5 months ago by protul.
-
AuthorPosts
-
4 years, 5 months ago #1199939
I have two issues.
1. In my job posting site, I have local job postings and international job postings. I want the "Post A Job" button to be a drop down and have two menus: "Post International Jobs" & "Post Local Jobs".
2.My international job postings are free but local are not. So, in the link of "Post International Jobs", I want, if user is already logged in, to post a job immediately, no buying of a package. And if not logged in, login/register first and then post a job. Again no buying of a package. And for "Post Local Jobs" I want the usual. Login/Register > Buy Package > Post a job.
Hope I made myself clear.
4 years, 5 months ago #1203064Hello, support guys, are you there? It has been 3 days since I posted this question and yet no response from you.
4 years, 5 months ago #1203421Sorry for delay reply in weekend but the Jobmonster not support and check post job by Job types. The Jobmonster only support post job and can't check post job by type need package or no.
Best regards.
4 years, 5 months ago #1203660Thanks for the reply.
Well, now how can I just customize the 'Post A Job' button to a dropdown menu and show 'Post Local Jobs' and 'Post International Jobs'.
4 years, 5 months ago #1203903Dear, if you want add dropdown for Post Job button, please install and switch your site to use Jobmonster Child theme then add custom code in file functions.php of Jobmonster child theme.
Code
add_filter('noo_post_job_btn', function(){ return '<li id="nav-menu-item-post-btn" class="menu-item-post-btn"><a data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">' . jm_get_button_text() . ' <span class="caret"></span></a><ul class="dropdown-menu"> <li><a href="#">Post Local Jobs</a></li> <li><a href="#">Post International Jobs</a></li> </ul></li>'; });
Please add href corresponding for Post Local Jobs and Post International Jobs links
Best regards.
4 years, 5 months ago #1204144Hello,
Thanks for the reply. But it did not work. I did exactly what you said.
1. I installed and switched to my Job Monster child theme.
2. Then I tried adding the custom code you provided in the functions.php file from the "Theme editor" under "Appearance". But I got the "Unable to communicate back with site to check for fatal errors PHP reverted PHP file by using SFTP."
3. So, I switched over to my hosting site. Under "public_html" > "jobshut.org" > "wp-content" > "themes" > "noo-jobmonster-child", I found the "functions.php" file and edited it there.
But, it broke my site.
I included the images.
Attachments:
You must be logged in to view attached files.4 years, 5 months ago #1204219Dear, please send for me admin account your site and your site URL via private reply, i will add custom code for you.
Best regards.
4 years, 5 months ago #1204222This reply has been marked as private.4 years, 5 months ago #1204272This reply has been marked as private.4 years, 5 months ago #1204312This reply has been marked as private.4 years, 5 months ago #1204321To login i need code send via your email or phone. You can download and extract file functions.php then copy file functions.php paste to override file functions.php in folder 'wp-content/themes/noo-jobmonster-child'
Best regards.
Attachments:
You must be logged in to view attached files.4 years, 5 months ago #1204328I copied and pasted the code sent me, exactly as you instructed, but like before it broke the site and showed the "There has been a critical error" message.
"To login i need code ..." I don't understand what code you are talking about. Can't you login, using the credentials I gave you?
If you can login then click on "Azizur" dropdown on the header. Then "Visit My Account" .
After that, scroll down to the "Web Hosting (Ultimate Linux hosting with cPanel)" section. Click on "Manage".
Click on the "cPanel Admin" button.
Now under the "FILES" section click on "File Manager".
Now double click "public_html" > "jobshut.org" > "wp-content" > ...
And if you cannot login, please clear up about what do you mean by "Code" as there is no two factor authentication.
4 years, 5 months ago #1204343I can't login to Godaddy with your account. because it require code via email or phone. Also, Please see attachment, i use code and i see it's working. Please check again.
Attachments:
You must be logged in to view attached files.4 years, 5 months ago #1204361Can you please send me your email address and name so I can grant access for you in my hosting?
4 years, 5 months ago #1204373This reply has been marked as private.4 years, 5 months ago #1204385I have added the code, but it broke my site. I don't know what I am doing wrong.
I have invited you to access my hosting. Please check your email.
4 years, 5 months ago #1204404This reply has been marked as private.4 years, 5 months ago #1204414This reply has been marked as private.4 years, 5 months ago #1204415This reply has been marked as private.4 years, 5 months ago #1204417Dear, i see your site still use Jobmonster old version and it cause error when add custom code. Please update Jobmonster theme on your site to latest version 5.6.1 then add custom code in file functions.php of child theme
add_filter('noo_post_job_btn', function(){ return '<li id="nav-menu-item-post-btn" class="menu-item-post-btn"><a data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">' . jm_get_button_text() . ' <span class="caret"></span></a><ul class="dropdown-menu"> <li><a href="#">Post Local Jobs</a></li> <li><a href="#">Post International Jobs</a></li> </ul></li>'; });
Best regards.
4 years, 5 months ago #1204422Thanks a lot. It worked. Sorry to bother you for so long.
Take care. Stay safe.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.