Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Category Hyperlink?

  • @ajiaim

    Participant

    Does anyone know how to remove the hyperlink from all categories?

Viewing 26 replies (of 26 total)
  • @robin-w

    Moderator
    add_filter( 'bbp_get_forum_freshness_link', 'rew_show_forum_freshness' , 10 , 6) ;
    
    function rew_show_forum_freshness ($anchor, $forum_id, $time_since, $link_url, $title, $active_id ){
    	return $time_since ;
    }
    
    add_filter( 'bbp_get_topic_freshness_link', 'rew_show_topic_freshness' , 10 , 6) ;
    
    function rew_show_topic_freshness ($anchor, $topic_id, $time_since, $link_url, $title){
    	return $time_since ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

Viewing 26 replies (of 26 total)
  • You must be logged in to reply to this topic.
Skip to toolbar