How to disable and enable the scroll in website(Java Script)

In this section we can see how we can disable and enable scrolling option in an ecommerce website using javascript function. First of all we have to set up a block of code in the respective page. // PREVENT DEFAULT HANDLERfunction preventDefault(e) {  e = e || window.event;  if (e.preventDefault) {    e.preventDefault();  }  e.returnValue =… Continue reading How to disable and enable the scroll in website(Java Script)

How to add a menu to wordpress dashboard

The add_menu_page function in WordPress is used to add a top-level menu page in the WordPress dashboard. Here’s the basic syntax of the add_menu_page function: add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = ”, string $icon_url = ”, int $position = null ) Parameters in the function are: $page_title (string): The… Continue reading How to add a menu to wordpress dashboard

Upsells and cross sells in WooCommerce Store.

WooCommerce cross-sells and upsells are both marketing strategies to get customers to increase their average order value by offering relevant product recommendations on the product page, in the cart, or at the checkout. These two terms are often used interchangeably but actually refer to two distinctly different marketing techniques. Upsell means you “offer the same type of product… Continue reading Upsells and cross sells in WooCommerce Store.

Plugin to display twitter feed

To display twitter feeds in wordpress,a new plugin “Feed Them Social – Page, Post, Video and Photo Galleries” by By SlickRemix can be used. “ Custom Twitter Feeds” plugin was used to display twitter feed in wordpress.Now this plugin updates feeds in the page only for paid users.A update may happen in June which enable… Continue reading Plugin to display twitter feed

Published
Categorized as Wordpress

How to add footer links in wordpress

Create a widget in your custom theme. To add widgets in the dashboard, register sidebar function in the page functions.php. function arphabet_widgets_init(){register_sidebar( array(‘name’ => ‘Footer Sidebar 1’,‘id’ => ‘footer-sidebar-1’,‘description’ => ‘Appears in the footer area’,‘before_widget’ => ”, ‘after_widget’ => ”,‘before_title’ => ‘ ‘, ‘after_title’ => ”,) );…….…..…}add_action(‘widgets_init’,’arphabet_widgets_init’); This will give a widget in the dashboard.… Continue reading How to add footer links in wordpress

Custom menu creation in wordpress

To register a navigation menu in WordPress the function : register_nav_menus() should be added in functions.php file. This will create a menu tab in wordpress control panel. To customize the default menu, you have to enter the WordPress dashboard, click on Appearance and then on Menus. Give the menu a name, and then click the Create Menu button. After creating it,… Continue reading Custom menu creation in wordpress