Category Archives: Blog



Learn Software Testing At Nagpur

SOFTWARE TESTING-CONTENT Contact Number:   9623332211  Introduction What is software testing? Why is testing necessary? Testing principles Career path of Software Tester. SDLC Analysis Design Coding Testing Implementation and maintenance LEVELS OF TESTING Unit testing Integration testing System testing User acceptance test SDLC MODELS Waterfall model Spiral model V-model Agile Testing Verification Inspections Walk through Peer […]

MCA And Engineering Live Projects

image

What is Industrial Training? · It also diversifies their practical experience and helps them in developing the attributes of team work and correlation with members of other professions and disciplines. · It is intended to provide the trainees with a new dimension to their experience. · Industrial Training in an industrial environment provides the trainees […]

Display Attributes in Product View page Magento

<table class="data-table" id="product-attribute-table"> <?php $add = new Mage_Catalog_Block_Product_View_Attributes(); $add->setProduct($_product->getId()); $_additional = $add->getAdditionalData(); ?> <tbody> <?php foreach ($_additional as $_data): ?> <?php if($_data[‘value’]!=null && $_data[‘value’]!=’No’ && $_data[‘value’]!=” && $_data[‘value’]!=’N/A’):?> <tr> <th><?php echo $_data[‘label’] ?></th> <td><?php echo $_data[‘value’] ?></td> </tr> <?php endif; ?> <?php endforeach; ?> </tbody> </table> <script type="text/javascript">decorateTable(‘product-attribute-specs-table’)</script>

How to remove unwanted links / Junk from head in wordpress ?

insert below code in theme function.php <?php remove_action(‘wp_head’, ‘rsd_link’); remove_action(‘wp_head’, ‘wp_generator’); remove_action(‘wp_head’, ‘feed_links’, 2); remove_action(‘wp_head’, ‘index_rel_link’); remove_action(‘wp_head’, ‘wlwmanifest_link’); remove_action(‘wp_head’, ‘feed_links_extra’, 3); remove_action(‘wp_head’, ‘start_post_rel_link’, 10, 0); remove_action(‘wp_head’, ‘parent_post_rel_link’, 10, 0); remove_action(‘wp_head’, ‘adjacent_posts_rel_link’, 10, 0); ?>

How to add google analytic code in footer wordpress ?

Insert below in your theme function.php // add google analytics to footer function add_google_analytics() { echo ‘<script src=”http://www.google-analytics.com/ga.js” type=”text/javascript”></script>’; echo ‘<script type=”text/javascript”>’; echo ‘var pageTracker = _gat._getTracker(“UA-XXXXX-X”);’; echo ‘pageTracker._trackPageview();’; echo ‘</script>’; } add_action(‘wp_footer’, ‘add_google_analytics’);

How to Add / Change favicon in admin and frontend wordpress ?

Insert below code of your theme in function.php // add a favicon to your function blog_favicon() { echo ‘<link rel=”Shortcut Icon” type=”image/x-icon” href=”‘.get_bloginfo(‘wpurl’).’/favicon.ico” />’; } add_action(‘wp_head’, ‘blog_favicon’); // add a favicon for your admin function admin_favicon() { echo ‘<link rel=”Shortcut Icon” type=”image/x-icon” href=”‘.get_bloginfo(‘stylesheet_directory’).’/images/favicon.png” />’; } add_action(‘admin_head’, ‘admin_favicon’);

How to remove menus in WordPress admin dashboard ?

function remove_menus () { global $menu; $restricted = array(__(‘Dashboard’), __(‘Posts’), __(‘Media’), __(‘Links’), __(‘Pages’), __(‘Appearance’), __(‘Tools’), __(‘Users’), __(‘Settings’), __(‘Comments’), __(‘Plugins’)); end ($menu); while (prev($menu)){ $value = explode(‘ ‘,$menu[key($menu)][0]); if(in_array($value[0] != NULL?$value[0]:”” , $restricted)){unset($menu[key($menu)]);} } } add_action(‘admin_menu’, ‘remove_menus’);