Support » Themes and Templates » clickable header in inove template

  • Hello all,
    I am new here and new to WordPress in general.

    I am using a customized version of inove template (see zebradomain.com) but I can’t seem to make the logo clickable.

    I know this had been discussed to death in the forums and elsewhere and I read everything I found and it didn’t really help (maybe because I know just about nothing when it comes to HTML/PHP etc).

    Here is how my header.php file looks like (nothing like any I have seem on other posts on this matter – this is why I am having problems I guess):

    <?php include(‘templates/start.php’); ?>

    <!– container START –>
    <div id=”container”>

    <?php include(‘templates/header.php’); ?>

    <!– content START –>
    <div id=”content”>

    <!– main START –>
    <div id=”main”>

    How should I change this to make the header clickable?

    Thanks for your percipience with me on this I know its annoying to hear the same questions over and over.

    Iddo

Viewing 13 replies - 1 through 13 (of 13 total)
  • See the third video in the post below at about 4:30. It’s isn’t iNove, but you do essentially the same thing.

    How to Edit the Kubrick WordPress Theme

    Hi Fingaro,
    First thanks for the quick response – I read a few post you did before and I can see you helped a lot of people.

    I watched the video and did what I think was mentioned in it and this is what happened:
    http://zebradomain.com/

    So now I have the header twice but the clicable one is not in the right place…

    My header.php file looks completely different than anything on the video so I am also not sure where to put the line I need to insert – it looks like this now:

    <?php include('templates/start.php'); ?>
    
    <!-- container START -->
    <div id="container">
    
    <?php include('templates/header.php'); ?>
    
    <!-- content START -->
    <div id="content">
    
    	<!-- main START -->
    	<div id="main">
    <div id="header" onclick="location.href='http://www.zebradomain.com/';" style="cursor: pointer;" title="home"></div>

    Any ideas?

    Ok, if that is your header.php, here is what it needs to look like:

    <?php include('templates/start.php'); ?>
    
    <!-- container START -->
    <div id="container">
    <div id="header" onclick="location.href='http://www.zebradomain.com/';" style="cursor: pointer;" title="home"></div>
    
    <!-- content START -->
    <div id="content">
    
    	<!-- main START -->
    	<div id="main">

    Hi abovegrnd,
    Well I changed it just the way you said – it did fix the dual header but now I am missing the entire search bar (with the home page and sections etc.).

    Ideas?

    iddo, is that code in your header.php? or your index.php?

    header.php

    is that o.k?

    That’s fine, I’m just really confused as to how your website desgin functions. What is in the top portion of your index.php?

    I am a newbie so maybe everything is massed up – here is my entire index.php:

    <?php get_header(); ?>
    <?php $options = get_option('inove_options'); ?>
    
    <?php if ($options['notice'] &amp;&amp; $options['notice_content']) : ?>
    	<div class="post" id="notice">
    		<div class="content">
    			<?php echo($options['notice_content']); ?>
    			<div class="fixed"></div>
    		</div>
    	</div>
    <?php endif; ?>
    
    <?php if (have_posts()) : ?>
    	<?php while (have_posts()) : the_post(); update_post_caches($posts); ?>
    		<div class="post" id="post-<?php the_ID(); ?>">
    			<h2><a class="title" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    			<div class="info">
    				<span class="date"><?php the_time(__('F jS, Y', 'inove')) ?></span>
    				<div class="act">
    					<span class="comments"><?php comments_popup_link(__('No comments', 'inove'), __('1 comment', 'inove'), __('% comments', 'inove')); ?></span>
    					<?php edit_post_link(__('Edit', 'inove'), '<span class="editpost">', '</span>'); ?>
    					<div class="fixed"></div>
    				</div>
    				<div class="fixed"></div>
    			</div>
    			<div class="content">
    				<?php the_content(__('Read more...', 'inove')); ?>
    				<div class="fixed"></div>
    			</div>
    			<div class="under">
    				<?php if ($options['author']) : ?><span class="author"><?php _e('Author: ', 'inove'); ?></span><span><?php the_author_posts_link(); ?></span><?php endif; ?>
    				<?php if ($options['categories']) : ?><span class="categories"><?php _e('Categories: ', 'inove'); ?></span><span><?php the_category(', '); ?></span><?php endif; ?>
    				<?php if ($options['tags']) : ?><span class="tags"><?php _e('Tags: ', 'inove'); ?></span><span><?php the_tags('', ', ', ''); ?></span><?php endif; ?>
    			</div>
    		</div>
    	<?php endwhile; ?>
    
    <?php else : ?>
    	<div class="errorbox">
    		<?php _e('Sorry, no posts matched your criteria.', 'inove'); ?>
    	</div>
    <?php endif; ?>
    
    <div id="pagenavi">
    	<?php if(function_exists('wp_pagenavi')) : ?>
    		<?php wp_pagenavi() ?>
    	<?php else : ?>
    		<span class="newer"><?php previous_posts_link(__('Newer Entries', 'inove')); ?></span>
    		<span class="older"><?php next_posts_link(__('Older Entries', 'inove')); ?></span>
    	<?php endif; ?>
    	<div class="fixed"></div>
    </div>
    
    <?php get_footer(); ?>

    ok well lets try this. I’m not all too familiar with this either, but I’ve been able to tweak a lot of things in my site. The problem that I am having is that I don’t see where your code is pulling the image file for your banner? Maybe you know where that’s coming from, because from the code I can’t tell exactly how it is structured.

    Try this and maybe we can work through how it works…

    <?php include('templates/start.php'); ?>
    
    <!-- container START -->
    <div id="container">
    <div onclick="location.href='http://www.zebradomain.com/';" style="cursor: pointer;" title="home"><?php include('templates/header.php'); ?>
    </div>
    
    <!-- content START -->
    <div id="content">
    
    	<!-- main START -->
    	<div id="main">

    Wow!
    Not sure what you have done but it works – thank you so much.
    Here you can see it working:

    From my perspective this was the last problem (I just need to start adding much more content now) – maybe I will open a different post and ask if there are any other suggestions/problems people see on the site.

    P.S. I really hope this will help other people solve this problem as well (why or why this isn’t built in into wordpress or at least as a plug-in which simply let you upload your own clickble header…).

    sorry for linking the two sntences this isn’t exactly WYSIWYG.
    This is the site.

    Glad I could help you out. Get ahold of me if you need any more help. I learn best by DOING and HELPING others. http://www.abovegroundmagazine.com has my contact info 🙂

    Thank you – I will do that 🙂

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘clickable header in inove template’ is closed to new replies.