Article – NooTheme https://nootheme.com NooTheme Fri, 28 Jun 2019 04:15:42 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.1 https://nootheme.com/wp-content/uploads/2018/05/favicon.png Article – NooTheme https://nootheme.com 32 32 How to change some special words in Jobmonster theme https://nootheme.com/knowledge-base/how-to-change-some-special-words-in-jobmonster-theme/ Thu, 06 Jun 2019 05:10:33 +0000 https://nootheme.com/?post_type=ht_kb&p=1075555 Today, we will share you a short and simple tutorial that guide you to change the expected texts via source code.
Please follow these steps to change these texts via source code:
Step 1: Go to :{root}\wp-content\themes\noo- jobmonster\assets\vendor\DataTables\datatables.min.js
Step 2: Search the text do you want to change. You can use the “Find”. Choose the key combination Ctrl-F and enter the word you want to search.
Step 3: Input the text that you want to change and save it.
* For instance:
-You want to change the phrase: Showing … to … entries, it located in line 11431.
-Changed texts:
Thank you for reading, hope you enjoy using our theme.

 

]]>
How to remove the border radius https://nootheme.com/knowledge-base/how-to-remove-the-border-radius/ Wed, 05 Jun 2019 02:17:39 +0000 https://nootheme.com/?post_type=ht_kb&p=1075506 To remove the border radius of company logo in any places of the site, please follow the instruction:
Profile avatar:
https://i.imgur.com/5nwuEIi.png
You can add these lines to Custom CSS or the style.css of Child Theme:
.profile-avatar img {
-webkit-border-radius: 0;
border-radius: 0;
}
https://i.imgur.com/D6IJtl3.png

All image avatar in Table manage of Member Page:
(candidate avatar,company avatar)
https://i.imgur.com/iWPY0Oj.png
You can add these lines to Custom CSS or the style.css of Child Theme:
.member-manage .table tbody td img {
-webkit-border-radius: 0;
border-radius: 0;
}
https://i.imgur.com/xWz5s7v.png

Member heading avatar:
https://i.imgur.com/FA5mM9J.png
You can add these lines to Custom CSS or the style.css of Child Theme:
.noo-page-heading .member-heading-avatar img{
-webkit-border-radius: 0;
border-radius: 0;
}
https://i.imgur.com/8orFAX4.png

Company avatar for Job post:
https://i.imgur.com/XoAxXVx.png
https://i.imgur.com/p4Gyxy4.png
You can add these lines to Custom CSS or the style.css of Child Theme:
.list.loop-item-wrap .item-featured, .style-1 .loop-item-wrap .item-featured,
.list.loop-item-wrap .item-featured img, .style-1 .loop-item-wrap .item-
featured img{
-webkit-border-radius: 0;
border-radius: 0;
}
https://i.imgur.com/9GMqtqa.png
Thank you for reading, hope you enjoy using our theme.

]]>
Recommended PHP Configuration Limits https://nootheme.com/knowledge-base/recommended-php-configuration-limits/ Fri, 27 Apr 2018 01:46:25 +0000 https://nootheme.com/?post_type=ht_kb&p=1053498 When using our theme, some customers meet 2 issues:

  • Cannot import our sample data to your website.
  • Cannot Save & Generate CSS in Theme Options

The causes of 2 issues are all related to low PHP configuration limits and PHP version on your server. The solution is to increase the PHP limits and PHP version. You can do this on your own or contact hosting provider and ask them to increase those limits to a minimum.

1> Firstly, you need to go to your Dashboard > WooCommerce > System Status > to check again Server Environment. Make sure that you are using PHP 5.6 or higher.

php-limits

2> Go to php.ini file in your server (You can ask provider hosting if you do not have information about this file) then increase some attributes of PHP limits as we recommend:

upload_max_filesize = 256M
post_max_size = 256M
max_execution_time = 3000

Don’t forget to check them before creating a topic in this forum.

]]>
How to translate strings in a POT file https://nootheme.com/knowledge-base/translate-strings-pot-file/ Mon, 29 Aug 2016 02:28:43 +0000 https://nootheme.com/?post_type=ht_kb&p=1007843
Language file of some themes is defined to be POT.
Hint: To detect the difference between PO and POT file, you can refer to this source:
http://betterwp.net/wordpress-tips/create-pot-file-using-poedit/Thus, it certain that you will have to make some minor changes to steps of modifying and translating strings

 

Please follow these steps:
Step 1: Go to themes > theme_name > languages> open POT file> click Create new translation. After that, you will select a translation language in the drop-down list

 

Step 2: After you finish translating, you will go to File> select Save As. There will be a new window that allow you to enter name of the file. As we mention above,  name of the file usually includes two parts such as en_US. The first one is code of language and the rest one is code of nation. If you don’t know the code for your language, please refer to this link:
https://make.wordpress.org/polyglots/teams/
supa82

 

Step 3: The result is that two files including mo and po will be generated in themes > theme_name > languages

 

 

]]>
How to get a Google Maps API key https://nootheme.com/knowledge-base/get-google-maps-api/ Thu, 14 Jul 2016 04:58:40 +0000 https://nootheme.com/?post_type=ht_kb&p=52442

Google requires you to register an API key so that you can show Maps on the site. Please follow these steps to get the key:

Step 1: Login to your Google account and Go to this link https://console.developers.google.com

Step 2: Agree with Terms of Service if this is the first time you have gone to this link.

p9

Step 3: Go to this link Google APIs , click on this one link of Google Maps JavaScript API  and choose Enable.

p64
p65

Besides, go to Google APIs , search for Google Place API Web Service  and click Enable

p70
p71
p72

Step 4: Select an existed project or Create new, then click Continue.

Step 5:

♣ Choose HTTP referrers (websites) in Key restriction section

♣ Fill in your domain. You can use multiple domains, but one should match the current domain. For example, link of your site is https://www.jobmonster.com, you will enter *.jobmonster.com/*

p11

Step 6: Click Create.

p12

Step 7: Copy the API Key then paste into the setting above.

For more reference, you can see: Official Document, Google Blog

]]>
How to hide locations with no job postings in search field https://nootheme.com/knowledge-base/hide-locations-no-job-postings-search-field/ Tue, 07 Jun 2016 04:35:32 +0000 https://nootheme.com/?post_type=ht_kb&p=48507
In case, you only want to show locations which was included in job postings. Please go to framework/job/job-default-fields.php> change this code
supa117

 

Or you can override function jm_job_tax_search_field_params in childheme. To override a function, you will paste all codes of that function into functions.php file in childtheme:

You can refer to our documentation to know how to override:
https://nootheme.com/knowledge-base/override-parent-theme-function-childtheme/

supa118

 

]]>
How to redirect users to another page after they update profile https://nootheme.com/knowledge-base/redirect-users-another-page-update-profile/ Tue, 24 May 2016 07:34:15 +0000 https://nootheme.com/?post_type=ht_kb&p=47092

1. Employer

 

If you want to redirect employers to another page after they update company profile, please the following codes to functions.php file:

add_action( 'noo_save_company', 'redirect_after_save_company' );
function redirect_after_save_company( $company_id ) {
if( $company_id ) {
noo_message_add(__('Company updated','noo'));
}
wp_safe_redirect('ADD YOUR URL HERE');
die;
}

Replace URL with the link you want.

2. Candidate

In order that candidates will be redirected to another page after they update profile, please go to noo-jobmonster/framework/admin/noo_form_handler.php

Replace the following codes:
wp_safe_redirect(Noo_Member::get_candidate_profile_url());

with these ones:
wp_safe_redirect( Noo_Member::get_endpoint_url('Enter your URL here') );

Replace URL with the link you want.

 

]]>
How to override a parent theme function in childtheme https://nootheme.com/knowledge-base/override-parent-theme-function-childtheme/ Sat, 14 May 2016 07:12:52 +0000 https://nootheme.com/?post_type=ht_kb&p=46244
To know the reason why you need to override a function of parent theme in child theme, please refer to these sources:

https://paulund.co.uk/override-parent-theme-functions
http://code.tutsplus.com/tutorials/a-guide-to-overriding-parent-theme-functions-in-your-child-theme–cms-22623

To override a function, please add all codes of that function to functions.php file in childtheme:

supa111

 

]]>
How to make menu transparent https://nootheme.com/knowledge-base/make-menu-transparent/ Fri, 06 May 2016 04:03:39 +0000 https://nootheme.com/?post_type=ht_kb&p=45329
To make menu transparent, please add the following css to Customizer> Custom code> Custom css:
.noo-header {
background-color: #FFFFFF ;
width: 100%;
/* top: 0; */
position: absolute;
}
.navbar {
border-bottom: 1px solid #f2f2f2 ;
width: 100%;
background-color: rgba(255,255,255,0.5);
border: 1px solid rgba(255,255,255,0.5);
}
.navbar-fixed-top {
background-color: #ffffff !important;
}

Note: When you scroll the menu down and want it to be transparent, please remove this CSS:
.navbar-fixed-top {
background-color: #ffffff !important;
}

 

]]>
How to avoid losing edited language files after the update https://nootheme.com/knowledge-base/avoid-losing-edited-language-files-update/ Thu, 31 Mar 2016 02:34:27 +0000 http://nootheme.com/?post_type=ht_kb&p=40995

There are 3 ways for you to avoid losing changes in edited language file:

1.  You can move all language files to wp-content
– The language file of Theme: ../wp-content/languages/themes
– The language file of Plugin: ../wp-content/languages/plugins

2.  To avoid losing the edited files after you update the new version, we recommend that you should install childtheme and move all language files to wp-content/themes/noo- theme_name – child/ languages. Remember to add the following codes to functions.php file in childtheme:

add_action( 'after_setup_theme', 'my_child_theme_setup' );
function my_child_theme_setup() {
load_child_theme_textdomain( 'noo', get_stylesheet_directory() . '/languages' );
}

For example, as for Jobmonster and citilights theme, you will have noo-jobmonster-child and noo-citilights-child relatively.

Learn more about child theme: How to install childtheme
Learn more about translating with Poedit software: Translate and Modify Texts With Using Poedit

3. The safest method is that you save all language files on your computer. After the update, in case you lose files, you will be able to upload them again via FTP.

 

]]>
How To Add A New Page Template To Your Childtheme https://nootheme.com/knowledge-base/how-to-add-a-new-page-template-to-your-childtheme/ Tue, 22 Mar 2016 10:14:20 +0000 http://nootheme.com/?post_type=ht_kb&p=39460

To add a new template to your childtheme, please follow these steps:

♣ Step 1: Paste a page template file located in the parent theme into the childtheme.

Notice that the directory of this file in both parent and childtheme must be similar.
For example, you want to modify Full-Width Template in Jobmonster childtheme. See this image, the directory of page-full-with file is this one in parent theme:

supa84

So now you will paste this file into the childtheme. You have to assure that the directory to that file in childtheme is the same directory in parent theme. You can figure out that:

supa85

♣ Step 2: Modify name of the file

You can give another name to the file in childtheme. You can call it, for instance, page-full-width-child. After that, you will open this file and change Full Width to Full Width Child in the line of Template Name:

supa86

 

♣ Step 3: Modify the Template

For example, your original Full-Width template has both header and footer; however, now you want to eliminate these two sections from your template. You can follow these instructions:

To remove header, you will replace get_header(); with wp_head();

supa87

To remove footer, similarly, you will replace get_footer(); with wp_footer();

supa88

 

♣ Step 4: Now you go to admin dashboard> Pages> Add a new page or select a page> on the right side, you will see a new template which is Full Width Child:

supa83

 

]]>
How to show packages on Packages Page https://nootheme.com/knowledge-base/how-to-show-packages-on-packages-page/ Mon, 07 Mar 2016 03:55:06 +0000 http://nootheme.com/?post_type=ht_kb&p=37375

You can implement steps as follows to show packages on the Package Page:

Step 1:  Go to Products> Product categories> create a category, for example, it is Job Package and its slug is packages

supa58

Step 2: you will go to Pages> create Packages page> paste this shortcode [noo_job_package_list product_cat=”packages”] into the content of the page

supa59

Notice that “packages” in the shortcode above is the slug of job category shown on packages page.

Step 3: go to Products> create a new product> choose a Product category

supa60

Step 4: you will go to Jobs> settings> Job packages> choose Packages page and shown package category> save changes

supa61

 

]]>