Code to remove category hyperlinks
-
The hyperlinks are used with bbPress (which is a forum plugin) categories. If you go to my website, two of those categories are “Introduction” and “Comment on administrator’s writings.” Does anybody know why, when using the version of Code Snippets that I activated today, when I tried activating the code
<?php do_action( 'bbp_theme_before_forum_title' ); ?> <?php if (!bbp_is_forum_category( bbp_get_forum_id())){ ?> <a class="bbp-forum-title" href="<?php bbp_forum_permalink(); ?>"><?php bbp_forum_title(); ?></a> <?php } else { ?> <div class="bbp-forum-title"> <?php bbp_forum_title();?> </div> <?php } ?> <?php do_action( 'bbp_theme_after_forum_title' ); ?>
at https://bbpress.org/forums/topic/remove-category-hyperlink/
there was a critical error on my website, which made it so that couldn’t get to the log in screen. Fortunately, I was able to use
?snippets-safe-mode=true
…Again, my site is at dancing4locations.org. I’m using version 5.5.5 of WordPress, and version 2.6.6 of bbPress.
I would appreciate help.
The page I need help with: [log in to see the link]
- The topic ‘Code to remove category hyperlinks’ is closed to new replies.