Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: Update to 1.5.3 Menu Order

    #18229

    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_title instead of page_title.

    Admin

    In reply to: Firefox won't display font.

    #18257

    No need to delete 🙂

    Admin

    In reply to: Market Press

    #18193

    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 &raquo;','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

    In reply to: Market Press

    #18192

    It’s actually more than just CSS fix. Let me see if I can get the files…

    Admin

    In reply to: Slider issues

    #18316

    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

    Note 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

    In reply to: Crash on selecting Graphene Options

    #18314

    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

    In reply to: sticky post & slider issue

    #18281

    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

    In reply to: Syahirs comment form on posts

    #18301

    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

    In reply to: Problem with dashboard background

    #18176

    OK it’s fixed.

Viewing 10 posts - 3,981 through 3,990 (of 6,030 total)