Mailing List Page

Posted December 17, 2011 in Theme Help

QUESTION:
How do I make a mailing list page with the velvet theme?

ANSWER:
All fixed height themes (ANA Lace, Satin, Velvet) include a mailing list page template. In order to make a page for your mailing list, go to Pages –> Add New. Enter your page name in the space provided and any introductory text (such as “sign up for my mailing list using the form below”) in the large text area. Then, on the right side, in the Page Attributes box, under Template, select “Mailing List” from the drop down menu. Now hit save and voila! your mailing list page has been created. If you’re using a custom menu, make sure to add your new page to the menu.

Mailing list form submissions and contact form submissions are sent to the main admin email address for the site, as entered in Settings –> General

Comments: 0

Theme Blogging

Posted December 12, 2011 in Theme Help

QUESTION:
With the fixed height themes, how can I show my blog posts?

ANSWER:
That’s a little tricky with fixed height themes. Since the site sidebar on these themes is strictly for photos, they are not widgetized. But there are several ways you can display blog entries on your site.

- If your posts are organized into different categories, you can add any category to your site menu (assuming you have a custom menu in place for your site). To do so, click on Menus from the left side menu of the WP admin area. On the lower left side of the screen you’ll see a box labeled Categories. Check the box next to any category you want and click on Add to Menu. You can then rearrange the menu order, click on Save Menu, and you’re done. One or more of your blog categories is now part of your main site menu.
You can also add one or more individual blog posts to your site menu in a similar manner. Use the Custom Links box to enter the post’s URL, a title for the page in the “Label” field, then clicking Add to Menu. Save your menu and it now contains a link to an individual post.

- You can make a page and manually enter links to individual blog posts, categories, archives, and/or tags. This is a rather tedious method. What you’re doing is creating a static page that would require updating the page each time you make a new post. In the case of monthly archives, a new link would have to be added to the page with each passing month. For the infrequent blogger, however, this is a quick and simple way to provide access to blog posts.

- A dynamic page is the most practical as well as the most complicated method. Back up your files before taking the following steps:

a. Either open one of your existing theme template pages (such as links.php if you’re not using a links page for your site) or make a new template page. To learn how to create a new page template, check this out. For more guidance on making page templates, please contact me.

b. Now you need to insert some PHP code into this template. The safest place to put this code is directly above or below . That little nugget of code is WordPress’s way of pulling up the content of the page that template is assigned to. More on that later.

To list your ten latest blog posts, add the following:
<?php wp_get_archives(‘type=postbypost&limit=10′); ?>
To list your blog categories:
<?php wp_list_cats(”); ?>
To list your monthly blog archives last 12 months:
<?php wp_get_archives(‘type=monthly&limit=12′); ?>
To list all posts alphabetically:
<?php wp_get_archives(‘type=alpha’); ?>

After you insert the code you want into the page, click on Save.

c. Next, go to the page that corresponds to the template you just edited. If you have not yet made the page or if you started with a fresh page template, go ahead and make your new page. If you don’t want any text on this page, leave the text area blank. Whatever is entered in the text area will appear either above or below your blog links, depending on where you put your code on the page template. If you put it above <?php the_content();?>, your links will appear above your text. If you placed your code below <?php the_content();?>, the links will appear below your text.
On the right side of the large text area, in the Page Attributes box, under Template, select your page template from the drop-down menu. Click on Save (or Update if the page previously existed). Add this page to your site menu. Now you have a dynamic page containing links to the portions of your blog that you chose. These links will update as time passes and as you add posts so there’s no need for you to do anything further with it. Blog away to your heart’s content!

- There are also plenty of plugins out there that provide a way to link to posts, categories, pretty much anything. The key to finding the right one is that you’ll need a plugin that you can implement by using either shortcode in a page or inserting some PHP code in a template page. Since widgets are not enabled on ANA Lace, Satin, or Velvet, a plugin that relies on widgets for execution will do you no good.

These are a few ways you can include links to your blog in your fixed height theme!

Comments: 0

Upgrading your Theme

Posted October 17, 2011 in Theme Help

QUESTION:
How do I upgrade my Theme to the newest version? Is there anything I should be aware of when doing so?

ANSWER:
From your WordPress administration area, in the left side menu, click on Appearance -> Themes. Select the tab at the top labeled “Install Themes”. Choose the option to upload a Theme from your computer. Locate the zip file of your Theme on your computer and click on the Install Now button. Once it’s installed, click on “Activate”.

When upgrading from your current Theme, always make a note of your settings and other information, as these may not carry over into your upgraded Theme.

One issue that occurs fairly frequently after upgrades is the photo gallery “loading” and “close” not displaying. Whether it happens to you depends on your WP installation. There’s a simple fix for this.

First find out the folder name of your upgraded Theme. You can do this by connecting to your site’s hosting control panel or FTP account. Go to your site’s root folder -> wp-content -> themes. Among the Themes listed, you will see your old Theme folder and the new one. Make a note of the new folder name. Now open that folder, then the folder labeled “js”, then “lightbox.js”.

Scroll down past the Table of Contents until you see the following lines:

LightboxOptions = Object.extend({
fileLoadingImage: ‘wp-content/themes/ANA-Clarity/images/loading.gif’,
fileBottomNavCloseImage: ‘wp-content/themes/ANA-Clarity/images/closelabel.gif’,

What you’ll need to do is change the ANA-Clarity reference (as in the example above) to the name of your upgraded folder. For instance, if WordPress installed your upgraded Theme into a folder named “ANA-Clarity1″, change the lines to:

LightboxOptions = Object.extend({
fileLoadingImage: ‘wp-content/themes/ANA-Clarity1/images/loading.gif’,
fileBottomNavCloseImage: ‘wp-content/themes/ANA-Clarity1/images/closelabel.gif’,

Do not make any other changes to the page. Now save the file. Once the image path is corrected in this way, the gallery “loading” and “close” labels will display correctly.

Comments: 0

Theme Pages Text

Posted October 4, 2011 in Theme Help

QUESTION:
How do I add more text on my FAQ, Gallery, Contact, and Links pages like on the Theme demos?

ANSWER:
These special Theme pages are set up in such a way that when you enter your information in the Site Options pages, it’s displayed on your site through hard coding on a few php files included with your Theme. That’s the magic that makes these pages so easy for non-techies to update. Adding additional text to those pages is incredibly simple too.

Say you want to add some text above your contact form with additional instructions or information. In your WP administration area, click on “Pages” from the left side menu. Then, from the list of pages, click on “contact”. You’ll notice that the large text area is blank, just as you left it when you (or I, depending on who set up your site) added the page during installation. To add text to the page, just type away in that large text area. Make sure to click on “Update” to save your changes when you’re finished.

You can do this on any special Theme page. It’s that easy!

Comments: 0