JobJockey: Location Privacy

Hi again!

Yesterday, my friend Daisy from Australia asked me about a theme named JobJockey.

As you know, this theme is a perfect one to build your own job portal website. But, for her this theme doesn’t give her customers a privacy. For example the location that displayed at the job is too much detailed.

Capture

You can check what i’m talking about at the picture above. Under the title you will have a detailed information about the location, the road name, province, post code and even the nation.

What she want to have is just province and nation, so it would be look like: Zhenjiang, China without any other information.

You can make it work by modifying a file named single_job-listing.php. This file can be found via FTP at directory: wp-content → themes → jobjockey. Open the file and find out this code:

<span class="jobs-place">z
				<?php 
				if ($address = get_post_meta($post->ID, 'geo_long_address', true)){
					echo wptexturize($address);
				}else if ($address = get_post_meta($post->ID, 'geo_address', true)){
					echo wptexturize($address);
				}else{ _e('Anywhere','colabsthemes');}
				?>
				</span>

Modify it become:

<span class="jobs-place">
				<?php 
				if ($address = get_post_meta($post->ID, 'geo_long_address', true)){
					echo wptexturize(get_post_meta($post->ID, 'geo_short_address_country', true));
				}else{ _e('Anywhere','colabsthemes');}
				?>
				</span>

And done!

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s