Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Clickable links in header


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Sep 27, 2011, 04:07 AM
Hugh
 
4 posts · Sep 2011
I studied the other threads related to clickable links in header, and they are closed so I am hoping this new one will get me an answer. I didn't want to use the suggestions in the other threads because I don't like tinkering with code or even theme options too much. So I simply stuck an image map on the front of the root index.php file that calls wordpress. The advantage of this approach, I thought, is that I can test the image map as a separate web page without tinkering with a live blog, and then paste it in. The problem is that Feedburner can't find the feed any more. It tells me 'It looks like this is a web page, not a feed'. It looks like a web page to me, too, but I would have thought it would look for a feed ON a web page. But then I haven't a clue how Feedburner works. My code is below. Any suggestions?
<?php
ob_start(); ?> [got this from another site to solve the 'can't modify headers' problem]
<html>
<head>
<title></title>
</head>
<body bgcolor="#FFFFFF">
<div align="center">
<p><map name="FPMap0">
<area href="books.html" target="_blank" shape="rect" coords="515, 2, 996, 245"></map><img border="0" src="header.jpg" usemap="#FPMap0"></p>
</div>
</body>
</html>
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
[... etc]
?>
  #2  
Old Sep 27, 2011, 04:11 AM
juggledad's Avatar
juggledad
 
21,702 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
What version of Atahualpa and WP?
What is the url?
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Sep 27, 2011, 04:44 AM
Hugh
 
4 posts · Sep 2011
Wordpress 2.9.2, Atahualpa 3.4.6, www.hugh-small.co.uk takes you there.
Thanks
  #4  
Old Sep 27, 2011, 06:33 AM
juggledad's Avatar
juggledad
 
21,702 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
are you adding that code to the index.php in the wordpress root or the index.php in the atahualpa folder?
why don't you put your links in the 'Configure header area'? Wrap them in a <div> with an ID or class then you can use CSS to position them
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #5  
Old Sep 27, 2011, 09:44 AM
Hugh
 
4 posts · Sep 2011
The index.php that I modified is in the root directory of my web, it is the index.php which is the entry point for my URL. The Atahualpa theme content is in a subdirectory of another directory, using the method described in other threads on how to keep it out of the root. I haven't touched the index.php in any Atahualpa folder.
  #6  
Old Sep 27, 2011, 10:05 AM
juggledad's Avatar
juggledad
 
21,702 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
I wouldn't go messing with the index.php file in the wordpress root, it will vanish the next time you do an update.

Wh not try my suggestion?
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #7  
Old Sep 27, 2011, 11:27 AM
Hugh
 
4 posts · Sep 2011
I see from Wordpress Codex that feedburner has problems if Wordpress is not in your root folder so I don't know why it ever worked. I'm not going to get into hacks to fix that.
The reason I haven't followed your suggestion to 'wrap them in a <div> with and ID and class and use CSS to position them' is that I don't know how to use a div, an ID, a class, or a CSS. I only copied the <div> align from another site because it seemed simple to try. I shouldn't really be allowed out, should I? Is the technique explained in one of the other threads?
  #8  
Old Sep 27, 2011, 02:16 PM
juggledad's Avatar
juggledad
 
21,702 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
once you get to the point of deciding to do things like this, it's time to learn some HTML and CSS

ID's and classes are the way you can identify HTML elements so you can have the CSS style them. You could add
HTML Code:
<div id="my-div"><a href="http://yourdomain.com/whereyouwanttolinkto" title="this is my link">Press here to go to my link</a></div>
now you could add to the CSS Inserts
HTML Code:
div#my-div {position: relative; top: 40px; right: 50px;}
you will need to play with the numbers to get it to be where you want it and you need to put in the right address.

A great resource for both HTML and CSS is w3schools.com
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Header Ad is not clickable Henrietta Header configuration & styling 2 Aug 31, 2011 10:00 AM
[SOLVED] How to get links to be clickable in excerpts? teapot Excerpts, Read more, Pagination 2 Jun 6, 2010 04:29 PM
[SOLVED] Is it possible to have multiple clickable links in the Header or other graph Eric Bobrow Header configuration & styling 18 Mar 31, 2010 04:00 PM
want to place clickable icons in place of links (Home, About, etc.) agrossman Header configuration & styling 2 Aug 13, 2009 02:45 PM
[...] on excerpts - can they be made clickable links? HalfWayThere Excerpts, Read more, Pagination 10 Jun 28, 2009 02:36 AM


All times are GMT -6. The time now is 10:21 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.