Please or Register to create posts and topics.

Change name Overview/Übersicht

Hello,

how I can change a headline?

Thanks for helping

HW

Hello HW,

of which headline are you talking about? The page your forum is located at, a topic-headline, etc?

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hi Asgaros,

I’m talking about this: <h1 class=”main-title”>Overview</h1>

G

HW

Hello again, HW

I think the easiest way to change this at the moment is via an extension like this:

Say what?

I will try to add a new option so you can change it with the next update.

KryptoDigger has reacted to this post.
KryptoDigger
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hello Asgaros,

Can you also add the ability to change the title level (h1, h2, h3 etc), because if I plugin forum in my page, I can already have another title H1. Example in attach file.

Thanks

Uploaded files:
  • 2018-03-01_20-08-23.png

Hi,

This is probably the easiest way right now:

 

function my_text_strings( $translated_text, $text, $domain ) {
  switch ( $translated_text ) {
    case 'Overview' :
      $translated_text = __( 'Whatever you want it to be', 'asgaros-forum' );
      break;
  }
  return $translated_text;
}
add_filter( 'gettext', 'my_text_strings', 20, 3 );

 

You can add this to your theme’s function file.  Hopefully you are using a child theme.

Asgaros has reacted to this post.
Asgaros