Open archive.php from your theme’s directory the code will look like this
<?php
/*
Template Name: Archives
*/
get_header(); ?>
<div id="container">
<div id="content" role="main">
<?php the_post(); ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php get_search_form(); ?>
<h2>Archives by Month:</h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h2>Archives by Subject:</h2>
<ul>
<?php wp_list_categories(); ?>
</ul>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
the add your html code between
</div><!-- #content -->
Your code goes here …….
</div><!-- #container -->
…………………………………………………………………..
upvote my answer i..
Related Posts:
- Double count view in archive.php
- Increase 10 post limit per page
- Archive template combined with post slider and regular posts
- How do I apply a wordpress function to something with no ID inside an archive page?
- Page 2 has no posts?
- How to Add Wrapper to Infinite Scroll Javascript?
- Displaying categories items among posts
- Determine if page is the Posts Page
- How to get ‘post_content’ without stripping tags?
- Post preview mechanism architecture
- Post featured image column on admin post list page
- display all posts in wordpress admin
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- When and Where is `global $post` Set and Available?
- Counting words in a post
- How to programmatically create posts in wordpress?
- How to Sort Custom columns in admin
- Shortcode Not displayed at the Right Place [duplicate]
- Post visibility on the basis of roles
- List only child categories a post is in, of a specific parent category
- is there a better way of combining this?
- How to change post status from publish to draft using hook in wordpress?
- How to output comments number of a post per day?
- get_permalink executes link without https
- Auto Refresh Post List after X seconds
- How to show video from specific category on sidebar?
- Display posts with comments closed, with pagination?
- How can I add a meta-box to the posts editor containing all items of a custom taxonomy as checkbox?
- Displaying a widget only on long posts (over X characters)
- Remove permalink from images when inserting into post
- can’t use the page_test method to check pagination
- post re-order on my site
- How to create a load more post entries like Twitter?
- WordPress blog post cloned and stolen?
- What is the Better way to manage posts in WordPress?
- Is there a way to apply WordPress categories at the block level?
- Insert woocommerce products programmatically with featured image and gallery
- wp-cli post create & media import issues
- Getting the current author (it has changed) of a post, not the original author
- Post body text occupying featured image space before it loads
- Hightlight unread posts or new posts since last login
- User levels and post visibility
- Multi row post list
- Hook in to add new post link wp admin?
- What happens if I delete all the rows that represents a post revision from the posts table into WordPress database?
- How do I insert a post with custom post type and relate it to a custom taxonomy?
- How show categories in admin and get that selected to show posts in index
- Display related post by tag name of current post
- Get posts with multiple categories
- Do not show children of a category
- Tell WP to use a specific template file in posts
- Create a list of posts with topic headdings
- Add field to user meta table in database when link is clicked
- Display a list of users who have viewed the post you are viewing
- Where exactly should I hook in order to change the post’s ID before insertion in the database?
- Images showing up in Post Editor, but not in Published Post
- Count the number of a post types associated with another post type
- How to get the latest URL of my blog?
- Not all posts showing in query
- Template for regular posts (no custom post types)
- Hide parts of the post content after typing it’s name or searching it by category
- search content of pages and list in wp-admin
- SQL Bulk Move old posts by one author to another category
- adding my posts (author posts) in menu
- How to separate each individual blog post?
- get parent fields title, content excerpt etc
- Changing permalink of WordPress
- Rest API Paginate until all posts are imported
- How to show multiple posts thumbnail, title and date in widget
- Group first, 2nd, 3rd, etc posts by category terms
- Query to fetch custom taxonomy along with post title
- exclude particular category in api
- Change of author not updating
- How to backup WP blog posts to computer, not new site
- Make categories appear random
- Single post shows post three times
- Create Posts from API response without duplicates
- I want to change the WordPress comments file
- How to find the edit link of the WordPress Post from the URL
- Blog Page doesn’t show summary but full content
- Change WordPress names duplicate titles (url)
- Get posts from category from custom query
- Changing a users posts to drafts upon role change
- Show 5 posts and than 3 posts offset with pagination
- Alternative content between posts no repetition
- Start loop from specific post ID
- Connection dropped due to file size
- How to Get Position of a Post from a category and tag
- Custom author search
- Ajax – Post Categories and Load More
- Skip posts, but keep posts per page
- My blog “page” used to show a list of posts, but now it’s just showing the page content?
- how to add a facebook page latest posts into my wordpress site
- unused post IDs
- Display ONLY Latest Post From Several Categories
- Combining multiple conditional statements [closed]
- First post in loop displays twice
- Is there a block to print post link standalone in a block theme?
- Export Posts Without Categories In An XML File
- Dynamic Menu Item