Your theme’s body_class
can be used to target specific pages:
body.home /* front and subsequent pages */
body.paged /* any page *except* front page */
Related Posts:
- Get next/previous cousin page
- How do I load custom scripts and styles for a page?
- What are the options for running custom css and javascript files on a page?
- wordpress with many custom styled static pages
- Displaying page content in category archive (archive.php)
- “next page” of parent in infinite loop
- Page redirects to archive
- Add external css to Contact Page
- next and previous year month and day for archive page
- External stylesheet per page
- How can I use “getarchives_where” to get monthly archives for static pages?
- Adding a Calculator to a WordPress Page
- Prioritize visible content – Page speed issue on Google insights
- Custom page in archive page for certain category
- Change a Page’s Header Image
- How to store archived copies of a WordPress site
- Different css file not working for the page template I created
- Use an archive as the parent of a page?
- Next Page & Previous Page links – skipping a single page – how?
- Multiple Loops That Pull Pages (Child/Grandchild) While Styling the First Entry
- Archive limit the text of the_content
- Page Slug Won’t Change – Can’t Edit Archive Page With Slug or Reassign Slug
- Set different heights per screen size with inline styles CSS into the ‘Text’ section of a Page
- WordPress default theme cannot get full page on entry content div
- How can a .css file be applied to a virtual page?
- Converting HTML to WordPress theme: integrating pages function and using its text editor, conditional enqueuing
- Bundle a page with custom url and a function
- Blank white space where header was [closed]
- Set order acs and no paging for archive page
- Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)
- get next/previous post name
- Create custom archive page for individual authors which is separate from the author.php page
- CSS Styling for a Page/ Site made with Pagelines
- How to align bold,italic and underline in wp-admin?
- Archive with specific keyword by category sorted by date
- Load new Posts on Scroll on Page
- Edit the text location of a form
- Add a “Next Post” & “Previous Post” styled button manually to a post
- custom css in one page
- Get page id by template
- Listing pages which uses specific template [duplicate]
- WordPress page edit does not save selected template
- Automatically set page order on create page
- Is it possible to set a page template on a dynamic home page (articles list)?
- Posts archive index pagination in a static page custom query
- Page with page template not using template in Preview
- Subpages return 404 error [closed]
- wp_dropdown_pages default value
- User capability of create page/new page
- A function like is_page() but returns true if on any sub page of given page
- How to get the excerpt of a page before more tag?
- Using page slug in array
- Shortcode produces blank page
- Get all children page ID’s including parent by title
- How to modify the default WordPress ‘Pages’ widget to have titles on the anchor tags?
- I have index.php and other files, how do I display other pages?
- is_home() returns TRUE on page template
- Created php page in wordpress – Error Page can not be reached
- Adding New Users to Your WordPress Site for edditign only one page
- Multiple alias for single page
- Removing Parent Page URL While Keeping the Navigation Intact
- Organizing Your Pages
- IF user is logged in only show certain page
- No Appearance panel is shown
- hard coded html / php pages on local host directory don’t show up in WP dashboard
- the_content of template page
- Post Fetching Ignoring Sort_Column?
- loading a javascript on a WP PAGE
- Is it possible to check for shortcodes on a page?
- WordPress 3.2 – removed ability to select a page template in the page attributes when adding a new page?
- Can I “protect” a page with a form asking for an email address?
- Use same page-mypage.php template for several pages
- Is it possible to restrict access to specific pages in the admin area based on the page slug?
- How to create cutom link for page
- Set a variable to using in redirected page
- creating single page with 2 columns while theme is 3 column
- Outputting content from page
- Displaying the blog entries in a Page (using get_posts to retrieve the posts)?
- Different template parts when on different pages
- Updating page template pragmatically
- Adding in additional pages into a custom theme
- How to use wp_dropdown_pages or wp_list_pages to accomplish a menu like this?
- Get child pages in get_pages function
- WordPress Page All Content In Template Good Or Bad Convention?
- Displaying Content Only in Certain Page IDs Not Working
- How to Change the path of a child page?
- Category foreach Paging
- Annoying notification when trying to create a new page
- Page stuttering on load
- How To List Sibling Pages And Include The Featured Image?
- WP Template Hierarchy – Need help choosing the correct templates
- the_content() Returns post content when I want page content
- disable trashability for certain pages
- how bbPress and buddypress add their own page templates to the page template drop down on the page editing screen
- Can’t select a page using is_page()
- pages won’t show on front page using loop or pre_get_posts
- Does WordPress list all pages for crawlers?
- List of pages – AJAX load more
- one time visit to the page
- How to display text of a page in home or custom page?