WordPress.org

Ready to get started?Download WordPress

Forums

Move page top widget below page title (11 posts)

  1. DotsConnected
    Member
    Posted 2 years 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

  2. Xam 1.0
    Member
    Posted 2 years ago #

    If you provide a url it would be easier to help.

  3. DotsConnected
    Member
    Posted 2 years 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".

  4. Xam 1.0
    Member
    Posted 2 years 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.

  5. DotsConnected
    Member
    Posted 2 years 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?...

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    It's determined by the template files in your current theme's folder, yes.

  7. DotsConnected
    Member
    Posted 2 years ago #

    So...this is the part where you guys are going to tell me how I can change that output?...

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    I believe Xam 1.0 already posted links to the correct code above.

  9. DotsConnected
    Member
    Posted 2 years 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?!

  10. Xam 1.0
    Member
    Posted 2 years 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.

  11. DotsConnected
    Member
    Posted 2 years 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!

Topic Closed

This topic has been closed to new replies.

About this Topic