Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
In reply to: Remove “archive” from main forum title
Found solutions in an other forum, just to add in the functions.php:
add_filter( 'get_the_archive_title', function ($title) { if ( is_category() ) { $title = single_cat_title( '', false ); } elseif ( is_tag() ) { $title = single_tag_title( '', false ); } elseif ( is_author() ) { $title = '<span class="vcard">' . get_the_author() . '</span>' ; } elseif ( is_tax() ) { //for custom post types $title = sprintf( __( '%1$s' ), single_term_title( '', false ) ); } elseif (is_post_type_archive()) { $title = post_type_archive_title( '', false ); } return $title; });In reply to: Remove “archive” from main forum titleOk, thank you anyway.
Then I have to ask in other forum.In reply to: Remove “archive” from main forum titleIts still the same link: https://www.wordpress-star.de/?cmp_bypass=f9972b4d5956df4904f1958718031e36
In reply to: Remove “archive” from main forum titleYes and I posted you a link where you can see it … ?
Click on the link and then in the menu on the link “Forum”In reply to: Remove “archive” from main forum titleHello,
that is nice, thanks for your answer.
The Link is: https://www.wordpress-star.de/?cmp_bypass=f9972b4d5956df4904f1958718031e36 and then “forum” in the menu.
Currently only Bypass-Link is possible, due to the fact that the site is not online.
Viewing 5 replies - 1 through 5 (of 5 total)