Upload the File named ‘oshine_child.zip’ that is present in the Buyer’s Package.
2. Activate the Oshin Child Theme
3. Log into your server using FTP, and open the oshin_child folder under wp-content/themes
4. Edit the functions.php file (in case the file is not present in the folder, kindly add a new file and name it functions.php) to add the following lines of code at the very bottom of the file, after any existing code –
<?php
add_filter( 'gettext', 'be_themes_change_portfolio_details_labels', 20, 3 );
function be_themes_change_portfolio_details_labels( $translated_text, $text, $domain ) {
if ( is_singular('portfolio') ) {
switch ( $translated_text ) {
case 'Client' :
$translated_text = __( 'Client', 'oshine-modules' ); //Enter the Replacement text for Client here
break;
case 'Project Date' :
$translated_text = __( 'Project Date', 'oshine-modules' ); //Enter the Replacement text for Project Date here
break;
case 'Category' :
$translated_text = __( 'Category', 'oshine-modules' ); //Enter the Replacement text for Category here
break;
}
}
return $translated_text;
}
?>
5. Save and Upload the File
OR