DotsConnected
Member
Posted 9 months ago #
Hi folks, sorry to bother again, but I have another question. I have a widget in my Page Top widget area, displaying a menu. I'd like to move that widget below my page title. I'm a bit of a php noob, so I'm hoping someone here can point me to the right direction.
Thanks!
Take care,
Sabra
Xam 1.0
Member
Posted 9 months ago #
If you provide a url it would be easier to help.
DotsConnected
Member
Posted 9 months ago #
Sorry, here! I gave the widget that needs to move a greenish background so it's easier to see what I mean. It needs to move below the title "Portfolio".
Xam 1.0
Member
Posted 9 months ago #
The menu is part of a widget:
http://pastebin.com/4GYn2xhK
This is the part of the widget you want to move:
http://pastebin.com/7reus1us
And you want to put that here:
http://pastebin.com/PLAXcHTu
wrap it in the right div class and should work.
DotsConnected
Member
Posted 9 months ago #
Maybe I sound like a total idiot now but I have no idea how the change the HTML output by WordPress. Isn't that determined by the php templates?...
It's determined by the template files in your current theme's folder, yes.
DotsConnected
Member
Posted 9 months ago #
So...this is the part where you guys are going to tell me how I can change that output?...
I believe Xam 1.0 already posted links to the correct code above.
DotsConnected
Member
Posted 9 months ago #
I must be stupid then. :| What I see is HTML code. I know where I want the HTML to be, I have Firebug and it's obvious. But how am I supposed to change that in my template?!
Xam 1.0
Member
Posted 9 months ago #
You have to find that piece of code in one of your template files, probably single.php or page.php and change it as described above. But if you don't know what your doing it's probably best to leave it as is. I noticed a very strange permalink structure on your blog, when you click on one of the archive links you get this:
http://www.grayscale.nl/http:/www.grayscale.nl/2011/06
the domain twice.
DotsConnected
Member
Posted 9 months ago #
Thank you, the page.php was what I needed, I had no idea. (and I'm too stubborn to leave it as is :) It works like a charm now. And yes, I was messing around with my permalinks but that's fixed too. :)
Now kick my ass to bed :)
Thanks!