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
Did you edit any other theme files?
Admin
How did you restyle the theme? Are you using a child theme?
Admin
Quote:In this case, I will add the functions to the functions.php of graphene.I would advise against that, since the changes you make there will be lost when you update the theme.
Quote:If there is functions.php under child theme, I can’t change the post URL when create a new post(I can’t see the change post URL option), but can change the post URL when edit a old post.I just tried this with a child theme that contains
functions.phpfile, and it’s working fine on my end. You mean the URL right under the post title field. right?Admin
You don’t actually need the
functions.phpfile if that’s all you have in it. In any case, I can’t think of any reason why the mere presence of thefunctions.phpfile would cause the issue you described. Check to see if there’s any whitespace outside of the<?phpand?>block.Admin
In reply to: I'm getting started with Graphene, and blogging in general
June 25, 2012 at 4:43 am #29600Quote:I have one specific issue as well. In this post – http://freedomthroughproperty.com/?p=83 – you will see I have a few comments. However, the comments spill over the page margins. How can I make the comments fit within the proper page width?You’re using a separate plugin for the social comments, so try asking the plugin’s author since he/she knows more about it.
Admin
Quote:OK, I actually like, and prefer, the customization via the admin screen!So, I much appreciate Graphene for this customization easiness.
Thank you very much.
That’s the idea 🙂 But be aware even though there’s a lot of customisation possibilities provided by the theme via the admin screen (you should really take a look at the theme’s Action Hooks Widget Areas option if you haven’t already), customisation via a child theme opens up a whole other world of possible customisations. But it does require you to be rather proficient with CSS and PHP.
But take it one step at a time. When you’re bored with the admin screen, take the next step. No rush 🙂
Admin
Quote:So, I just copy the CSS content from the parent to the child theme and customize the child CSS file, right?No, don’t do this either. It’ll break a lot of things. The child theme’s
style.cssfile should only contain CSS codes to override the original theme styles, or add new styles.Quote:And just to be sure, could we make the child theme at any moment? I mean, after having made many customization or it should be made immediately after installation?It can be made at any time. The purpose of a child theme is to make customisations to the parent theme without actually editing the parent theme’s files. If you can make all the customisations from the admin screen, then there’s no need for a child theme (in most cases), and you’ll be perfectly fine without one.
See this page for more information:
http://docs.graphene-theme.com/Customisation_using_a_child_theme
Admin
What code do you have in your Custom CSS option?
Admin
In reply to: Removing graphene_developer action hook with child theme's functions.php
June 24, 2012 at 11:20 pm #29565To remove the credit link from the footer, add this to your child theme’s
Code:functions.phpfile:
function graphene_remove_credit(){
global $graphene_settings;
$graphene_settings['disable_credit'] = true;
}
add_action( 'template_redirect', 'graphene_remove_credit' );By the way, if a hacker is intent on hacking your site, the credit link is the least of your worries. There’s so many other ways to determine if a website is running on WordPress, though this in itself isn’t really that big an issue. You should be concerned more with what plugins you use, and how secure the server setup is.
Admin
Marking thread as resolved. You can do this yourself as well.
