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
In reply to: Top level menu showing a checkmark in a weird place…I change font size
August 25, 2011 at 1:16 am #16515I’ve actually answered this in your other post here: https://forum.graphene-theme.com/graphene-support/gradient-on-slider-doesnt-appear-in-safari
Admin
In reply to: How to know page ID to show specific pages in home page slider?
August 25, 2011 at 1:15 am #16510Two steps. First, install this plugin which will allow you to assign categories to pages: http://wordpress.org/extend/plugins/map-categories-to-pages/
Then, add this code into your child theme’s functions.php file:
<?php
function graphene_slider_post_types(){
return array('post', 'page');
}
add_filter( 'graphene_slider_post_type', 'graphene_slider_post_types' );
?>Admin
That’s actually part of the footer background. You can remove it by adding this code to the Custom CSS option:
#footer {
background: #111;
padding-top: 20px;
}Admin
First off, your submenu isn’t working properly. Try setting the option in Graphene Settings > Display > Navigation Menu Display Options > Dropdown menu item width to 200.
As for the slider gradient, I just visited your site using Safari 5.1, and the gradient is showing properly.
Admin
For the travelblog category archive page, you can use this plugin to remove the “/category/” in the URL: http://wordpress.org/extend/plugins/wp-no-category-base/
Then, give the travelblog category a slug of
travel-blog. Then you can link to that category page using the same URL as you have now, sans the additional page template.You can hide the category title by adding this to your child theme’s style.css file, or the Custom CSS option:
.archive .page-title {
display: none;
}Admin
How are you protecting those paid posts? Are they only available to logged in users?
Admin
Something to do with your script files having a type attribute of
text/djsinstead oftext/javascript, I think. Are you using Cloudflare’s website preloader feature?Admin
Add this to your child theme’s functions.php file:
<?php
function graphene_author_nolink(){
return get_the_author();
}
add_filter( 'the_author_posts_link', 'graphene_author_nolink' );
?>Btw, love the colours on your site!
Admin
The theme requires at least WordPress 3.1. Update your WordPress installation and the error message should go away.
Admin
You cannot simply extract the relevant PHP codes and have it produce the slider’s HTML. That’s because the slider requires WordPress in order to determine which posts/pages to display, and to get the associated images for those posts/pages.
What you can do though is extract the slider HTML that has already been generated, and copy that into a separate HTML file. You’ll need the slider HTML plus the slider javascript, as well as the theme’s style.css file.
An alternative would be to load the entire WordPress system from the external PHP file. You can find a tutorial about this here: http://www.corvidworks.com/articles/wordpress-content-on-other-pages
