FAQs

From Graphene Theme Documentation
Jump to: navigation, search

Here you'll find a list of the most commonly asked questions regarding the theme.

Contents

Features & Functionalities

The post's featured image is replacing my header image. Help!

This is actually one of the theme's features, based on the feature in the default TwentyTen theme. Any featured image that has a size of greater than or equal to the theme's header image size (960 x 198 pixels) will replace the header image when the post/page that featured image is assigned to is being displayed. It enables you to have different header image for different posts and/or pages.

If you want to disable this feature, simply tick the Disable Featured Image replacing header image option in the Graphene Options > Display > Header Display Options page.

How to display Pages in slider?

The theme's slider is configured by default to display only posts. However, you can also display pages in the slider, in which case there are two ways to do it:

  • Using the theme's options page
  • Using a plugin and a child theme

Using the theme's options page

In Graphene Options > Slider Options, select Show specific posts/pages for the What do you want to show in the slider option. Then, specify the posts and/or pages IDs to be displayed in the slider in the Posts and/or pages to display option just below it.

You can obtain the ID of a post or page by going to the Posts > All Posts or Pages > All Pages screen and move your mouse cursor over the post/page title. Then, look in the link at the bottom of your browser, which should be something like this:

http://localhost/theme-graphene/site/wp-admin/post.php?post=418&action=edit

The number after the post= bit of the URL is the post's/page's ID. In the example above, it's 418.

Using a plugin and a child theme

An alternative way (and perhaps the more preferred way) is to install the Map Categories to Pages plugin, which will allow you to assign categories to pages as well as posts. The idea is so that you can define the posts and/or pages to be displayed in the slider simply by assigning the relevant category to those posts and/or pages.

After you have installed and activated the plugin, add the following code to your child theme's functions.php file:

<?php
function graphene_custom_slider_post_type(){
   $post_type = array('post', 'page');
   return $post_type;
}
add_filter('graphene_slider_post_type', 'graphene_custom_slider_post_type');
?>

Then, in Graphene Options > Slider, select Show posts from categories for the What do you want to show in the slider option, and define the categories to be displayed in the slider in the Categories to display option. You can then assign those categories to your pages as well as posts to have them displayed in the slider.

For more information about the options available for the slider, see the Slider Options documentation.

How to remove the border around images

The theme automatically adds border to images as part of the design. To remove this border, simply add the following code to either your child theme's style.css file, or the Graphene Option > Display > Custom CSS option.

.entry-content img{
   border:0px solid #e3e3e3;
   margin:5px;
}

Compatibilities

Is the theme compatible with this plugin or that plugin?

I don't know. With so many plugins available for WordPress, there's no way that I (or anybody else for that matter) can test for compatibility for all of them. Having said that, the theme is built with all the necessary WordPress components included with it, so chances are most plugins will be compatible with the theme.

My suggestion is to just install the plugin and try it. If you stumble into problem, ask for support from the plugin author first. If the plugin author says that it's a problems with the theme, you can find suppport at the support forum.

Licence

Can I use the Graphene Theme for commercial purposes?

The Graphene WordPress theme, along with all the other themes in the WordPress.org Official Free Themes Directory, is released under the GNU General Public License (GPL) Version 3 (GPLv3) or compatible licences. The full text of that licence is included with the theme in the licence.txt file in the theme's folder. Releasing the theme under that licence means, among others, that you are free to use and modify the theme in any way for any purposes (including commercial) without any obligation to the theme's author. However, if you decide to redistribute the theme, the licence dictates that you must release the theme under the same licence, GPLv3.

But of course, the author would always appreciate donations to support ongoing and future developments of the theme.

If the theme is released under GPLv3, what is this Creative Commons licence in the theme's footer?

The Creative Commons licence is a popular licence nowadays that are used by a lot of web-based content authors to licence their work such that it protects their intellectual property but in the same time allows its free distribution. It is included with the theme simply to make it easy for the theme's users to make use of the licence for the content they publish. Theme users can remove it altogether via the theme's Options page should they wish not to use it.

Put simply, it is not the licence that is applied for the theme itself, but just for the website's content should the theme user wants to use it.

Beginning with version 1.5.6, the Creative Commons licence is no longer being displayed by default. If you wish to use it, you will have to enable it from the theme's options page.