Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION GentleBreeze Theme
#1
Where do I look in the template.php to replace the text site title with a banner? I barely can understand php but will work it  if helped...

Gene
Reply
#2
(2022-01-03, 09:34:01)PleasureMaster Wrote: Where do I look in the template.php to replace the text site title with a banner? I barely can understand php but will work it  if helped...

Gene

Find the following code in the template, lines 36-39 and replace it with your code.
Code:
            <div id="logo">
                <h1><a href="<?php get_site_url(); ?>"><?php get_site_name(); ?></a></h1>
                <p><?php get_component('tagline'); ?></p>
            </div>
Reply
#3
Thank you Oleg06. (I will put that template online to make some publicity for the GS)
Reply
#4
(2022-01-03, 21:20:30)Oleg06 Wrote:
(2022-01-03, 09:34:01)PleasureMaster Wrote: Where do I look in the template.php to replace the text site title with a banner? I barely can understand php but will work it  if helped...

Gene

Find the following code in the template, lines 36-39 and replace it with your code.

Thanks Oleg, I'll give it a shot.....
Gene
Reply
#5
(2022-01-03, 21:20:30)Oleg06 Wrote:
Code:
            <div id="logo">
                <h1><a href="<?php get_site_url(); ?>"><?php get_site_name(); ?></a></h1>
                <p><?php get_component('tagline'); ?></p>
            </div>

No luck getting the banner to load....not very knowledgeable in php here, only know how to blow up my theme :-( also looked thru the wiki for the right code to use without luck.  Would like to get it working, but not a major requirement.

Gene
Reply
#6
See how I did it. https://getsimplethemes.ru/gentlebreeze/
Reply
#7
(2022-01-06, 09:20:44)Oleg06 Wrote: See how I did it. https://getsimplethemes.ru/gentlebreeze/

Looks great Oleg...That's what I'd like to have.
Reply
#8
(2022-01-06, 09:20:44)Oleg06 Wrote: See how I did it. https://getsimplethemes.ru/gentlebreeze/

Found the code you used and it works fine, for once I didn't blow up my site.  Oleg, you're a life saver!

Gene
Reply
#9
welcome to php - it is really not that hard
Reply
#10
(2022-01-07, 20:00:01)Felix Wrote: welcome to php - it is really not that hard

Took cobal programming years ago, dumped a computer with one stupid mistake.  Last time I tried to program/code anything.  Guess I "Gun Shy" :-)
Reply




Users browsing this thread: 1 Guest(s)