• Latest
  • Trending
  • All
How to to hide Header and Footer on certain pages in WordPress

How to to hide Header and Footer on certain pages in WordPress

October 27, 2021
🚀 How to Send WooCommerce Order Notifications on WhatsApp Without Using Cloud API

🚀 How to Send WooCommerce Order Notifications on WhatsApp Without Using Cloud API

May 8, 2025
How to Create a Flight and Tour Booking Website & App Using WordPress (With Skyscanner Integration)

How to Create a Flight and Tour Booking Website & App Using WordPress (With Skyscanner Integration)

April 6, 2025
Introducing CargoHub: The Ultimate WooCommerce Courier and Logistics Plugin

Introducing CargoHub: The Ultimate WooCommerce Courier and Logistics Plugin

February 28, 2025
How to Connect WooSMS API with OTP Login Woocommerce Plugin

How to Connect WooSMS API with OTP Login Woocommerce Plugin

February 1, 2025
How to Launch Your Own Flight and Hotel Booking Website with a Ready-Made Script

How to Launch Your Own Flight and Hotel Booking Website with a Ready-Made Script

January 27, 2025
How to Add WhatsApp as a Payment Gateway in WooCommerce | Order on WhatsApp for WooCommerce

How to Add WhatsApp as a Payment Gateway in WooCommerce | Order on WhatsApp for WooCommerce

December 21, 2024
Shipment Tracker for WooCommerce: Simplify Your Shipping Process

Shipment Tracker for WooCommerce: Simplify Your Shipping Process

December 16, 2024
How to Get Your WhatsApp Business Display Name Approved: WhatsApp branding guidelines

How to Get Your WhatsApp Business Display Name Approved: WhatsApp branding guidelines

November 14, 2024
The Core Principles of SEO: A Comprehensive Guide

The Core Principles of SEO: A Comprehensive Guide

October 18, 2024
How to Create a Hotel or Tour Booking Website with HotelEase – Ultimate Hotel Booking Website Software for WordPress

How to Create a Hotel or Tour Booking Website with HotelEase – Ultimate Hotel Booking Website Software for WordPress

November 14, 2024
How to Get and Integrate Flight & Hotel Booking APIs: The Ultimate Guide for Travel Businesses

How to Get and Integrate Flight & Hotel Booking APIs: The Ultimate Guide for Travel Businesses

September 10, 2024
How to Convert Your WooCommerce Website into an Android App in Just a Few Minutes – No Coding Required!

How to Convert Your WooCommerce Website into an Android App in Just a Few Minutes – No Coding Required!

August 29, 2024
  • Home
  • Contact us
  • Domain Checker
  • Portfolio
  • Privacy Policy
Thursday, May 8, 2025
  • Login
Wp Hacks4u
  • Home
  • Domain Checker
  • wordpress
    • woocommerce
    • SSL
    • Google Map
  • Tech
  • Portfolio
  • CargoHub
No Result
View All Result
Wp Hacks4u
No Result
View All Result
Home wordpress

How to to hide Header and Footer on certain pages in WordPress

by RAHUL
October 27, 2021
in wordpress, Tech
0
How to to hide Header and Footer on certain pages in WordPress
565
SHARES
1.6k
VIEWS
Share on FacebookShare on Twitter

1. Find Your WordPress Page ID and Post ID without a Plugin

Finding your WordPress page ID or post ID is an extremely quick process. To find a page ID, open your WordPress dashboard and click on Pages > All Pages.

Open All Pages

Then, select the page that you need to find the ID for. Here, I have chosen my Contact page:

Contact Page

Once the page has opened, you need to look at the URL in your web browser’s address bar. Here, you will find the page ID number displayed within the page URL.

WordPress Page ID

To find out a WordPress post ID, follow the same procedure. Log into your WordPress dashboard, then select Posts > All Posts.

Posts All Posts

Click on a specific post that you need the ID for. Once you are in the post Editor, view the post’s URL in your web browser’s address bar to find the ID number.

Post ID

Add This piece of code in your themes functions.php

 

[box type=”info” align=”aligncenter” class=”” width=””].page-id-“your page id” #header, .page-id-“your page id” #footer {

display: none; }[/box]

If you want to apply this code to a different page, you have to replace the “your page id” with the ID of the specific post or page you want to remove the header and footer from.

Tags: Header and FooterWORDPRESS
Share226Tweet141
RAHUL

RAHUL

  • Trending
  • Comments
  • Latest
How to make fake WooCommerce reviews? | Automatically generate reviews for your WooCommerce product

How to make fake WooCommerce reviews? | Automatically generate reviews for your WooCommerce product

June 18, 2022
How to Create a Hotel or Tour Booking Website with HotelEase – Ultimate Hotel Booking Website Software for WordPress

How to Create a Hotel or Tour Booking Website with HotelEase – Ultimate Hotel Booking Website Software for WordPress

November 14, 2024
How to convert a WordPress or Woocommerce website into an App for Free

How to convert a WordPress or Woocommerce website into an App for Free

June 30, 2023
How to Buy a Domain & Hosting in Hostinger And install WordPress in 5 Minute

How to Buy a Domain & Hosting in Hostinger And install WordPress in 5 Minute

4
HOW TO CREATE A CAKE ORDERING WEBSITE | ONLINE CAKE SHOP | TUTORIAL

HOW TO CREATE A CAKE ORDERING WEBSITE | ONLINE CAKE SHOP | TUTORIAL

1
HOW TO MAKE WOOCOMMERCE FOOD ORDERING WEBSITE LIKE ZOMATO&SWIGGY

HOW TO MAKE WOOCOMMERCE FOOD ORDERING WEBSITE LIKE ZOMATO&SWIGGY

1
🚀 How to Send WooCommerce Order Notifications on WhatsApp Without Using Cloud API

🚀 How to Send WooCommerce Order Notifications on WhatsApp Without Using Cloud API

May 8, 2025
How to Create a Flight and Tour Booking Website & App Using WordPress (With Skyscanner Integration)

How to Create a Flight and Tour Booking Website & App Using WordPress (With Skyscanner Integration)

April 6, 2025
Introducing CargoHub: The Ultimate WooCommerce Courier and Logistics Plugin

Introducing CargoHub: The Ultimate WooCommerce Courier and Logistics Plugin

February 28, 2025
Wp Hacks4u

Copyright © 2025 Wphacks4u.com

Navigate Site

  • Home
  • Contact us
  • Domain Checker
  • Portfolio
  • Privacy Policy

Follow Us

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now
This is a test site
Build with Digits
Protected by   
No Result
View All Result
  • Home
  • Domain Checker
  • wordpress
    • woocommerce
    • SSL
    • Google Map
  • Tech
  • Portfolio
  • CargoHub

Copyright © 2025 Wphacks4u.com

Enable Notifications OK No thanks