No specific markup is required in a theme. The only exception are themes published on wordpress.org, they have to follow the guidelines. And even there, <div class="entry">
is not required.
The only parts you have to use are these:
while ( have_posts() )
{
the_post();
print '<h2>' . get_the_title() . '</h2>';
the_content();
wp_link_pages();
}
Related Posts:
- Can you create a custom page with content in the center already defined?
- How to move page template files like page-{slug}.php to a sub-directory?
- Is it possible to manipulate the list of page templates?
- Returning Variables back into a template
- How to highlight the current page in the nav menu?
- Where can I access my custom page template?
- Highest number of WordPress Custom Page Templates?
- Single Page theme [closed]
- How to add “Template” option in page attributes panel?
- How to create a custom page(not a template) in a theme
- how to setup custom content structures
- How to Find the Page the Front Page is Using?
- How to place HTML tags in content from the_content()?
- Need help with adding templates (archives and sitemap) to WordPress child theme
- Template for landing pages
- Issue On Displaying Pages with Post Name Permalink
- Why in the static pages of my theme are showing these information?
- How to track a users last visited page?
- How to add pages in wordpress using codes?
- Injecting pre-defined text from custom page template to editor
- Custom theme template files
- How to show metabox on page if it is using a template
- Creating a theme just to deploy a single page
- Problem with Displaying Custom Theme Page’s Content
- WordPress Twenty-Fourteen: How to Remove Home Page Header Image from Other Pages
- wp_editor some functionality not working on custom theme
- One-Page WordPress Template
- Create a custom theme-specific page, invisible in the admin-panel?
- How to create multiple pages in a client theme?
- How get the 10 most viewed pages (not post)
- Standard Way To Do Custom Work Within A Page?
- Is there a way to have WordPress autodetect page templates in the page-templates directory and any sub-folders?
- What is the point of using the front-page.php template? [closed]
- How to automatically set a Template Page Name next to a page in menu screen such as WooCommerce pages, front page, or posts page in wordpress?
- Sizing screenshot.png without losing aspect ratio
- How to add CSS class to custom logo?
- How to add custom css file in theme?
- theme path in javascript file
- get_template_part vs action hooks in themes
- The the_post_thumbnail without srcset?
- The proper way to include/require PHP files in WordPress
- after_setup_theme always runs
- Do I actually need to link my theme’s style.css in the theme files
- Using classes instead of global functions in functions.php
- WordPress API Menu/Submenu Order
- How to insert a logo in the header?
- CSS classes for theme
- A way to automatically install pages on theme install?
- Add custom classes to anchor in wp_nav_menu
- How to remove search bar from a wordpress theme? [closed]
- Should `get_template_directory_uri()` be escaped?
- Get url of thumbnail from the media uploader
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- How To Add New Option Types To Option Tree?
- WP 3.4 – what action/hook is called when theme customisation is saved?
- What WP folder can I use to write files to?
- How to move page templates to custom folder?
- Are the WordPress Core CSS styles really all nessesary?
- Add a dropdown to theme customizer
- Should I use set_transient or update_option?
- Why doesn’t default WordPress page view use force_balance_tags?
- Page template in two level deep folder
- Create “File-less” Page Template in Functions.php
- Theme Customizer : how to create multiple-level panel
- Why I can’t add a CSS style in this WordPress theme?
- Theme file for all pages that are a child of a specific page
- Allow Shortcode in Theme Customizer
- Where to post/upload the new theme for WordPress theme repository
- Setting multiple default background images?
- Template for individual post designs
- How to make a theme with more than one CSS file?
- Is it good to rename theme folder downloaded from WordPress.org?
- Best practice way to implement custom sections into a WordPress theme
- Editing the custom background CSS
- What is the problem if I use CDN in my WordPress parent theme(built using bootstrap)?
- register_sidebar ignores ‘id’ and ‘class’
- Pages: frontpage.php, home.php, posts page etc
- Adding items to page template dropdown on Page Edit Screen
- What, specifically, should be included in theme_name_setup()?
- How to get gallery images?
- Posts in multiple Categories different single.php
- Is it possible to use line break in theme description?
- Is the theme customizer slowing down my site?
- How can I get wp_head() as a string instead of echoing it?
- Display a different theme for not logged-in users
- Best practice (forward compatibility) for theme options
- Automatic Updates For Private And Commercial Themes?
- Add colors to existing color palette without replacing it
- Child Theme not loading parent CSS
- What can I hook into after_setup_theme?
- Hide certain pages / posts on wp-admin, show custom filter
- Where do I find the functions triggered within a hook?
- What does “Do not deregister the jquery script in the administration area” mean?
- What is the best book to learn how to make themes for wordpress?
- Grab the first paragraph of each post
- Adding Content Areas to Custom Page Template
- add_image_size is scaling, even though crop is set to true
- Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’
- How to show next Post Thumbnail image in WordPress using current post id
- Symlink a directory to wp-content/themes