How to find httpd.conf file in wordpress

In a typical WordPress installation, the httpd.conf file is not directly accessible or editable from within the WordPress dashboard. The httpd.c To find the httpd.conf file in Google Cloud Platform (GCP), you need to access your virtual machine instance and navigate to the appropriate directory. To find the httpd.conf file in GCP: Log in to… Continue reading How to find httpd.conf file in wordpress

Downloading a file on clicking on a link

HTML <a> download Attribute is used to download a file when clicking on the link (instead of navigating to the file). Example: <a href=”./completefile.pdf” download class=”download-btn”>Download eBook </a> The download attribute specifies that the target (the file specified in the href attribute) will be downloaded when a user clicks on the hyperlink. Can be used with or without a filename value: Without… Continue reading Downloading a file on clicking on a link

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

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

Setting up wordpress on local server(Windows)

WordPress version is installed locally on our computer by creating a temporary database and server.The steps included in settinp up wordpress on local host are:1.Download and install XAMPPDownload XAMPP(XAMPP for windows 8.2.0).Run the installer.After installation, XAMPP control panel will be displayed .Click the start button,near Appache and MySQL 2.Create Local databaseCreate database using MySQL in… Continue reading Setting up wordpress on local server(Windows)

Product filtering in Big commerce

Product Filtering/ faceted search allows shoppers to refine product searches based on multiple attributes like price, color, size, and reviews. Using filters on your storefront can make it easier for shoppers to navigate products by allowing them to search the way they want to. Product filters appear on category, brand, and search pages. The store… Continue reading Product filtering in Big commerce