Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: More Tag

    #19606

    When using the function that Josh posted above, you need to write the string exactly as it appears in the original theme’s files.

    In case of this string:

    Continue reading »

    Its exact form in the theme’s file is this:

    Continue reading »

    So to reflect this in the function that Josh posted, it should be:

    // Change "Read the rest of this entry" link Button
    function graphene_filter_readmore( $translated, $original, $domain ) {
    $strings = array(
    'Continue reading »' => 'My 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 );

    FYI, » is the HTML entity for ». It ensures that the character can be read by all devices and not appear as the diamond character.

    Admin

    In reply to: corrupted theme

    #22164

    You have a plugins folder inside your themes folder. Maybe you moved it in by mistake?

    Admin

    In reply to: put another slider instead header

    #22103
    Quote:
    2. Then, you need to download an image slider plugin. There are MANY!

    I would recommend Meteor Slides

    Admin

    In reply to: insert javascript code

    #22141
    Quote:
    But for some reason every time i try (many different ways) to put that code into wordpress the map breaks in many different ways.

    I may be wrong, but I think WordPress strips out <iframe> by default, which is why the normal Maps embed code don’t work.

    Admin

    In reply to: Changes to Documentations Wiki and update on Graphene 1.6

    #12995

    Somebody in the mailing list suggested this:

    Quote:
    Log out of your account and go to the wp theme homepage and log in there. That what I needed to do
    Admin

    Add this to the Custom CSS option:

    .menu-bottom-shadow {display:none}
    Admin

    In reply to: Floating of Sharethis Buttons

    #22073

    If you’re using AddThis, their API allows you to explicitly define the URL, Title, and Description of the page the buttons are sharing, regardless of on which page the button is placed.

    See this:

    http://www.addthis.com/help/url-and-title

    Admin

    In reply to: How can modify post-layout after clicking on it?

    #19580

    If you’re using a child theme, add this into the child theme’s functions.php file:

    <?php
    function graphene_modify_layout(){
    if ( is_singular() ){
    global $graphene_settings;
    $graphene_settings['column_mode'] = 'two-col-left';
    }
    }
    add_action( 'template_redirect', 'graphene_modify_layout' );
    ?>

    Untested, but it should work.

    Admin

    In reply to: Changes to Documentations Wiki and update on Graphene 1.6

    #12993

    Hey Ken,

    Thanks for the heads up on the rating issue. I’ve forwarded it to the appropriate (I think) mailing list in WordPress.org. We’ll see how it goes.

    Admin

    In reply to: Change "Home" to "Blog"

    #22083
    Quote:
    I dug around a bit online about how to do this and people seemed to think that this was a function of individual themes rather than WP itself.

    This used to be the case before the advent of Custom Menus feature in WordPress 3.0. But not anymore.

    You can use the Custom Menus feature to configure your navigation menu. See a good tutorial here:

    http://blog.kjodle.net/2011/08/25/how-to-create-and-use-custom-menus-in-wordpress/

Viewing 10 posts - 3,781 through 3,790 (of 6,030 total)