Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

Change Title Tag on Front Page to H1

colin4
Posts: 14
Joined: 16 May 12
Trust:

Change Title Tag on Front Page to H1

I want to change the H2 Title Tag to a H1 Title tag for the Front Page on my web site.

What I need to know is how or where can I edit the function <?php affilo_home(); ?> as this
sets up Title Tag to H2

This is in the following code:

AffiloTheme v4: front-page.php
<?php get_header(); ?>
<div id="container">
<div id="content">
<?php affilo_before_content(); ?>
<?php affilo_before_content(); ?>
<?php affilo_before_featured(); ?>
<?php affilo_featured(); ?>
<?php affilo_after_featured(); ?>
>>>>>>>>>>>> <?php affilo_home(); ?>
<?php affilo_after_content();?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Looking at the page source this is what gets produced:
<div id="container">
<div id="content">
<h2 class="page-title">Computer Parts</h2>
<div class="entry-content">

In a non Front Page the code is different and sets the Title tag within
<?php affilo_page_title(); ?> and this comes out as an H1 Title Tag

I have tried changing code to match but the Front Page has the Title Tag set within the Function
<?php affilo_home(); ?>
  • 0
colin4
Posts: 14
Joined: 16 May 12
Trust:
Closed found hooks.php and resolved.
  • 0

This topic was started on Aug 09, 2012 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.