rgockley
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Insert an image on top of a background image in a div tagSome of the code was messed up in the previous response. This time I used the code button to maintain the code.
Two files are involved for the theme you are using:
header.php
style.cssYou would substitute your href’s and id’s you use for your hotspots.
In header.php add the following at the bottom of the page after the <div id=”header”> tag:`<div id=”header”>
<i>Blog</i>
<i>Log</i>
<div id=”headerimg”>
</div>
</div>In the style.css add the following after #header:
#header a {
position: absolute;
height:60px;
top:20px;
text-decoration: none;
}
#header a i{visibility: hidden;}
a#home {
left:350px; width:350px;
}
a#cabins {
left:825px; width:150px;
}You will obviously need to adjust the pixel distances so they hover over the content you want to be hot.
I hope this helps someone else.
Forum: Themes and Templates
In reply to: Insert an image on top of a background image in a div tagI figured it out. Below is what I did to accomplish it for anyone else that may be struggling with which files to edit and how.
Two files are involved for the theme you are using:
header.php
style.cssIn header.php add the following at the bottom of the page after the <div id=”header”> tag:
<div id=”header”>
<i>Blog</i>
<i>Log</i>
<div id=”headerimg”>
</div>
</div>In the style.css add the following after #header:
#header a {
position: absolute;
height:60px;
top:20px;
text-decoration: none;
}
#header a i{visibility: hidden;}
a#home {
left:350px; width:350px;
}
a#cabins {
left:825px; width:150px;
}You will obviously need to adjust the pixel distances so they hover over the content you want to be hot.
I hope this helps someone else.
Forum: Themes and Templates
In reply to: Insert an image on top of a background image in a div tagHave you resolved your image mapping issue?
I’ve been attempting to add image maps to the header and I’m getting basically what you described.
I’ve been working in the header.php file for the theme I’m using. I’ve also been making adjustments to the style.css’s #header and #headerimg settings but can’t get the hotspots to come alive in the header.
I’ve been able to make the complete header a link but I need multiple spots in the header to link.
Maybe we can help each other with what appears to be the same challenge.
Forum: Fixing WordPress
In reply to: Side Bar on Comment PagesIn case there wasn’t enough info for the question I asked above, here’s some additional details.
Using WordPress 2.7 with a customized default theme.
Forum: Fixing WordPress
In reply to: 2.7 Logout MessageI wanted to close this thread versus leaving it open ended.
As it turned out, I was adding the code to the comment.php in the wrong themes folder. When placed into the correct folder it worked like a charm. Make sure you’re in the correct theme!!!!
<?php echo wp_logout_url(get_permalink()); ?>
For anyone else viewing this post with the same issue this link has the info.
https://codex.www.ads-software.com/Template_Tags/wp_logout_urlForum: Fixing WordPress
In reply to: 2.7 Logout MessageForum: Fixing WordPress
In reply to: 2.7 Logout MessageForum: Fixing WordPress
In reply to: 2.7 Logout MessageI am currently in the comments.php page for the classic theme.
I’ve altered this line of code and I still get the error message in the blog when you attempt to log out of the blog.
……………………………….
You are attempting to log out ofPlease try again.
……………………………….
Below the dotted line is the code I’ve zeroed in on. Below it are two options (if I’m reading the WP support info properly) that I’ve tried substituting for the code.
…………………………………………………..<?php echo get_option(‘siteurl’); ?>/wp-login.php?action=logout” title=”<?php _e(‘Log out of this account’) ?>”><?php _e(‘Logout »’); ?>
<?php echo wp_logout_url(); ?>” title=”Logout”>Logout
<?php echo wp_logout_url( get_permalink() ); ?>” title=”Logout”>LogoutCan someone please weigh in on this.
Thanks
Forum: Fixing WordPress
In reply to: 2.7 Logout MessageThis tread https://codex.www.ads-software.com/Template_Tags/wp_logout_url provides the page that contains the changes I believe however, I am unable to find the code it’s calling out.
Is this file (wp-includes/general-template.php) the correct one? If so can anyone tell what line the code string is on.
Forum: Fixing WordPress
In reply to: 2.7 Logout MessageDoes anyone know if there is a patch for this issue in 2.7?
Or is there a certain php file and specific code I can be looking for.
Forum: Fixing WordPress
In reply to: 2.7 RSS QuestionIs it accepted in the WordPress community for the RSS feeds to not work in certain browsers.
Is there any documentation on which ones are problems with the standard WordPress RSS feeds?
Forum: Fixing WordPress
In reply to: RSS Feed Header QuestionI’m wanting to add the blog to an existing page template.
You can see it here.
https://www.conestogalogcabins.com/blogWhen the index is included in the template you can see at this link the RSS feed links at the bottom create the error at the top of the post.
When I upload the index page code by itself the rss feed links work.
Forum: Fixing WordPress
In reply to: RSS Feed Header QuestionThanks iridiax.
I’ve been to this page and did all that is listed here.
When I take the index page out of my template and reload it by itself the RSS link works. The issue isn’t with extra spaces in the code.
The issue is getting the blog header to load prior to the first line of code in the web template. I removed all the <head> tags and everything between them in the web template thinking it would resolve the problem but it still produces the error message “Cannot modify header information – headers already sent by…”. The remaining error message is in my original post.
Any Ideas
Forum: Fixing WordPress
In reply to: RSS Feed Header QuestionCan I assume at this point that no one is aware of a way for the feed header information to advance ahead of a few lines of web template code when the RRS pages are called.
Forum: Fixing WordPress
In reply to: RSS Feed Header QuestionA question to add to the previous post.
Does the WordPress code automatically establish the RSS feed for the two links below so it would be like https://www.domain.com/blog/feed
Entries (RSS) and Comments (RSS).