Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Clickable links in header


  #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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa and WP?
What is the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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 11:00 AM.


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