How to change language Manually in Magento?

1. Enter your Magento admin panel
2. Then go to “System”
3. Select “Cache Management”
4. Disable cache for “Translations”
5. Then go to the “System > Configuration > Developer” page
6. Expand the “Translate Inline” tab and enable it
7. Save the changes

Now you can see that some text blocks are in red boxes so that you can edit them. You can change text in the admin panel and at the front end.
NOTE: the change won’t affect .csv files; it’ll be saved in your database.

How find language .phtml file path in Magento?

Just go to below path

appdesignfrontendyour-themeyour-themetemplatepageswitchlanguages.phtml

thanks. 🙂

How magento version & upgrande database transfer?

My Idea is first you upgrade old version to new version.

1. Then you can take upgrade database backup.

2.  And delete all upgrade files in ftp.

3. And upload your latest version directly (Which version you upgrade that version only)

4. Install and change the upgrade database.

5. If not working you need to change something.

Now is good. Because some magento project we made lot of files changes. So, we upgrade that is not working well. So, we need do this type. 🙂

How to create future OR Post Thumbnail in WP?

Go to function.php file, Insert Below Code :

// Post thumbnail OR futured Image Set
add_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size(100, 100, true);

And add below code which you want show the future Image :

<?php the_post_thumbnail(); ?>


Additional Option :

Go to function.php file, Insert Below Code :

add_image_size('loopThumb', 588, 125, true);

OR
<?php the_post_thumbnail('loopThumb', array('class'=>'loopyThumbs')); ?>
OR
add_image_size('squareThumb', 125, 125, true);

OR

if (function_exists('add_theme_support')) {
add_theme_support('post-thumbnails');
set_post_thumbnail_size(588, 250, true); // Normal post thumbnails
add_image_size('loopThumb', 588, 125, true);
}
OR
<?php add_theme_support('post-thumbnails', array('page')); ?>

And add below code which you want show the future Image :

<?php the_post_thumbnail('loopThumb'); ?>

OR

<?php the_post_thumbnail('squareThumb'); ?>
OR
<?php the_post_thumbnail('loopThumb'); ?>
OR
<?php
if (has_post_thumbnail()) {
the_post_thumbnail('loopThumb');
}
elseif (get_post_meta($post->ID, "Thumbnail", true) != '') { ?>
<img src="<?php echo get_post_meta($post->ID, "Thumbnail", true); ?>" alt="<?php the_title(); ?>" class="attachment-loopThumb wp-post-image" />
<?php }
else {
echo '<img src="images/defaultThumbnail.png" alt="Default Post Image" />';
}
?>




How to Redirect Contact form 7 in WP?

Go Contact Form 7 Settings Area?

Add Below Code :
on_sent_ok: “location.replace(‘YOUR URL’);”

OR
Add Message When Sent Successful that message below you can add this :
<script type=”text/javascript”>jQuery(function($){ window.location.href=”your url”; });</script>

what URL you want change there.

that’s all. 🙂

If this is not working, Kindly check google.

thanks.

How to Show Full Text without continue reading Option in WP?

This is remove two Way :

1. Go to function.php search the twentyten_excerpt_length.
There you change below code
//return 40;
return 3000; –> Change here what extra numbers you need.

2. Second option –> Go loop.php
Find the_content
Then you remove or hide the condition part
ex :




You Place Below Code :


‘ ) ); ?>

that’s all 🙂 now this working well.

How to Connect multi blog in one WP-Admin?

First Install WordPress main blog.
Fixed the everthing what you are using.

1. After install open the config file.php
place this code (what domain you want change here) :
define(‘WP_SITEURL’, ‘http://www.example.com/folder/blog2’); –> This is second blog URL
define(‘WP_HOME’, ‘http://www.example.com/folder/blog1’); —> This is first blog URL

2. And Edit Second Blog folder inside — copied all fist blog content OR first blog config only copied(other wordpress file you can use your fress wordpress directory files).

3. Edit Second Blog config file.php
$table_prefix = ‘wpArras_’; –> Place Same Table prefix
define(‘WP_HOME’, ‘http://www.example.com/folder/blog2’); –> This is second blog URL

now you go and check this working well.

More Details contact.

that’s all fine :).

how to insert in magento category names?

Here i mention some of sample category name:

Main
Main/Sub
Main/Sub/Sub
Main/Sub/Sub/Sub
Main Featured

The above type useful for all magento category creating.

Here i attached sample .csv also.sample_csv_fileport_all_products

How to solve After importing Magento .csv file not showing product list and Images?

Hi,

This is very critical error in magento.
1. First you go admin
2. Select system => Click Export your xls file.
3. There you can edit the case sensitive file path and file names
4. And check your extensions (ex : .jpg). Some time this is have “.JPG” => This type not working properly so, you need to change this extensions.
5. And save your .csv file. Then import admin via.
6. Again Go to System tool =>Select Index Management => select all checkboxes and click “reindexed”.

now its working properly. that’s all 🙂

© 2020 Spirituality