Tag Archives: themes

Add an Amazon aStore to a WordPress Website A Reasonably Simple Way to Add a Shop Free and without a Plug-in

As you can see from my links I have added a shop to this website. It did not take long and it is easy to add/remove categories and items.

I searched for how to incorporate an aStore into a website and went to this article –


Before I worked through the instructions I read some of the comments, one that was useful was about custom page templates. I did not know how to create a custom page template so another search led me to this article –


So, taken from both articles, the following are the steps I took to set up my aStore –

1. Go to Amazon affiliate program set up your aStore, at the end of the process you get the code (selecting – Embed my store using an inline frame)

2. I then followed the instructions from the second article and created an empty file in my theme folder called cover_page.php

This is what I put in cover_page.php



Template Name: Cover Page



<?php get_header(); ?>

<div style=”padding-top:5px”>

<iframe src=”http://astore.amazon.co.uk/fredbloggscou-21″ width=”100%” height=”800″ frameborder=”0″ scrolling=”no”></iframe>


<?php get_footer(); ?>

Note: You have to paste in your Amazon code, I changed some settings and should change more but it works.

3. Finally go to the dashboard in WordPress, add new page. All you have to do is add a suitable title for the page and then in Attributes on the right hand side, under Template, select your custom template.

Wordpress Custom Page Template
Selecting a WordPress Custom Page Template

Adding a ‘Tag Cloud’ to a WordPress Sidebar

I wanted to change the content of the sidebar for the default theme that comes with a WordPress installation. I wanted to add a ‘Tag Cloud’, which are built into WordPress and I think are a really good way of accessing information.

The file that you have to edit is called sidebar.php and you will find it in folders /wp-content/themes/default

You have to look at the listing and look at sidebar it created and spot the code which bit does what.

There is a list of navigation items that starts with –

<ul role=”navigation”>

I added the following list item –

<li><h2>Tag Cloud</h2>
<?php wp_tag_cloud(‘smallest=8&largest=16’); ?>

I also moved and deleted some other items to get the sidebar how I wanted it.

I also went into the admin Dashboard of WordPress, to the Links section to change the Blog Roll to a list of my links.

Day 2 of a New WordPress Installation

I was thinking about what  to do next with this site and I thought I would make my plan into a blog entry.

The obvious first thing to do is choose a theme. Having spent time modifying a theme I may delay this and have a go at designing my own theme (big head).

So my plan is

  1. A bit of housekeeping – upload old blog entries.
  2. Have a go at the side bar, I want a tag cloud (more on this later)
  3. Research ‘creating WordPress themes’