Log in

View Full Version : Annoying permalink



sparklingsky
05-11-2010, 02:34 PM
On this site I'm working on: http://www.mcg-blog.com/

Beneath the header entitled "Articles" there is a small red vertical box above the text. It is a link, I'm pretty sure it's permalink. I'm having an issue getting rid of it. This site is run on Wordpress and I'm trying to figure what file this is located in and how to get rid of it.

Thanks

djr33
05-11-2010, 02:56 PM
Have you looked at your template file for wordpress? I don't know wordpress that well, but for most systems like that the final place for handling that type of link is in the template file. Note that you may not be looking for "Articles" specifically, but some vaguely-named parameter/variable that is output at that point. View the source code for your page and use the HTML to locate the section in the template. For example find an identifying class name. Then you'll find some reference to a set of links and one of those is probably Articles. It might be complex to remove it (depending on your level of PHP knowledge), but it's possible.
It's hard to guess what it'll look like. For example, since there are a few links it might be in a loop where all 4 of those are generated so none of them is reference specifically, but rather through that loop. But you'd still be able to do something about it.

And of course before you start changing the code too much, remember that you might be able to find some controls for this in the configuration for wordpress. It's got a lot of options for customization, so try there first.

Also, if you do want specific help with this type of question (related to a specific piece of software) the best help will be available at the support forums for the product. Here we can help, but our knowledge is with PHP in general and whatever random experience any of us may have with the software. Wordpress is common enough someone may know it, but there's certainly no guarantee.

coothead
05-11-2010, 02:56 PM
Hi there sparklingsky,

the cause of your problem is highlighted here...


<div class="jla-post-item-entry">
<a href="http://www.mcg-blog.com/2009/12/quantitative-virtual-reality/"><img class="header" src="http://www.mcg-blog.com/wp-content/themes/minimax/functions/thumb/thumb.php?src=http://minimaxblog.com/wp-content/uploads/2009/11/MATLAB.JPG&amp;w=115&amp;h=115&amp;zc=1" alt=""></a>
<h3><a href="http://www.mcg-blog.com/2009/12/quantitative-virtual-reality/">Quantitative Virtual Reality</a></h3>

It's removal is the cure. ;)

Also note that your page has 37 coding errors that require your attention...
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.mcg-blog.com%2F

coothead

djr33
05-11-2010, 02:57 PM
coothead, looks like we posted at the same time.

That looks correct, but do you know if that link is directly in the source code or if it is generated by PHP in a non-transparent way? Removing it might be difficult if so...

coothead
05-11-2010, 03:04 PM
Hi there djr33,

I found the problem directly from the "Source Code".
Further the img src in the link returned a "File Not Found" warning.

coothead

coothead
05-11-2010, 03:37 PM
Hi there sparklingsky

you may, alternatively just want to replace the "dead img src", that I mentioned, with this one...

http://www.mcg-blog.com/wp-content/themes/minimax/images/thumbnail.jpg
coothead

azoomer
05-11-2010, 10:20 PM
Hi sparklingsky
the link is generated by php in wordpress from the mysql database. It refers to a thumbnailphoto on the taget page ( post) that must have been uploaded before. I would guess that if you go in the post editor in the wordpress backend and open the post "Quantitative Virtual Reality" you might find reference to that thumbnail/image here (matlab.jpg) and maybe you can just delete it there. I see the same problem on many other of your posts (Gambler’s Fallacy etc). It seems like images have been uploaded to the posts earlier and then later deleted from the media library but without removing the reference in the post. Just my guess