Notifications
Clear all

wpForo 1.x.x [Closed] Same title meta on all pages

16 Posts
3 Users
1 Reactions
2,454 Views
Posts: 26
Topic starter
(@adrien)
Eminent Member
Joined: 7 years ago

When I use a default theme title is correct.

My theme is Extra from Elegant Themes.

1 Reply
(@anonymous20)
Joined: 8 years ago

Noble Member
Posts: 1602
Posted by: Adrien

When I use a default theme title is correct.

My theme is Extra from Elegant Themes.

Ok, then definitely this is not a wpForo problem. You could ask your theme's developers for help ?

 

Posts: 26
Topic starter
(@adrien)
Eminent Member
Joined: 7 years ago

I did. They sought a solution in vain. The problem is waiting in their support without a deadline. 😥 

Do you have any fix?

1 Reply
(@anonymous20)
Joined: 8 years ago

Noble Member
Posts: 1602
Posted by: Adrien

I did. They sought a solution in vain. The problem is waiting in their support without a deadline. 😥 

Do you have any fix?

Maybe find an other theme. Sorry that i can't help more on this.

Sofy
Posts: 4436
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi @adrien,

If the issue comes from the active theme and there are not any deadlines for fixing I'd suggest you try to fix it by yourself. 

You'll need to open a header.php file of a current active theme and open a header.php file of some other theme (where everything is working fine), compare with each other the codes, so you'll be able to find the problem maker part and fix it manually. 

Posts: 26
Topic starter
(@adrien)
Eminent Member
Joined: 7 years ago

Hi, I am a noob in code.

 

I have this in my Extra theme:

<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<?php elegant_description(); ?>
<?php elegant_keywords(); ?>
<?php elegant_canonical(); ?>

<?php do_action( 'et_head_meta' ); ?>

<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

<?php $template_directory_uri = get_template_directory_uri(); ?>
<!--[if lt IE 9]>
<script src="<?php echo esc_url( $template_directory_uri . '/scripts/ext/html5.js"' ); ?>" type="text/javascript"></script>
<![endif]-->

<script type="text/javascript">
document.documentElement.className = 'js';
</script>

<?php wp_head(); ?>
</head>

 

I have this on Twenty fifteen theme:

<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
<!--[if lt IE 9]>
<script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
Sofy
Posts: 4436
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi @adrien,

Please try to add the following just after the <head> tag:

<title><?php echo wp_get_document_title(); ?></title>

We're not sure if it works. It'd be better if the theme developers will solve the problem.

Page 2 / 3