Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: Problem with Category Archive color changing

    #22178

    Yep, the .page-title CSS is being printed out to the head even when it is unnecessary. It will be fixed in the upcoming version.

    Admin

    In reply to: Fatal Error on install

    #22244

    Which version of WordPress are you using? If it’s a very old version before the Custom menu feature was introduced, that might explain it.

    Admin

    In reply to: Volunteer for Theme Testing

    #11134

    Thanks, Danny! Won’t be long now 🙂

    Admin

    In reply to: Header size

    #22196
    Admin

    In reply to: What tag can i use?

    #22192

    WP Admin > Appearance > Graphene Options > Display > Excerpts Display Options > Show More link for manual excerpts.

    Admin

    In reply to: More Tag

    #19615

    The error is exactly what it says: you cannot redeclare the same function.

    Instead of copying the functions I posted above two times, do this instead:

    // Change some strings
    function graphene_filter_readmore( $translated, $original, $domain ) {
    $strings = array(
    'Continue reading »' => 'My New Text »',
    'Read the rest of this entry »' => 'My Other New Text »',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_readmore', 10, 3 );
    Admin

    In reply to: What tag can i use?

    #22190

    Oh, in that case you need to use the Custom Excerpt feature to control the text. The <!--more--> tag is for the normal, full-content blog-layout listing.

    In the Edit Post screen, near the upper right corner, click on the Screen Options pulldown tab and make sure you tick “Excerpt”. Then an “Excerpt” box will have been added to the page, under the “Graphene post-specific options” box. Enter the custom excerpt you want to be displayed in that box.

    Admin

    In reply to: put another slider instead header

    #22106

    Or you don’t actually have to hide the header div, but just use absolute positioning to position the slider exactly on top of the header image, and give it a default solid background so that the header image will never be visible.

    Or just override the header image CSS so that it has no background at all.

    Admin

    In reply to: What tag can i use?

    #22188

    You can use the <!--more--> tag.

    2cxfec5.png

    Admin

    In reply to: More Tag

    #19612

    The same code applies. Just change the string inside that code with the string that you want to replace:

    // Change "Read the rest of this entry" link Button
    function graphene_filter_readmore( $translated, $original, $domain ) {
    $strings = array(
    'Read the rest of this entry &raquo;' => 'My New Text &raquo;',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_readmore', 10, 3 );

Viewing 10 posts - 3,771 through 3,780 (of 6,030 total)