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
1. You can use a Static Front Page, then hide that page’s content using CSS.
2. Install the widget logic plugin, then add this to every footer widget:
! is_page('page-slug')Obviously, change the
page-slugwith the slug of the page/post where you don’t want the footer widgets to appear.Admin
In reply to: Graphene, wp-estore plugin, and IE8 – Thumbnails not displaying properly
August 18, 2011 at 1:30 am #16206Perhaps this could be the same issue you’re seeing: https://forum.graphene-theme.com/graphene-support/nextgen-gallery-thumbnails-smushed-when-inserted-onto-page
Admin
In reply to: NEXTGen Gallery thumbnails "smushed" when inserted onto page.
August 18, 2011 at 1:29 am #14468Gitte, just put it in Graphene Options > Display > Custom CSS
Admin
A theme is probably not an appropriate place to implement this function. As the general philosophy in the core WordPress developers community goes, a theme should only be concerned with the presentation of a site, and not it’s functions. Though of course, there can be severe gray areas when defining which is which.
So unfortunately, this feature will probably not be implemented in the theme. Like you said, there’s already plugins that can achieve this, so implementing it in the theme will be sort of like reinventing the wheel all over again.
I understand your reluctance to use plugins due to performance issues associated with all the other features that you don’t need, but that should not deter you from using plugins at all. Instead, you should carefully consider the feature/performance trade-off and decide whether or not the feature is worth the performance hit.
Admin
It’s a bug, and has been fixed. Will be available in the next update. Thanks for reporting!
Admin
In reply to: Social Share (AddThis) buttons required at end of all posts
August 18, 2011 at 12:35 am #16192Create a functions.php file (if you don’t already have one) in your child theme, and add this code:
<?php
function graphene_custom_addthis_placement(){
graphene_addthis( get_the_ID() );
}
add_action( 'graphene_after_post_content', 'graphene_custom_addthis_placement' );
?>Admin
Hi Wesley,
Sorry I couldn’t reply you earlier. My workload has been crazy these days..
Anyways, glad you worked it out on your own 🙂
Admin
Oops..sorry, missed something in the code I provided. This one should work:
<?php
function graphene_randomise_slider_posts( $args ){
$args = array_merge( $args, array( 'orderby' => 'rand' ) );
return $args;
}
add_filter( 'graphene_slider_args', 'graphene_randomise_slider_posts' );
?>Admin
has_excerpt() will only return true if the post has a manual excerpt. Else it’llr eturn false.
Admin
Quote:I have quite a few, so do you recommend any way I could find out what’s causing the conflict without deactivating each plugin, as that will obviously delete all settings associated with that plugin?I don’t think deactivating a plugin will delete all settings associated with that plugin. I’ve disabled all the plugins on my website once for troubleshooting, and reactivated them again and the settings are all still there.
