WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Links Manager Custom Write Panel (4 posts)

  1. Jack Struck
    Member
    Posted 1 year ago #

    I am trying to add a checkbox to the links manager so that when a user creates a new link, they can toggle the checkbox to add a css class to that specific link. The css class will make the single link stand out.

    I'm not sure where to start here, but I've been looking for a while. Any help is appreciated!

  2. bcworkz
    Member
    Posted 1 year ago #

    Start with Function Reference/add_meta_box, including the reading and references at the end.

  3. Jack Struck
    Member
    Posted 1 year ago #

    I ended up going in a different direction to achieve what I wanted. I put:
    jQuery("a[href*=#title]").addClass('heading');
    in the head to find all the links going to #title, then add the class I wanted. Success!

  4. links2012
    Member
    Posted 1 year ago #

    If you want even more features check out the LinkPress module for wordpress at LinkPress.org

Topic Closed

This topic has been closed to new replies.

About this Topic