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
Adrianw,
I think I made a mistake in the code there. It should be:
'sort_column' => 'menu_order, post_title',Notice that it’s
post_titleinstead ofpage_title.Admin
No need to delete 🙂
Admin
Ok, create two files in your child theme and insert the following codes:
File 1:
page.php<?php
/**
* The Template for displaying all single pages.
*/
get_header(); ?>
<?php
/* Run the loop to output the pages.
*/
if ( class_exists( 'MarketPress' ) && is_page( 0 ) )
get_template_part('loop', 'marketpress');
else
get_template_part('loop', 'page');
?>
<?php get_footer(); ?>File 2:
loop-marketpress.php<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="clearfix post page">
<div class="entry clearfix">
<?php /* Post title */
$tag = (is_singular() && !is_front_page()) ? 'h1' : 'h2';
echo '<'.$tag.' class="post-title entry-title">';
?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'graphene'), the_title_attribute('echo=0')); ?>"><?php if (get_the_title() == '') {_e('(No title)','graphene');} else {the_title();} ?></a>
<?php do_action('graphene_post_title'); ?>
<?php echo '</'.$tag.'>'; ?>
<?php /* Post content */ ?>
<div class="entry-content clearfix">
<?php /* The full content */ ?>
<?php the_content('<span class="block-button">'.__('Read the rest of this entry »','graphene').'</span>'); ?>
<?php wp_link_pages(array('before' => __('<div class="link-pages"><p><strong>Pages:</strong> ','graphene'), 'after' => '</p></div>', 'next_or_number' => 'number')); ?>
</div>
</div>
</div>
<?php /* Get the comments template for single post pages */ ?>
<?php if (is_single() || is_page()) {comments_template();} ?>
<?php do_action( 'graphene_loop_footer' ); ?>Admin
It’s actually more than just CSS fix. Let me see if I can get the files…
Admin
It seems like the Facebook Recommend button is interfering with the slider’s HTML markup. I know you don’t see the Recommend button in the slider, but its code is there. Try disabling that plugin and see if it helps.
Admin
In reply to: Slider stops working (sometimes) when Excerpts Display Option set
October 17, 2011 at 12:00 am #17812Note also that the 55-words limit is the default word limit for automatic excerpt. The actual word limit may be different depending on your slider settings.
Admin
It’s difficult to try to figure out what’s wrong especially when we don’t have access to your WP admin panel. Is there any error message displayed? From what version did you update the theme?
Admin
The exact same code is used to generate both the links on the title and the button. The only reason I can think of that would result in this behaviour is that somehow something’s changed when the excerpt is displayed in the slider.
And looking at your site, I bet it’s the plugin that inserts the “Share and Enjoy” buttons is the one that changes the query and didn’t reset it after it’s done. Try disabling it and see if the problem goes away.
Admin
I use captcha on top of Akismet, like Ken mentioned above. For the captcha, I use ReCaptcha, which actually takes the words that Google’s OCR software can’t recognise from its book digitisation project. This way it helps to both combat spam and help the book digitisation project.
Admin
OK it’s fixed.
