I tried using the help files and it did nothing for me.

This is the page I want to edit...
http://kortradeny.com. I need to revise the bottom row of four images. The original designer did this as images, which I am cringing inside over, knowing how easy it is to do with raw html. But, that being what it is, I need to keep it as an image, but just update the image to add some text.

However, because of the file structure, when I upload the new image, it breaks the links, because i'm uploading in a different month. How can I fix this? Note, the first image in that row is broken.
They did it that way because there's no way to guarantee that a client would have that particular font. You're not just replacing the old image with a new image? I'd suspect that those are being managed as Wordpress items of some sort; I'd recommend poking around inside the Wordpress ACP and seeing what you find.
No, I was able to edit the other similar images (just like I would on a normal site), but now, on the particular image over the "Media" link, I need to fix that, but I can't find where the image data for it is.

What is the ACP?
Looking at the source I was able to conclude that each image is it's own post. However, it looks like it was the original theme creators were in error by using WordPress uploads in the theme, hence the dated file structure. I highly recommend you take the time to move all the images used in the theme to the template directory

ACP stands for Admin Control Panel. If you only have FTP access you could still salvage the style but you'll get a bit more flexibility through the ACP. I might have a practive WordPress installation (from when I was helping a friend) on my server that I can add you as an Admin to so you can play around. Can't say I'll be able to help you but you'll at least be able to poke around the ACP and send instructions to the Admin if they won't give you ACP access.
Ok, thanks comic. But how to I change the links on the actual source code of the page. I can't seem to find that anywhere. According to Wordpress's help files, that may be database-driven, in which case I fear I can't fix it.
I wouldn't know without seeing the original template but it's likely the original creator(s) screwed it over twice by also using the file path, "wp-content/uploads/2012/03/" as a pre-variable input. So, that when they link to a file all they had to do was "{UPLOAD_PATH}/maxmara.jpg" in the posts. What they should have done, was place any image used by the template in "wp-content/themes/minimal-desire/images/."

What are you editing, exactly. The WordPress posts or the template?
That's the thing. I don't know. I mean, I would think it would be the template, but I don't see it anywhere there. Where else could I look?

All I know is that, on the image above the word "Media" on the home page, I want to fix that link. And then, if its possible, I'd like to make the other four images on that row cover the entire box they are floating over.
Do you use a FTP to login or are you logging in and editing through http://kortradeny.com/wp-login.php?
the latter. and then, i use the WP-Filemanager plugin.
Okay, you aren't editing the template then and you have access to the ACP, but may not be an Admin so you may not have access to everything the Admin would.

At the very least you could use that Plugin to upload files to a custom directory (I imagine) and rename the file to what you're replacing. I'm playing around in my WordPress installation now that I know where you are changing things in and see what you can change under "Appearance > Menus" but that should only contain the content for Home, About & Contact.

Posts would be under none other than Posts. From there you can edit previous posts. If I had to guess, each post has two parts separated by a "read more" indicator. The image and it's markup would be above that line and everything else would be below it. Much like the "Read More Example" I set up on my test installation, at time of this writing it will be the top most post.

So, when you edit the posts, click the HTML tab at right of the text box and look for similar markup of the following:


Code:
<a href="http://kortradeny.com/portfolio/media/" title="Media" class="img-hover"><img src="http://kortradeny.com/wp-content/themes/minimal-desire/images/portfolio-no-image.png" alt="Media"><div class="portfolio-hover" style="display: none; "><span class="circle" style="opacity: 0; height: 76px; "><span style="opacity: 0; ">05</span></span><span class="category"></span></div></a>

<a href="http://kortradeny.com/portfolio/media/"><h2>Media</h2></a>


And where the image tag appears is where you will be able to, hopefully, edit which image shows up.
That does not occur. The Home page is set up as a "page". The "Media" post has only the contents of the media page.
Fascinating. If you are able, what happens if you make a new post?
Nothing on the home page. Even if I toggle the "Stick to home page button"
Okay. It sounds like the post links are manually created on the Home "page," rather than dynamically created for each post. See if you can see anything that resembles the above code within the code for the home "page."
What are you using for your editor? If you have Notepad++, the Find in Files feature comes in awfully handy for this sort of mystery.
@comicIdiot: When I click onto the page "Home", it is blank in the editor, in both Visual and HTML mode. Nothing to edit. I have no clue where the source is.

@Kerm: I first need to find the file... I have no issue finding the image once I'm in the right file, but the Wordpress system pulls bits and pieces from different files, scattered all over the file system, and I can't seem to find the actual source of the page anywhere.


Edit: the Home page is a static page...and it is in the template. But, how to find its source...

Edit 2: will the following code run when the page fully loads and change the link of the image...


Code:
<script>
$(document).ready(function () {
$("#portfolio-post-128").find("a");
$("this").find("img");
$("this").attr("src","wp-content/uploads/2012/10/media1.jpg");
});
</script>
Sorry to bump the same day as the last edit, but the company is pressuring me to get this done (and, technically my last post was last night...)
You'll find it's source via FTP (or maybe that plugin you mentioned above), which it looks like you don't have access it to. Sad
What about using that bit of code to alter the "src" attribute after the page loads...?
ACagliano wrote:
What about using that bit of code to alter the "src" attribute after the page loads...?
That's a super-clumsy way to do it, I'd say. Sad
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement