advanced newspaper installation guide

3
Advanced Newspaper Installation Guide All the steps to install the theme are covered in this guide. Please read through it completely before uploading Theme files to your server and before you submit a support question. We have made every attempt to cover all scenarios; however, if you do find something that might be incomplete please let us know and we will immediately update the document for the community. This license includes support. All support questions shall be addressed in the support forums. Using our Forum or the Wordpress Forums are the easiest and quickest ways to get an answer. We offer support with common issues but not necessarily customization issues. Our support forum address is: www.customthemedesign.com/support Access to support forum is limited with members. Registration approval is subject to a moderation. When registering for our Forum please use the same email address you used to purchase the theme to help us to recognize and validate your registration. Instalation of theme Langauge Translations The default template language is English. A translation file is used to supply the core words and phrases to the theme. This file is located here: root/wp-content/themes/WpAdvNewsapeper/translations/current.php. To convert the theme to another language, make a backup of the file and update the text for each entry. Caution: do not remove any of the symbols, the apostrophe ( ’ ), the semi-colon ( ; ), or the percent ( % ) from the translation file as they are required to identify the replacement entries in the theme. Translation Entry Example To translate the words/phrases to French, edit an entry like this: Old English entry: $newspaper['home'] = 'Home'; New French entry: $newspaper['home'] = 'Accueil'; New Spanish entry: $newspaper['home'] = 'Inicio'; Follow this example for the rest of the strings in the file and save the new file. Photo Gallery 1. Create the category for the media you will use. Log in to WordPress admin panel and create (for instance) Photo Gallery category. 2. Get the ID of media category. Check the ID of the category that you have just created. Take a look at this page (http://gabfirethemes.com/how-to-check-category-ids/ ) if you dont know how to check category ID. Write down the ID: Photo Gallery Category ID = _______ 3. Modify the file name for gallery page in the Themes folder. Find the file in the folder root/wp-content/themes/WpAdvNewspaper with the names category- PhotoGallery. php. Remove the underlined word (PhotoGallery) and replace it with the category ID you found earlier. Example of Renaming the Photo Gallery If the category id for the Photo Gallery is 30, modify the underlined word so the filename is now named category-30.php

Upload: piepiex

Post on 10-Apr-2015

266 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Advanced Newspaper Installation Guide

Advanced Newspaper Installation Guide

All the steps to install the theme are covered in this guide. Please read through it completely before

uploading Theme files to your server and before you submit a support question. We have made every attempt to cover all scenarios; however, if you do find something that might be incomplete please let us know and we will immediately update the document for the community.

This license includes support. All support questions shall be addressed in the support forums. Using our Forum or the Wordpress Forums are the easiest and quickest ways to get an answer. We offer support

with common issues but not necessarily customization issues.

Our support forum address is: www.customthemedesign.com/support Access to support forum is limited with members. Registration approval is subject to a moderation. When registering for our Forum

please use the same email address you used to purchase the theme to help us to recognize and

validate your registration.

Instalation of theme

Langauge Translations The default template language is English. A translation file is used to supply the core words and phrases to the theme. This file is located here: root/wp-content/themes/WpAdvNewsapeper/translations/current.php.

To convert the theme to another language, make a backup of the file and update the text for each entry. Caution: do not remove any of the symbols, the apostrophe ( ’ ), the semi-colon ( ; ), or the percent ( % ) from the translation file as they are required to identify the replacement entries in the theme.

Translation Entry Example

To translate the words/phrases to French, edit an entry like this:

Old English entry: $newspaper['home'] = 'Home'; New French entry: $newspaper['home'] = 'Accueil';

New Spanish entry: $newspaper['home'] = 'Inicio';

Follow this example for the rest of the strings in the file and save the new file.

Photo Gallery 1. Create the category for the media you will use.

Log in to WordPress admin panel and create (for instance) Photo Gallery category.

2. Get the ID of media category.

Check the ID of the category that you have just created. Take a look at this page (http://gabfirethemes.com/how-to-check-category-ids/) if you dont know how to check category ID. Write down the ID:

Photo Gallery Category ID = _______

3. Modify the file name for gallery page in the Themes folder.

Find the file in the folder root/wp-content/themes/WpAdvNewspaper with the names category-

PhotoGallery.php. Remove the underlined word (PhotoGallery) and replace it with the category ID you found earlier.

Example of Renaming the Photo Gallery

If the category id for the Photo Gallery is 30, modify the underlined word so the filename is now

named category-30.php

Page 2: Advanced Newspaper Installation Guide

Upload Files We have placed all files in place to make things easier. All you need to do is to connect to your site’s root with your ftp software (root is the location where wp-content and wp-admin folders are stored) and upload

the content of “your site root“ folder to your server. Do not upload the “your site root“ folder by itself, only content must be uploaded

While the files are being uploaded, your ftp software will ask you to Accept or Decline file overwrite.

Accept overwrite

Folder: Cache

After all files are uploaded, open cache folder in root/wp-content/uploads/. and set the security atrributes of the folder to read+write (777). Setting the security can be performed in most ftp software applications

from the properties (or attributes) dialog for the folder.

Activate Plugins & Theme Login to admin dashboard and activate theme along with the uploaded plugins Viva Thumb-Zoom and Zap Recently Commented.

More theme settings can be modified through theme settings page.

The Theme control panel can be accessed through WordPress Admin Panel > Appearance > Theme Settings.

Posting Entries Images streamed from third party websites will NOT be resized as main page thumbnail. Every image must be uploaded with image uploader tool while writing your entry. System will grab the first uploaded picture and resize it on fly > place the thumbnail on main page.

The images must be resized into 16:9 ratio before upload. Especially if entry is going to be displayed on featured section. You must resize photo on your pc before upload and set the image ratio to 16:9

(480x270px, 610x360px or 800x450px, and so on...)

When a photo is uploaded, the auto generated thumbnail will be cached in order to increase site loading time. This way image will be resized only once, and next time it will be called from cache instead of

another resize. It can be case that the you will want to change thumbnail with another photo. To do that you will follow

the steps written below.

1- Open post in edit mode 2- Click on image uploader > Gallery > Show > Delete photo > Confirm delete (delete all if there are

more than 1 photo) 3- Upload new photo and update the post 4- Click on Viva Zoom link on left hand under Settings tab

5- Press on Clear Cache and then Refresh main page.

Tutorial: How to post a video When you want to post a video, get the url for the embed code. http://www.youtube.com/watch?v=KRbzJ0L1Zn8 The video page looks like

Page 3: Advanced Newspaper Installation Guide

The embed code for the above video is the same as:

<object width="480" height="295"><param name="movie"

value="http://www.youtube.com/v/KRbzJ0L1Zn8&hl=en&fs=1"></param><param name="allowFullScreen"

value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/KRbzJ0L1Zn8&hl=en&fs=1" type="application/x-shockwave-flash"

allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object>

Notice the urls written bold in embed code. These urls are the same and are used as embed code for videos. Using

either one of them is up to you. To implement it, go to Write > Post in your Admin Area, scroll down the page until

until you see the Custom fields. Type video as the name (case sensitive – all lowercase)and paste the url (from

embed code that we copied 1 of 2 above) as the value.

Click on Add Custom Field / select video category, and publish your video.

If you customize the theme, please email URL of your site to help us to build a showcase