[email protected]

24/7 Customer Support

Mon - Sat: 9:30 - 21:30

Online store always open

How do I create a custom archive page in WordPress?

How do I create a custom archive page in WordPress?

How do I create a custom archive page in WordPress?

What plugins are available to help create ⁢a custom archive page ⁢in WordPress

How do I create a custom archive page in WordPress?

Creating a⁣ custom archive page in WordPress is a ‍great way to organize and display your content in a unique and attractive way. Whether you’re looking to create⁣ a portfolio⁢ page, a blog page, or a ⁢custom page for a specific category, a custom archive page can help you do ⁢it.

Step 1: Create a New Page Template

The first step ⁤to creating ‌a custom archive⁣ page in WordPress ⁢is to create a new page template.‌ This template will be used to display the content you want to include in your archive page.‍ To create a new page template, open your WordPress dashboard and navigate to Appearance > Theme Editor.⁤ From there, select the “Page Templates” folder and click “Add New”.

Step 2:⁤ Add the Code for Your‍ Custom ‍Archive Page

Once you’ve created‍ your new page template, you’ll need‌ to add the code for your custom archive page. This code ‌will tell WordPress how to display the content you want to ⁤include in ⁣your archive page. To do this, open your page template and‌ paste the following code into the editor:

Template Name: Custom Archive Page


// The Query
$the_query = new WP_Query( array(
‘post_type’ =>⁢ ‘post’,
‘posts_per_page’ =>‍ -1,
‘orderby’ => ‘date’,
‘order’ => ‘DESC’,
) );

// The⁢ Loop
if ( $the_query->have_posts() ) {
echo ‘

/* Restore original Post Data */
} else {
// no posts found


This code will display⁣ a list of all your posts in reverse chronological order. You can customize this code to display different types of content, such as pages, custom post types, or specific categories.

Step 3:⁣ Add the Template to ‍Your Page

Once you’ve ⁤added the code for your custom‍ archive page, you’ll need‌ to⁤ add the template to your⁢ page.⁢ To do this, open the page⁣ you want to add the template to and select the “Page Attributes” tab.⁤ From there, select the template you created in Step 1 from the “Template” dropdown menu.

Step⁢ 4: Customize Your Archive Page

The ⁢last step ‍is to customize your archive page. You can do this by adding custom CSS to your page template or by using a plugin such as Advanced Custom Fields. This plugin allows you to add custom fields⁤ to⁤ your page, such as a featured image, a description, and ⁣more.


Creating a custom archive page⁢ in WordPress is⁤ a great‌ way to organize and display​ your content in a unique and attractive⁢ way. With a few simple steps, you can create ‌a custom page⁢ template and add it to your page. You can⁤ then customize your archive page ‍with ​custom CSS or a ​plugin such as Advanced Custom Fields.

If you need help with any small or big project, Free Spirits www.freespirits.gr and ⁢www.fspirits.com can help.

Need help with your project? Get in touch!

Give Us A Call At: 00302310729873
Send Us A Message At: [email protected]
Fill In Our Contact Form

Picture of Constantinos Albanidis

Constantinos Albanidis

We are Pioneers in the Field of Marketing, creating personalized and innovative solutions to help our clients grow their businesses and achieve their goals.

Featured Section

add advertising here

How do I create a custom archive page in WordPress?

Follow Us

Featured Section

add advertising here

Subscribe To Our Channel

About Freespirits

At FreeSpirits Web Services, we believe that your online presence should reflect the uniqueness and spirit of your business. Our team of skilled designers and developers is dedicated to crafting visually stunning and user-friendly websites that capture the essence of your brand. From captivating web designs to seamless functionality, we provide comprehensive web services tailored to your specific needs. Whether you’re a small business or a large enterprise, our expertise in web design and development ensures that your website stands out from the crowd, engages visitors, and drives results. Experience the freedom of a beautifully designed website that truly embodies the spirit of your business with FreeSpirits Web Services.

Latest Articles

Subscribe To Our
Greek Channel

Featured Section

add advertising here