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
- when clicking update after page editing it returns this page not working in wordpress
- Checkboxes to automatically create pages when I activate a theme
- How to remove the duplicate title tags and duplicate meta descriptions?
- Multiple meta_key with get_pages
- Sup pages can’t be found
- Custom CSS is overwritten by WordPress?
- Cannot pull WYSIWYG content
- Cannot update page – with too many characters?
- How to see the dashboard of a downloaded wordpress website?
- WordPress form submit to custom page template does not work
- Removing add new pages form editor role
- Detecting if I’m on a single, non-post, non-homepage page?
- Share a folder with files
- Front Page post mirroring revisions to other pages, constantly updating itself
- how to setup subdomains for pages?
- How to approach need for virtual page on my WP site?
- Why Google map can not show full size in a page?
- Two different layouts for the same post
- How can I change the background color of a contact box? [closed]
- Remove and change pages label
- My page title turns into a h2 tag – What to do?
- How to use wp_dropdown_pages or wp_list_pages to accomplish a menu like this?
- Is it possible to embedd this web app to my website [duplicate]
- Using external DB within wordpress
- Maximum number of characters in a wordpress page?
- How do I locate a third party page represented as a slug in my WordPress website?
- Customise the_title in admin area
- Hidden Pages, Posts & Plugins
- How to remove a css class for any wordpress page
- Microsoft Security Essentials is blocking my WordPress website in IE11
- Add pagination to search.php page
- Editing pages from dashboard
- Creating content using wp-admin pages
- change page status with code
- Calling JavaScript for specific page irrespective of whichever theme you select
- Page view displays not properly after update wordpress
- WordPress comments section on pages not appearing
- Cannot use old slug – it just 301s to site home page
- What’s the best way to manage sections on a page?
- How to insert current user ID in a shortcode?
- problem with loading pages
- Press This for Page
- Supress listing of virtual pages
- Get child pages in get_pages function
- Display grandchild page content on parent page
- WordPress Page All Content In Template Good Or Bad Convention?
- Check if sidebar is active on page with id
- Send e-mail from admin area to adresses in custom field
- Pagination For Page Post Type
- How to turn post into pages and via versa?
- Make wordpress pages accessible for Woocommerce logged in users only
- Access link page and not folder content of that link
- Content not displaying on page
- How do you assign custom template for Posts page (under Front page displays setting)
- How to limit the pages shown in the page manager to those created by the logged in user?
- How can I get the page from menu as posts?
- Is it better to set social media sharer in entry-footer.php or comments.php in WordPress blog?
- My AJAX requests take 30 seconds to complete
- Get All Pages as strings in array
- Author information on all pages
- WordPress The Next Posts