Add the following to template.php:
template.php
<?phpfunction YOURTHEME_preprocess_node(&$vars) { // --- Blindly remove the blog link --- unset($vars['content']['links']['blog']['#links']['blog_usernames_blog']);}?>
Since the links are rendered as part of $content.
$content
Which results in
Fatal error: Cannot redeclare tb_wall_preprocess_node() (previously declared in /var/www/vhosts/httpdocs/sites/all/themes/tb_wall/template.php:37) in /var/www/vhosts/httpdocs/sites/all/themes/tb_wall/template.php on line 389
The function already exists somewhere. If it already exists in your theme add the code there.
Excellent, it has worked.
ya It is Working
Para mi funcionó con: unset($variables['content']['links']['blog']['#links']['blog_usernames_blog']);
En (Drupal 7): function pysein_preprocess_node(&$variables) { unset($variables['content']['links']['blog']['#links']['blog_usernames_blog']); }
Fatal error: Cannot redeclare gavias_synery_preprocess_node() (previously declared in /sites/all/themes/gavias_synery/template.php on line 138
The function already exists in your theme, maybe implement it there?
Comments
Which results in
Fatal error: Cannot redeclare tb_wall_preprocess_node() (previously declared in /var/www/vhosts/httpdocs/sites/all/themes/tb_wall/template.php:37) in /var/www/vhosts/httpdocs/sites/all/themes/tb_wall/template.php on line 389
The function already exists somewhere. If it already exists in your theme add the code there.
Excellent, it has worked.
ya It is Working
Para mi funcionó con:
unset($variables['content']['links']['blog']['#links']['blog_usernames_blog']);
En (Drupal 7):
function pysein_preprocess_node(&$variables) {
unset($variables['content']['links']['blog']['#links']['blog_usernames_blog']);
}
Fatal error: Cannot redeclare gavias_synery_preprocess_node() (previously declared in /sites/all/themes/gavias_synery/template.php on line 138
The function already exists in your theme, maybe implement it there?