Forums

[Plugin: My Link Order] How do you format it? (9 posts)

  1. bunnygirl
    Member
    Posted 1 year ago #

    How do you format the output of the links? Right now it displays the categories as plain text, and I want them to be headings. I also want to enclose the entire widget within a <div>. How do I do this?

  2. froman118
    Member
    Posted 1 year ago #

    Using the My Link Order widget it will default to putting Header 2 tags around the categories. Surrounding the widget with a div requires changes to the widget_before and widget_after settings in your function.php.

  3. bunnygirl
    Member
    Posted 1 year ago #

    MyLinkOrder did NOT put an h2 around my code. Looking at the source code shows that it is plain text.

    Here is the site (unfinished) to show you what I mean: Sex, Food, and Rock & Roll

  4. froman118
    Member
    Posted 1 year ago #

    I don't really know what your theme is doing, but my site is setup to use all the default values and I get the following for one of my link categories:

    <li id="linkcat-16" class="widget wp_widget_mylinkorder">
    <h2 class="widgettitle">Friends</h2>
    
    <ul class='xoxo blogroll'>
    
    .....
    
    </ul>
    </li>

    The Themes and Template forum might be a little more helpful to get things displaying the way you want.

  5. bunnygirl
    Member
    Posted 11 months ago #

    Ok, I changed stuff in my function.php and got an h2 around my link categories. Now I want to enclose My Link Order in a unique div so I can give it a graphical header. I tried putting it in the widget_before/widget_after settings and it just put it around the entire set of widgets. Is there a way to define what goes directly before and after this widget alone?

  6. froman118
    Member
    Posted 10 months ago #

    With widgets the before and after settings apply to all widgets, no good way around it. If you want to customize things in a way that widgets can't handle you'll either have to hack it into the plugin or unwidgetize your sidebar.

  7. jol519
    Member
    Posted 8 months ago #

    Froman118,
    Very basic problem here: I installed My Link Order in WP 2.7, everything looks right. But clicking the "order buttons" does nothing, either for re-ordering categories or links within categories.

    Must be something simple, right?

  8. froman118
    Member
    Posted 8 months ago #

    Not quite sure what to tell ya. It's really simple Javascript so you might have another program screwing with the jQuery inclues.

  9. jol519
    Member
    Posted 8 months ago #

    Froman118,

    Embarrassing as it is to own up to a certain level of unlearned newbyness-- I forgot to add the "My Link Order" widget to my sidebar in the widgets control screen.

    Actually found the answer here:
    http://wordpress.org/support/topic/176239?replies=8

    Very nice app. I've bought you a beer.

Topic Closed

This topic has been closed to new replies.

About this Topic