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.

Which Fonts all Browser Supported Fonts?

Windows fonts / Mac fonts / Font family
Normal style Bold style
Arial, Arial, Helvetica, sans-serif Arial, Arial, Helvetica, sans-serif
Arial Black, Arial Black, Gadget, sans-serif Arial Black, Arial Black, Gadget, sans-serif
Comic Sans MS, Comic Sans MS5, cursive Comic Sans MS, Comic Sans MS5, cursive
Courier New, Courier New, monospace Courier New, Courier New, monospace
Georgia1, Georgia, serif Georgia1, Georgia, serif
Impact, Impact5, Charcoal6, sans-serif Impact, Impact5, Charcoal6, sans-serif
Lucida Console, Monaco5, monospace Lucida Console, Monaco5, monospace
Lucida Sans Unicode, Lucida Grande, sans-serif Lucida Sans Unicode, Lucida Grande, sans-serif
Palatino Linotype, Book Antiqua3, Palatino, serif Palatino Linotype, Book Antiqua3, Palatino, serif
Tahoma, Geneva, sans-serif Tahoma, Geneva, sans-serif
Times New Roman, Times New Roman, Times, serif Times New Roman, Times New Roman, Times, serif
Trebuchet MS1, Trebuchet MS, sans-serif Trebuchet MS1, Trebuchet MS, sans-serif
Verdana, Verdana, Geneva, sans-serif Verdana, Verdana, Geneva, sans-serif
Symbol, Symbol (Symbol2, Symbol2) Symbol, Symbol (Symbol2, Symbol2)
Webdings, Webdings (Webdings2, Webdings2) Webdings, Webdings (Webdings2, Webdings2)
Wingdings, Zapf Dingbats (Wingdings2Zapf Dingbats2) Wingdings, Zapf Dingbats (Wingdings2Zapf Dingbats2)
MS Sans Serif4, Geneva, sans-serif MS Sans Serif4, Geneva, sans-serif
MS Serif4, New York6, serif MS Serif4, New York6, serif

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 🙂

How to change root categorie name in magento?

Go to Admin => Go to catlog => Click Manage Categories.

1. Create one new categorie

2. Go to System Menu => Click Manage stores.

3. Click Manage Store => Select your Root Category in Drop Down Via.

that’s all. 🙂

How to Solve WordPress Error: Warning: Cannot modify header information – headers already sent?

This is mostly white space proble.

1. You go your theme

2. First you check the function.php any unwanted “White Spaces” before <?php OR ?> after.

3. Or header.php before the php tag unwated white space is there. Thta’s most of the problem. so, kindly remove that’s working fine.

I solved this that white space type only.

that’s all 🙂

© 2020 Spirituality