Syahir Hakim
KeymasterKuala Lumpur, Malaysia
When not perched on my workspace, I tremendously enjoy hiking in the bushes and climbing mountains. They serve as much-needed refuges from the pretense of cities.
Forum Replies Created
-
Admin
To change the size of the background image for the slider, insert this into your child theme’s
functions.phpfile:function graphene_custom_slider_image_size(){
return 960;
}
add_filter( 'graphene_slider_full_image_width', 'graphene_custom_slider_image_size' );Josh is right, the theme tells WordPress to auto-crop the image to 930px wide so that it fits nicely in the slider. When you change the slider size, you’ll have to do the above too so that WordPress crops the slider image to the new size.
Note that when you do the change, your existing images won’t be resized. You need to either upload the image again, or use the AJAX Thumbnail Rebuild plugin.
Admin
In reply to: Do all child copies of all .php file have to go in the child theme directory
October 24, 2011 at 11:05 pm #18667Did you already made some changes to the theme’s files before you made the child theme? If yes, then of course those changes wouldn’t be transferred over. You would need to redo the customisations again using the child theme.
When you switch to a child theme, only certain settings would be reset. These are the Custom Menu, Custom Header, and Custom Background. In the case of Custom Menu, you can just go to WP Admin > Appearance > Menus and reassign the custom menu again. This is just the way WordPress works. All other settings in Graphene Options should stay intact.
Admin
Quote:To WordPress, a Child Theme is a new theme, so it will come fresh out of the box. All the settings you’ve made to another theme, stays with that theme…Actually, only certain settings are reset when switching to a child theme. These are the custom header, custom background, and custom menus. All other settings within the Graphene Options page should stay the same.
Admin
Hurm…I don’t think there’s an easy way to do that..
One hack would be to install the PHP Code Widget plugin, then go to Appearance > Widgets, and insert this into the PHP Code Widget widget:
<?php graphene_display_homepage_panes(); ?>That will display the same 4 homepage panes as the bottom ones. Use CSS to hide the first two, and modify the sizes and whatnot to fit in the sidebar.
Admin
In reply to: Displaying pages in the slider and displaying the slider on all pages
October 24, 2011 at 10:37 pm #18677Try removing the first two functions (
graphene_display_slider()andgraphene_scrollable()) from your child theme and just insert this:function graphene_display_slider(){
graphene_slider();
add_action( 'wp_footer', 'graphene_scrollable' );
}Admin
Seems like it’s working fine for both with and without the www now?
Admin
I actually used
ngettext()initially when I first prepared the theme for public release. I remember I encountered some problem getting it to work properly with WordPress, POEdit, and the GNU gettext package. It’s thecomments_number()function which uses% commentsinstead of%d comments.Anyways, I’ll take a look at it again.
Currently, there’s no integration effort yet between Graphene and BuddyPress, and as far as I know Qtranslate uses shortcodes to mark contents in different languages, so it should work. The only multilingual plugin that’s confirmed compatible with Graphene so far is WPML. I am now currently working on bbPress 2.0 (plugin version) compatibility, for the next update.
I’m not sure how up to date is the Russian translation, though. If you’re willing to help maintain it, you’re welcomed to do so 🙂
Admin
Quote:I thought this forum was a place for people who had questions and didn’t know how to do stuff.This is exactly what this forum is for, among others, but a prerequisite to that is the willingness to learn. The only place where you’ll find that prerequisite is not required is the marketplace.
Admin
In reply to: Do all child copies of all .php file have to go in the child theme directory
October 24, 2011 at 12:03 am #18664No. See this wiki page for more info: http://wiki.khairul-syahir.com/graphene-theme/wiki/Customisation_using_a_child_theme
Admin
In reply to: How do I activate child themes in graphene ver 1.3.1
October 24, 2011 at 12:02 am #18663Go to WP Admin > Appearance > Themes and activate your child theme.
Note: Topic moved to the Support section. Please post in the correct section next time.
