Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: Comment Author Profile

    #13534

    Are you using a child theme? If yes, the code above should be placed in the child theme’s functions.php file, not the original theme’s functions.php file. This will ensure that the modification will not be lost the next time you update the theme.

    If you haven’t yet implemented a child theme, see how to do so here: https://forum.graphene-theme.com/topic/how-to-modify-the-theme-using-a-child-theme

    Admin

    In reply to: Comment Author Profile

    #13531

    Hi bala,

    In your child theme’s functions.php file, insert this code:

    /**
    * This function replaces the comment author's link with the comment author's profile page,
    * if the comment author is a registered user. Otherwise, the standard WordPress comment
    * author link is displayed
    */
    function graphene_comment_author_profile_link(){

    /* Get the comment author information */
    global $comment;
    $comment_ID = $comment->user_id;
    $author = get_comment_author( $comment_ID );
    $url = get_comment_author_url( $comment_ID );

    /* Return the default WordPress comment author link if comment author is not
    a registered user */
    if ($comment_ID == 0){
    if ( empty( $url ) || 'http://' == $url )
    $return = $author;
    else
    $return = "<a href='$url' rel='external nofollow' class='url'>$author</a>";
    } else {
    /* Return the link to the comment author's profile age if otherwise */
    $return = '<a href="'.home_url().'/?author='.$comment_ID.'">'.$author.'</a>';
    }

    return $return;
    }
    add_filter('get_comment_author_link', 'graphene_comment_author_profile_link');

    Took some figuring out to achieve that 🙂

    Admin

    In reply to: User Registration/Signup, wp-signup

    #13666

    The theme does not modify the WordPress signup page in any way. It’s the WordPress default sign up page.

    Admin

    In reply to: Empty page with children and excerpt images

    #13362

    Hurm..this is actually a nice mod to that feature. I’ll consider adding this to the theme.

    Admin

    In reply to: Removing Links in Post Titles

    #13359

    Do you mean you want to remove the title of posts on the front page, or the “Read More” link for those excerpts? In any case, please provide the URL to the website.

    Admin

    In reply to: Page "white" not showing (ie. background shows thru)

    #13354

    Website URL?

    Admin

    In reply to: IE6 Sidebar issue

    #13338

    You can add this code in your child theme’s functions.php file:

    function graphene_ie_css(){ ?>
    <!--[if lte IE 6]>
    <link media="screen" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/ie6.css" id="graphene-stylesheet-ie6-css" rel="stylesheet">
    <![endif]-->
    <?php
    }
    add_action('wp_head', 'graphene_ie_css');

    Then create an ie6.css file in your child theme’s folder and put all IE6-specific CSS inside that file.

    Admin

    In reply to: Left and right arrows bug with IE

    #13356

    Hi Fonfon,

    This bug has already been fixed. I’m putting the development of the Antiaris theme on hold for a while, till I can clear the backlog of work I have and make some free time. Will love to continue its dev when I’m not as busy.

    Admin

    In reply to: Changing Page Title Fonts and Widget text

    #13211

    They’re showing as the same when highlighted using Firebug because they share the same CSS codes! To change them individually, simply add another set of CSS codes that target only the particular element you want to change, but not the other.

    As for the links colour, make sure you’re editing the link colour instead of the text colour itself.

    Admin

    In reply to: Slider not showing image

    #11207

    PhoenixAfterglow: what exactly do you want to achieve?

Viewing 10 posts - 5,091 through 5,100 (of 6,030 total)