adhdcelt
Forum Replies Created
-
Forum: Localhost Installs
In reply to: My most sincere apology for a previous post.There’s no problem with the image path. I have no problem displaying images on the site with hard-coded paths using the “img src” tag. Everything works fine. It’s only when I use the <?php echo get_stylesheet_directory_uri(); ?> function inside the “img src” thingy to point to the image folder path that they won’t display.
For instance, this works just fine; beautiful site:
<img src=”http://localhost/wordpress/wp-content/imagefolder1/imagefolder2/image1.jpg>Any combination of this doesn’t:
<img src=”<? php echo get_stylesheet_directory_uri(); ?>/imagefolder1/imagefolder2/image1.jpg>As simple as this seems, I MUST be doin’ something wrong—code doesn’t lie.
Thanks so much for your most gracious input, RossMitchell.
Forum: Localhost Installs
In reply to: won't work.Yes, my images are in the wp-content/xxxxximages folder; however, as I understand it, “theme images” go in the themes/themename/images folder, and content images go in the wp-content/images folder.
The code the guy showed me last night pointed to his image folder in the wp-content folder.
Anyway, I just created an image folder in the child theme folder, put the image in it, and used the themes/themename/image folder path, and it still didn’t work. I even tried it removing the “uri() designation from the php function: nothing.
It’s got to be pilot error somewhere, here; I just don’t know where.
Forum: Localhost Installs
In reply to: won't work.I’m using this code in a page in my wordpress site where I want the image to go just like it reads in the example except for the directory path code that is specific to my site.
In other words, the code in the page that points to my image folder looks like this:
<img src="http://localhost/wordpress/wp-content/imagefolder1/imagefolder2/imagefolder3/the-image-itself.png" alt="xxxxxxxxx" width="xxxxxxx" height="xxxxx" />The above code works just fine and loads the image, no problem.
However, this code does not work when I replace the hard-coded directory path with the php function:
<img src="<?php echo get_stylesheet_directory_uri(); ?>/imagefolder1/imagefolder2/imagefolder3/the-image-itself.png" alt="xxxxxxxxx" width="xxxxxxx" height="xxxxx" />Same code as the hard code that works, except for the php function. Everything I look at says this php function code should work. The examples are exactly the same as what I’m doing except for the specific directory path for my image files. However, I must be doin’ something wrong, here.
Forum: Localhost Installs
In reply to: My most sincere apology for a previous post.I know where my content images are located. Here:
wamp/www/wordpress/wp-content/xxxxxx/xxxxxxx/xxxxxxxx/image.jpg.However, when I replace any part of the img src string that points to the image file, beginning with http://localhost, and then building on that each time by including another directory all the way to my image file, the image doesn’t show up. All I see is a tiny little icon, and when I mouse over it, I see the alt=”xxxxxx” text—just no image.
Forum: Localhost Installs
In reply to: won't work.No, not working on a theme; I’m working on a website. I’m using the wordpress twentyten theme with a child theme.
I don’t get html on the page. When I replace the hard code in the string that needs to be replaced, with the php function in this post, update the page, then view the page, the image just doesn’t show up. All I see is the alt=”xxx” description. The page looks fine, the image just doesn’t show up.
Forum: Plugins
In reply to: Postman SMTP Mailer site email link questionThanks so much!
Forum: Plugins
In reply to: Postman SMTP Mailer site email link questionThanks so much!
I had the mailto variable in “applications” in Firefox Options set to “WLMail.url.mailto.” When I changed it to gmail, the site mailto link worked, but it opened up a gmail.com window.
I’m also using the Email Encoder Bundle WordPress plugin.
I don’t understand all this email stuff, but I’m assuming that what opens up depends on the user’s machine who visits my site and clicks on the mailto link. Right?
And, even though the mailto link will now at least go to the gmail.com page, I get the same error with CF7 when I try to send a message. I’ll got to their forum with that.
Forum: Plugins
In reply to: Postman SMTP Mailer site email link questionThe mailto: links on my pages don’t work.
When I click on one, nothing happens.
I mean, nothing. It just sits there, staring at me.Also, I’m using Contact Form 7 as well.
I’ve tried several configurations on the settings page for it, and I continue to get “Failed to send your message. Please try later or contact your administrator by another method” error with a bold red border around it every time I try to send a message from the form.That’s why I installed the Postman plugin; I thought that plugin might solve the problems.
Forum: Localhost Installs
In reply to: Why won't my mailto tags work?I’m sorry: I think this tag got lost when I posted, so I’ll try it again.
I have links in a couple of pages using:
“Send me an
email“These links will not go to the designated email address.
When I click on them, they do nothing.Any wisdom on what I’m doing wrong will be greatly appreciated.
Thanks.Forum: Plugins
In reply to: [Quick Paypal Payments] Can't change font color and background in form field.Well, DUH!!!!!!
I was lookin’ on the wrong machine.
I found the custom css file; however, having looked at the file, I find nothing that allows me to change the font and background color in the form input field.Again, any help here would be greatly appreciated.
Forum: Plugins
In reply to: [eShop] Downloading large mp3 files from Amazon S3Thanks, Mel:
I appreciate your help.Forum: Localhost Installs
In reply to: Unwanted dotted border around links.Thanks so much, awa4000.
It would have taken me years to figure that out :>)).
I’ll get right on it.Forum: Fixing WordPress
In reply to: Blank Page on localhost/wordpress/wp-admin login attemptThanks, essaysnark:
I went to the first link in your reply and followed this link offered by blog_angel:
“How to troubleshoot WordPress “White Screen” of Death.”
However, I also had to rename “cache” files in the “wp-content,” “plugins,” and “plugins/w3-total-cache/wp-content” directories to make it work.
Alas, it DID work, so thank you so much for your help :>)).
Thanks, Brandon.
I appreciate your insights.Yes, wordpress is on the laptop. I “copied” it from the desktop to the laptop. When I try to run the site in a browser via http://localhost/wordpress, I get the error message: “Error Establishing a Database Connection.
And yes, username, password, host, database name, etc. are exact matches in both the desktop and the laptop wp-config.php files.
As for privileges, I assume I go into WAMP phpMyAdmin, select the database, select privileges, and check the settings for each user using Edit Privileges. I did that for all users, and everything under Administration is checked “yes.”
However, when I look at “databases” in the left column of phpMyAdmin, I see six databases listed, the one I’m trying to work with, another one I created for another site at an earlier time ( I renamed this folder to “wordpress.hold so it would not interfere with the one I’m working with), and four more: information_schema, mysql, performance_schema, and “test.”
This has to be pilot error, but I can’t see it.
Forum: Installing WordPress
In reply to: How do I build the site after installation?leehosepho; WPyogi,
Thanks so much for your most gracious help with this issue!