Advertisement:

Author Topic: how to add logo image + page title?  (Read 2313 times)

close2u

  • Newbie
  • *
  • Posts: 16
how to add logo image + page title?
« on: November 26, 2013, 10:02:23 am »
Hi!
i want to add a logo image right on the page title!!
I would appreciate any help..Thanks

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: how to add logo image + page title?
« Reply #1 on: January 26, 2014, 12:19:19 pm »
@close2u
Only add following code wherever you need it:
Code: [Select]
<a id="logo" href="<?php echo osc_base_url() ; ?>"><?php echo logo_header(); ?></a>

close2u

  • Newbie
  • *
  • Posts: 16
Re: how to add logo image + page title?
« Reply #2 on: January 27, 2014, 10:22:55 pm »
big thanks  ;D

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: how to add logo image + page title?
« Reply #3 on: January 28, 2014, 10:19:01 am »
@close2u
You are welcome, if you problem is solved, please add [Solved] to title of this thread  ;)

close2u

  • Newbie
  • *
  • Posts: 16
Re: how to add logo image + page title?
« Reply #4 on: January 28, 2014, 06:15:27 pm »
not solved  ???

the code is already there, but instead of text, I want both an image and text.

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: how to add logo image + page title?
« Reply #5 on: January 28, 2014, 07:09:27 pm »
Maybe this is what your asking:

For JUST LOGO. insert:
<a id="logo" href="<?php echo osc_base_url() ; ?>"><?php echo logo_header(); ?></a>

For logo AND site name. Also Insert the following code:

    <a id="logo" href="<?php echo osc_base_url() ; ?>"><?php echo osc_page_title() ; ?>

Place anyplace you want site name but best if placed directly under the logo code.
For best layout you will have to adjust the css file.
Tom

Husa64

  • Newbie
  • *
  • Posts: 33
Re: how to add logo image + page title?
« Reply #6 on: May 10, 2014, 06:55:24 am »
Make a favicon.ico of your logo put it in root folder of your site.

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: how to add logo image + page title?
« Reply #7 on: May 11, 2014, 11:45:09 am »
@Husa64
Outtopic ?

dcmhomebuyers112

  • Newbie
  • *
  • Posts: 3
Re: how to add logo image + page title?
« Reply #8 on: May 29, 2014, 06:15:46 pm »
You can find the code by editing the header.php file.

To edit the file:

1) Login to WP admin panel

2) Click Appearance in the left sidebar

3) Click Editor

4) In this page click on the header.php link (to edit the file) in the right side of the screen.

5) Copy the code and paste in this forum.

Put the code between Your code here

Thanks

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: how to add logo image + page title?
« Reply #9 on: May 30, 2014, 12:25:01 pm »
@dcmhomebuyers112
WP admin panel?

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: how to add logo image + page title?
« Reply #10 on: June 01, 2014, 07:55:53 pm »
What the heck are these folks posting about????
Tom

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: how to add logo image + page title?
« Reply #11 on: June 02, 2014, 09:01:07 pm »
some themes allow for editing your files through the admin panel.