g3legacy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trying to get items out of wp_nav_menuvtxyzzy, that is fantastic! It generates the name and link! I’ve spent some time looking though the info on preg_match_all today, its looks like a very useful function. I now need to figure out how to add the arguments I want like you have. I can see some of the characters are escaped? I think that’s the correct term for it. If you have the time or patience to explain, how did you know what to place in the $hrefpat variable? The * looks for anything either side of the equals sign I believe, but what about the crazy looking stuff in brackets?
Thanks again ??
Forum: Fixing WordPress
In reply to: Trying to get items out of wp_nav_menu…and thank you for taking the time to do the images alchymyth
Forum: Fixing WordPress
In reply to: Trying to get items out of wp_nav_menuI have looked into it, but i’m trying to make things in as “user-frendly” was as I can. By doing the stuff I said about in the first post, i’m trying to use the great front end in the Admin panel to gain a list of links from the user. Then, i’d like to do some other stuff with it.
One of things I want to do its add a span with an individual class to each li in my main nav. If i can put it through a loop i think i can do this. That way I have some unique identifiers for JQuery to target. I can’t see another way to attach JQuery to single A tags in the navigation…..you welcome to make other suggestions though.
Dan
Forum: Fixing WordPress
In reply to: Trying to get items out of wp_nav_menuThank you very much for taking the time to write.
Thats a lot closer than I have got, I haven’t heard of preg_match_all. I’ve been looking at it on PHP.net – i’m trying to work out what the first argument does, or how you choose what goes in it. You have
#(<a>)#
– does that tell the PHP to look for those elements or something?So far your code has returned a link with html round it, and the link in the middle. Do you know how i take just the link out? Or just the name of the page?
Thanks again, Dan
Forum: Fixing WordPress
In reply to: JQuery and WordPress styling tinyMCEthanks for the reply. I assume thats the method for calling JQuery – but what about styling tinyMCE? I continued to look for a couple of hours last night, but didn’t get that close! Also had a bash at modifying some of the admin CSS, thats pretty crazy! The stylesheet is really compacted and very intwined!
Forum: Fixing WordPress
In reply to: jQuery Slider Issues – Images bleed through – All Slidershopefully you will get it sorted. The site looks very good to me. The music isn’t too bad either! Im a guitarist and quite a fan of rock/metal. Im guessing by your user name you play?
Forum: Fixing WordPress
In reply to: fatal errorerg, sounds like mess. I haven’t had the problem as i don’t use plugins much. At a guess you might have to find the raw plug in files and delete them. Hopefully someone who has solved this before will help! Do you know where to find the files?
Forum: Fixing WordPress
In reply to: jQuery Slider Issues – Images bleed through – All SlidersThats quite odd, I’m running safari on a fast mac with good ram and fast broadband. At first its fine. Im not sure if the music player somehow triggers the mishap or if thats a coincidence? Different blocks show up each time, there isn’t even any trend to where the previous image shows through! Very odd.
Have you looked at Coda slider? A guy i know did some stuff with it at work and it seemed stable.
Forum: Fixing WordPress
In reply to: fatal errorCan you not get to the plug-ins area at all? Is the whole dashboard down?
Forum: Fixing WordPress
In reply to: IMage won't display INLINEwhat do you mean by “inline?” Do you want the text to wrap around it?