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
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
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
The theme does not modify the WordPress signup page in any way. It’s the WordPress default sign up page.
Admin
Hurm..this is actually a nice mod to that feature. I’ll consider adding this to the theme.
Admin
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
Website URL?
Admin
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
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
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
PhoenixAfterglow: what exactly do you want to achieve?
