Jump to content

Recommended Posts

Hello everyone,

 

As i said, I need help to change my website title. I use a wordpress and I have very few notions of php.

 

I want to change the title of my website, because only the url appears.

 

Here is my code, I believe that I have to change something here but i don't know where :

 



<?php if( bi_get_data('custom_logo') !== '' ) { ?>
<div id="logo"><a href="<?php echo home_url(); ?>/" rel="home">
<img src="<?php echo bi_get_data('custom_logo'); ?>" alt="<?php bloginfo( 'name' ) ?>" />
</a></div>
<?php } else { ?>
<?php if (is_front_page()) { ?>
<a class="navbar-brand" href="<?php bloginfo( 'url' ) ?>/" title="<?php bloginfo( 'name' ) ?>" rel="homepage"><b><?php bloginfo( 'name' ) ?></b></a>
<?php } else { ?>
<a class="navbar-brand" href="<?php bloginfo( 'url' ) ?>/" title="<?php bloginfo( 'name' ) ?>" rel="homepage"><b><?php bloginfo( 'name' ) ?></b></a>
<?php } } ?>
</div>



 

Thanks for your help.
Edited by TOB
Link to comment
https://forums.phpfreaks.com/topic/299957-need-help-to-change-my-website-title/
Share on other sites

Hi and welcome to phpfreaks, you have posted in the wrong section though.  

 

That said, we need a little more context on the problem.  What's actually wrong with the title?  should it be displaying an image or custom text? Have you tried changing the settings from within the wordpress admin pages? if so what was the result Vs what was the desired result? What exactly are you looking to change the title to? 

I think you want to alter the database, rather than the script, as changing the script is likely to break things deeper in the application.  Have a look through the db to see if you can establish where the blog_info('name') value is coming from and change that.

  • Like 1
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.