Wordpress Blog issues!

Associate
Joined
29 Oct 2002
Posts
307
Location
Land Of Pork Pies!
On my site www.hilltrident.co.uk/blog/ I have installed a new word press blog in keeping with the site.

The problem with the blog is that it is putting /blog in the javascript drop down menu prefix so it cant find the pages.

I can apparently only redo this by rebuilding a new menu system for the blog which I do not know how to do.

Does anybody have any input on this or can anybody help!?

"Spunkey, If you can solve this one you win yourself an exciting piece of wall spike or a roll of razor wire"
 
:D

Right the problem is the links are relative, and as you've now moved into a new folder the links no longer work.

In the code there is a line which starts...

Code:
<script language='JavaScript' type='text/javascript'>function mmLoadMenus() { ... }</script>

The URLs for the links are specified in this javascript as:
Code:
"location='CMSProduct.aspx?Product_Id=4'"
To make these relative to the base URL you need to change each of these to include a leading slash to denote it's relative from the base
Code:
"location='/CMSProduct.aspx?Product_Id=4'"

But without knowing the full structure of your site this may affect other pages negatively.

It may be worth taking a copy of that line and amending the links just for the blog pages.
 
awesome!

Cheers guys, is there anything else on the site that you lot have identified as needs chaning or alterations, any improvements or advice would be great, I get about 250 hits a day at the moment and the overall feedback is really positive.

Any help would be great.

Spunkey! Where do you want your razor wire / wall spike sending too, email me in trust.
 
Back
Top Bottom