Bug Thinking

Menu
  • Home
  • Blogging
  • Health
  • Reviews
  • Technology
  • Tutorials
Home
How To
How To Add An Archive Page for AquaMag Theme (Theme-Junkie)

How To Add An Archive Page for AquaMag Theme (Theme-Junkie)

By: Arsie Organo Jr.

Most blog owners rely on what their WordPress Themes can offer them. WordPress can offer each bloggers their desired design, and along with it are the templates. But there are WordPress themes have missing templates. Intentionally or not, it is up to you to patch them up by manually adding it.

One example is the AquaMag WordPress theme from Theme-Junkie where the Archive Template is missing. Bug Thinking is using AquaMag and one of the things I wanted to offer my reader is an Archive page section. And that is the one I think is missing from this amazing theme. That’s why I’ve added one.

In this article, I will share with you how you can add an Archive page on your blog if you’re using AquaMag Theme. Here’s an example of Bug Thinking’s Archive page.

Things You Need To Create An Archive Page

Before you proceed, here’s some of the simplest thing you’ll need so that you can add an Archive page on your AquaMag WordPress Theme.

  • Any text editor such as Windows Notepad or better yet Notepad++
  • Administrator access to your WordPress Dashboard Panel
  • CPanel or FTP access your domain
  • And the most important of all – open mind! 🙂

Steps to Create an Archive Page

From hereon you will be creating now your own custom Archive page for your WordPress theme. You can do it locally first as not to harm your blog site if anything breaks. But I can assure you that the codes that I will be sharing were tested.

Further Reading:

  • Why Should You Install WordPress Locally First?

Let’s proceed.

  1. Log in to your WordPress blog site and then go to Appearance > Editor.
  2. Select the theme to edit. By default, you’re already on AquaMag theme editor. But some, like Bug Thinking, is using the theme child. So I had to switch theme.
  3. On your right side, look for the 404 Template page (404.php). Click that template.AquaMag Theme 404 Template
  4. Copy the whole code code from the left window.
  5. Open your text Editor. I will be using Notepad++ for this example. Paste the code on a blank page.Notepad++
  6. Now, let’s focus on the code pasted in Notepad++. First, delete the following codes/lines since we will be inserting some new lines needed for your Archive page. Refer to Code 1 below.
  7. Next is to add the following line to indicate that what we’re doing is a template. Refer to Code 2.
  8. The following lines will be the final touches. This will contain now your Archive page template. You can further enhance it by referring to WordPress Codex page for creating Archive page template. Refer to Code 3.
  9. Save the Archive page template you created.
  10. There you have it, we’re almost done. It’s time for you to upload this new template to your domain. You can either use your CPanel or upload the new template. You must upload it to your theme directory. Example: /<home directory>/wp-content/themes/aquamag/page-templates.
  11. Then add a new page. On your right panel, you can select which template you need. Use the archive page template you’ve created.Archive page template

There you have it!

Code 1 – Deleting unwanted codes

https://gist.github.com/arsieorgano/66283ca48c2ac80f4328

Code 2 – Adding indicator that this is a Archive page Template

https://gist.github.com/arsieorgano/d0db6d75736f32b61cf0

Code 3 – Insert the following codes

https://gist.github.com/arsieorgano/36a81c1a99ca8a7d9d07

Code 4 – The final Archive page template code

https://gist.github.com/arsieorgano/8ca94824ad5fdb1ccd91

I hope this article helped you in creating your own Archive page template especially if you’re using AquaMag theme from Theme-Junkie.

Share this article with a friend

Twitter Facebook Pinterest LinkedIn
Prev Article
Next Article
Tags:Codes HowTo Template Wordpress

Trending Posts

  • Sublease Agreement
    How to Write a Decent Sublease Agreement?
  • How I Was Able To Recall A Gmail Message I Accidentaly Sent
    How I Was Able To Retract An Email I Accidentally …
  • Airplane Window Shade Must Be Kept Open When Taking Off Or Landing
    Why Do Airline Attendants Ask You To Keep Window Shades …
  • How To Effortless Convert Bulk PNG Images To JPG
    How To Effortless Convert Bulk PNG Images To JPG
  • How to Add and Remove Microsoft Windows 10 Login Accounts For Your Family Members Or Temporary Users
    How to Add and Remove Microsoft Windows 10 Login Accounts …

Bug Thinking

Welcome And Thank You

Well, hello there our dear readers!
BugThinkingLet me use this small space to express our gratitude and thanks to you. Thank you for spending your time to read what we’ve shared here in Bug Thinking. We hoped that it gave you somehow additional information that is worth reading or sharing. We will continue to provide you more informative articles – this is our commitment.  Again, thank you for your continuous support! – Arsie Organo Jr. (owner)

References

  • About Us
  • Contact Us Anytime!
  • Archives
  • Privacy Policy
  • Cookie Policy
Copyright © 2021 Bug Thinking
All Rights Reserved. Sitemap · RSS Feeds