luceylin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trying to add a link to a file that is on my siteGot it now. I did have it as a link but there was another issue which I resolved. Don’t understand it but it is fixed. Thanks
Forum: Fixing WordPress
In reply to: Trying to add a link to a file that is on my siteBut it does not seem to work……it does not bring me to the article–just keeps me on the same page.
Any other thoughts?Forum: Fixing WordPress
In reply to: Trying to add a link to a file that is on my siteDon’t know if it makes a difference, but I was not using “read more”, just a regular link. I am not clear on what the full link address is, though. I have a folder called ‘Articles’ sitting under ‘/public_html’–so what would the full address be? Right now I have ‘https://www.paullucey.com/Articles/Suskind.pdf’. Is that not the correct link address?
Forum: Fixing WordPress
In reply to: add images to sidebarThanks for your help. I think I will just realize my limitations and put the images directly into the page. I wanted to put them in the sidebar but that was mostly to balance the pages, and so perhaps I will just add other things to the sidebar. ( I hope you did not spend alot of time. I may try your plugin at some point when I feel more adventurous, but that is not now I am afraid. I don’t even know what a dynamic sidebar is…….)
Forum: Fixing WordPress
In reply to: add images to sidebarHere is my sidebar.php if someone can give me a hand. I don’t really understand all the syntax. I tried to paste the code above in several places with no luck.
Forum: Fixing WordPress
In reply to: add images to sidebarWell, I give up. I have tried adding the code in several places but keep getting syntax errors. I just want the photo near the top of the sidebar after the first text block. I am going to walk away from this for a bit and perhaps when I come back it will make more sense……………
Forum: Fixing WordPress
In reply to: add images to sidebarOK, and the other stuff…………I assume it is the rest of the code that is needed but I am not sure if I have to do something with it or if it is “done”. You see, I am very much a beginner………….
Forum: Fixing WordPress
In reply to: add images to sidebarOK, I built the following code:
‘<?php
$img = ”;
$img_url = ‘https://www.paullucey.com/wp_content/nggallery/sidebar-images/’;
if( is_page( ‘Home’) ) $img = ‘flag.jpg’;
elseif( is_page( ‘Areas_of_practice’) ) $imag = ‘gavel.jpg’
elseif( is_page( ‘Areas_of_practice/Insurance_disputes’) ) $imag = ‘policy.jpg’;
elseif( is_page( ‘Areas_of_practice/Civil_Litigation’) ) $imag = ‘steps.jpg’;
elseif( is_page( ‘Areas_of_practice/Serious_Personal_Injury’) ) $imag = ‘justice.jpg’; ‘but am not sure where EXACTLY it goes in the sidebar1.php file and also what to do with this other stuff:
if( $img != ” ) echo ‘<img src=”‘ . $img_url . $img . ‘” alt=”” />’;
?>Forum: Fixing WordPress
In reply to: add images to sidebarDUH!. I will try to add conditional logic as you were suggesting, but can you tell me exactly where to put it? In the sidebar.php?
Forum: Fixing WordPress
In reply to: add images to sidebarIn the sidebar–a different photo on each.
Forum: Fixing WordPress
In reply to: fatal errorNot sure why but my fatal error is no longer there.
Forum: Fixing WordPress
In reply to: fatal errorI left out the site link-sorry
Not sure why but the link does not seem to be showing up though it is there when I post it………..
so, here is the site: https://www.paullucey.com
Forum: Fixing WordPress
In reply to: two images in a header?Awesome. Now I just have to make it a little smaller. Thanks alot. The next thing I will dig into is putting random images in the header instead of just that one picture……
Forum: Fixing WordPress
In reply to: two images in a header?I tried that code but it did not work. Can someone peek at my site and see why? Much obliged.
Forum: Fixing WordPress
In reply to: two images in a header?Ok first things first. Thought I would see if I could get just two images in the header, and leave the rotating part till I accomplished the first part. Below is the code from my style.css sheet but there must be something wrong. I did add “header2” as an image in the header.php file, and both header1.jpg and header2.jpg are in the right place. But only the original header image is appearing.
‘/* begin Header */
div.art-Header
{
margin: 0 auto;
position: relative;
z-index:0;
width: 980px;
height: 225px;
}div.art-Header-jpeg
{
position: absolute;
z-index:-1;
top: 0;
left: 0;
width: 680px;
height: 225px;
background-image: url(‘images/Header1.jpg’);
background-repeat: no-repeat;
background-position: center center;
float: left;position: absolute;
z-index:0;
top: 0;
left: 0;
width: 300px;
height: 225px;
background-image: url(‘images/header2.jpg’);
background-repeat: no-repeat;
background-position: right center;
float: right;
}
/* end Header */’