By: Alex Gurghis
Email: Alex Gurghis
Hello! First of all I would like to thank you for purchasing my theme! :)
This file will teach you how to set up and use the “PrimoNews” WordPress Theme.
This file is really extensive so you might think the theme is hard to use,
actually its not, you probably just might jump to the options page and explore everything yourself, this file is more of a reference work if you do not know what to do, or if you are not familiar to WordPress.
Have fun with your new theme! best regards
The Theme is built with WordPress best practices in mind, therefore it makes heavy use of the WordPress template engine. What exactly does that mean?
Whenever you see a php function call like this within your php files (get_header(), get_footer() or get_sidebar() ) the theme retrieves a reusable code snippet, most of the time a chunk of code that is used in many different files.
Apart from the php structure the theme uses a lot of modern CSS3 features, most notably the power of media queries to serve different layouts for different viewport sizes. If you use a modern browser (IE9 +, Chrome, Safari, Firefox) and resize your browser window you will realize that the theme adapts its size to the viewport.
You can either choose to upload the theme to your server via ftp (only upload the unzipped folder „RedStar“ into the folder wp-content/themes/ ) or via WordPress upload function. to use the upload function of the WordPress admin panel make sure to ONLY upload the “PrimoNews” folder and not the whole archive file that you received by themeforest.
The Theme improves the WordPress 3.0 menu items with a few additional options that make it possible to create subheadings for the main menu items. To do this just enter some text into the menus description field. If you have problems pulling that off: here is a short demonstration on how its done.
The Theme comes with several custom widgets that let you display latest blog posts or your latest tweets either in your sidebar or if used in conjunction with shortcodes also within your content area.
To enable the forum functionaliy download the forum here, then install and actiavte it like any other plugin.
First step: Go to Dashboard ->Posts -> Categories. If you have categories and want to add color just edit it and in the description add the code for the color you want, ex: #ff0000. If you don't have categories, add it and add in the description the color code.
Second step. Add the category to menu and add color class to it: Go to Dashboard -> Appearance -> Menus. Add a custom link to category. In the URL copy the category address ( to get it go back to categories and on top you wil have "View Category", open the page and copy the link. Paste it in the menu and add a name. Add css class to it. the structure should be "cat-"+"category slug". If you don't have the css class input field visible click on "Screen Options" (top right corner) and check the CSS Classes option.
First step: Add a new page for "Add Post" and select the "Front End - Add Post" template, publish it and save on a paper the page id.
Second step: Add a new page for "Edit Post" and select the "Front End - Edit Post" template, publish it and save on a paper the page id.
Third step: Add a new page for "View Posts" and select the "Front End - View Posts" template, publish it and save on a paper the page id.
Fourth step: Go to PrimoNews option panel -> FrontEnd-Editor, turn on the Login/register buttons and add the pages id's. Save Changes!
To have the front end login/register you have to install "zM Ajax Login & Register". You can do it fron dashboard by seacrhing it and installing or go to it's page: http://wordpress.org/plugins/zm-ajax-login-register/ and download it.
The homepage is fully widgetized. It has 5 different spots (blocks): Block 1, Block 2, Block 3, Block 4, Block 5 (below you have the image with the structure). Add widgets to theme to fulfill the homepage. Check the next step for homepage sliders.
Sliders options (below the text input field on pages):>
If you want to change the general Options of the Theme open the “RedStar” Theme Options Panel (located in your admin sidebar) and click it, you will notice several tabs with options, which we will discuss now one by one.
Here you will add the logo, favicon, google analitycs id and custom css.
On this part you can change the color of the theme.
Here you can setup the background.
On this part you can change the font face and font size of the theme.
Here are the inputs links for top social icons.
Here you will setup the front-edn editor.
Here you will setup the front-edn editor.
Here are options for contact page.
Here are options for 404 error page.
Here you can add footer copyright text.
Here are the modal window options. You can turn it on/off and change links.
If you want to change the modal window content you have to open footer.php file from PrimoNews folder and go to line 124 to line 169.
Here you can add Meta Keywords and Meta Description.
Here you an configure the under construction pag. Here you can take a look on it.
What is a shortcode and how do i use it?
Using shortcodes is very easy. To use one, create a new post (or edit an existing one), and in the the editor type a shortcode in brackets, such as:
[quote]This is a pull-quote.[/quote]
to generate a pull-quote. Other example would be the use of shortcodes to create columns within your post:
[one_half first]Content here.[/one_half] [one_half]Content here.[/one_half]
[one_third first]Content here.[/one_third] [one_third]Content here.[/one_third] [one_third]Content here.[/one_third]
[one_fourth first]Content[/one_fourth] [one_fourth]Content[/one_fourth] [one_fourth]Content[/one_fourth] [one_fourth]Content[/one_fourth]
[one_fourth first]Content here.[/one_fourth] [three_fourth]Content here.[/three_fourth]
[one_third first]Content here.[/one_third] [two_third]Content here.[/two_third]
The theme comes with quite a few shortcodes that are easily accessible from a select drop down menu situated under the text input (post or page).
Most shortcodes require you to enter additional information and then get generated by the theme on its own, starting from columns to content slider. You can also choose to nest various shortcodes. The sky is the limit :)
Attention: Please make sure to always start new shortcodes on new lines. Most of the time you wont encounter any errors if you don't do that but unfortunately WordPress does mess up the html sometimes. This is true for all shortcodes but the inline ones like drop-caps buttons and icon links, those are the only ones that don't need a new paragraph.
In case you encounter odd behavior always make sure that all shortcodes are closed as expected. Also when trying to nest shortcodes please be aware that you cant wrap a shortcode with the same name around another one with that name: For example: [one_third first] [one_third first]Content here.[/one_third] [/one_third] would result in messed up html code since WordPress is not able to identify which opening tag belongs to which close tag. However what you can do is nest shortcodes within each other if they don't share a name. for example you could easily place a slideshow within a 3rd column tag. Just make sure to add new paragraphs between them ;)
Here I will explain you how to use FlexSLider. From Dashboard left menu click on Flex SLider -> Add New -> Add title, on right top right side you will see a spot for Link, you can add a link or not, if you don;t want just leave it blank. Under it will see Featured Image option, add the image and click publish. To add the slider to a page just open the page and from top right corner select the slider. For best results the image should be 1120x460px
Here I will explain you how to use FleaturedList. From Dashboard left menu click on FleaturedList -> Add New -> Add title for slide title and content sub-title. Under it will see Featured Image option, add the image and click publish. To add the slider to a page just open the page and from top right corner select the slider. For best results the image should be 1120x570px
Here I will explain how to add galleries. From dashboard left side menu click on Galleries -> Add new, on right top right side you will see a spot for Link, you can add a link or not, if you don't want just leave it blank. Under it will see Featured Image option, add the image and click publish. For best results the image should'nt be smaller than 1060x442px. To add images in the gallery press Add Media button on top left corner and add images. From top right corner select thegallery post type. You can have three different fullscreen post types, one slideshow and one default with PrettyPhoto lightbox.
Here I will explain how to use team members post type. From Dashboard left menu click on Member (Team Members) -> Add new and here in title add the name, in content add the description (sumary) and under the text field input add the Position (eg. CEO) and social media buttons. Add Featured Image for member image, for best results the image should be 450x280px.
PrimoNews comes with 18 different template pages
Here is the whole list of the pages:
The Theme uses valid HTML and comes with predefined classes for common elements needed in web design.
All templates share basic elements like header, footer, main, and entry so be carefull when editing those or adding/changing the CSS for those ids and classes :)
The CSS for the theme is split into various files: one that holds the basic markup for layout which is called style.css.
The theme uses advanced jQuery functions. You do not need to know how to use jQuery to activate them, almost everything is controlled by WordPress. All the function calls as well as as the custom created jQuery plugins are located in the custom.js file.
Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist.