WordPress.org

Ready to get started?Download WordPress

Forums

Link Manager main page: Can I do this? (39 posts)

  1. FionaDixit
    Member
    Posted 9 years ago #

    Hiya,

    I have just been a browsing and saw something I would really like to implement in my main content of my site.

    Take a peak here: http://www.stopdesign.com/also/sites/

    basically it looks like all link manager links arranged on an index page.

    Can WP do this?

    Thanks
    F

  2. moshu
    Member
    Posted 9 years ago #

    I'd go by creating a Page template (e.g. links.php) where I'd include the proper template tag to call my links list... then create a Page by using this template (Note: no need to write anything in the content text area!), and then just linking to it from wherever you prefer. I guess it would work.

  3. Lorelle
    Member
    Posted 9 years ago #

    The drop down list is very enticing. I've talked to a few folks and they say that it's possible. They are going to pick it apart and see how it would best work under WordPress. The list would have to be on a Page not a post, but we'll see what the brilliant WordPress volunteers can come up with. Stay tuned.

  4. moshu
    Member
    Posted 9 years ago #

    Oh, yes. Sorry, what I described above would show the list only. I didn't pay attention to the drop-down :(

  5. FionaDixit
    Member
    Posted 9 years ago #

    Ooh now you got me excited :)

    As a matter of interest if I do it the usuaul way (without dropdown) can the categories be displayed in header tags or are the WP tags not geared for showing the actual categories in say '<?php get_links_list(); ?>'

    Thanks :)

  6. Root
    Member
    Posted 9 years ago #

    The issue here generically stated is *How do you put php functions in a page?*. The wp-exec plugin would seem ideal.

  7. skippy
    Member
    Posted 9 years ago #

    http://www.skippy.net/blog/links/
    is a WordPress Page using the RunPHP plugin, and it looks like this:
    <h3>skippy</h3>
    <ul class="links"><?php wp_get_linksbyname('skippy'); ?></ul>
    <h3>published works</h3>
    <ul class="links"><?php wp_get_linksbyname('published'); ?></ul>
    <h3>family</h3>
    <ul class="links"><?php wp_get_linksbyname('family'); ?></ul>
    <h3>friends</h3>
    <ul class="links">< ?php wp_get_linksbyname('friends'); ?></ul>

  8. FionaDixit
    Member
    Posted 9 years ago #

    Ah cool Skippy :) thanks

  9. Firas
    Member
    Posted 9 years ago #

    To implement moshu's solution:

    (a) Make a custom page template
    http://codex.wordpress.org/pages#Pages_can_use_Different_Templates

    (b) Put a call to <?php get_links_list ?> in it
    (c) Make a page using that template (as explained in the above link)

    You can use the php-exec or run-php plugins to avoid making the custom template thing. Check their documentation to see how to use them to call get_links_list (I use wp-exec at http://firasd.org/links and say <exec type="function" name="get_links_list" /> on the page.)

    I'm also making a plugin which makes the process easier, so you can alternatively just wait a bit.

  10. Lorelle
    Member
    Posted 9 years ago #

    FionaDixit: I told you I was talking to some folks about this very cool suggestion of yours. You got them very excited. We're all here to serve. ;-)

  11. ringmaster
    Member
    Posted 9 years ago #

    Applying styles to the output is an exercise for the user:
    http://pastebin.com/280595

    Save that code as a plugin file. Create a post/page and put this comment on it (and usually nothing else) where you want the output to appear:

    <!--linksdropdown-->

  12. moshu
    Member
    Posted 9 years ago #

    That was fast, ringmaster :)

  13. FionaDixit
    Member
    Posted 9 years ago #

    Wow now thats what you call a fast service :)

    Thanks a bunch. Will try shortly.

    F

  14. Lorelle
    Member
    Posted 9 years ago #

    WOWOWOWOW! Ringmaster, and your helpful buddies, have DONE IT AGAIN. This is a dream. Very simple, very easy. Worked right off the bat.

    Fiona: You're gonna love this. Very wonderful.

    Ringmaster: Get this out of the bin and save it forever - enter it in the contest - wave a flag around it. It's brilliant!

  15. FionaDixit
    Member
    Posted 9 years ago #

    Getting excited :)

    Run into a little problem though (I say problem but it's me being dumb!)

    I know how to create a page and I know how to create a template but when I create a template for example 'links.php' and assocoate it with new page it pulls in comments and I don't know why.

    What is the simplest, meanest darnest way of doing this? :)

    What should my links.php template actuall have in it?

    Thanks

  16. Lorelle
    Member
    Posted 9 years ago #

    Oh, skip trying to make a template thing. Just click ADD PAGE or WRITE PAGE and use the default template. Make it simple on yourself. Paste in the <!--linksdropdown--> with nothing else (start simple) and save the page.

    With the php saved to file and uploaded to your plugins folder, then activated, the new page "links" will show up on your list_pages() list, wherever that is, or type in the direct link to example.com/wordpress/index.php?page_id=42 or whatever it is, and look.

    Be amazed. Be dazzled. Be thrilled. Do a little dance.

    Then go back to your Admin > Edit Page and dink with it to make the page look like whatever you want. But it will now look like your default page. The rest is details.

  17. ringmaster
    Member
    Posted 9 years ago #

    The Links Page download is now here:

    http://asymptomatic.net/wp-hacks/

  18. Silvetti
    Member
    Posted 9 years ago #

    This is what I like - someone asks - someone delivers :)

    Great stuff and a great plug-in

  19. swingcheese
    Member
    Posted 9 years ago #

    hi, i have just installed the link page plugin on my website:
    http://www.swingcheese.net but when i want to switch the categories, it always go back to all categories, so nothing changes and all my links are on the same page.
    if somebody could tell me what i did wrong or not.
    thanks and cheers,
    philippe

  20. snaerff
    Member
    Posted 9 years ago #

    Works fabulously fine for me. I've been racking my limited brain for ages trying to figure a way of doing this without tables ... now with three clicks it's done! http://www.andrewcairns.com

    Ringmaster, you're my hero!

  21. snaerff
    Member
    Posted 9 years ago #

    Just another 2 thoughts, Ringmaster. Would it be possible to somehow have a heading inserted above the links in each category so that people looking at "all" categories could easily see the different types on the one page? Also, is there some way of removing certain categories from the drop-down list?

    Hope this isn't a pain ... your plugin rocks!

  22. obiscoito
    Member
    Posted 9 years ago #

    Wow jsut starting up a page, wanted to have a links page...google search...WHAM!!! Thanks for the plugin, now I do wonder about how to get headers into it.

  23. ht2151
    Member
    Posted 9 years ago #

    excellent, thank you!

  24. Anne-Lise
    Member
    Posted 9 years ago #

    I really like this plugin, because I have so many links on my site, in several categories. One of them is my blogroll. At the moment the plugin sorts all categories by name. However I want my blogroll to be sorted by updated and the other categories by name. Is it possible that I can add a code to the plugin so it does this?

  25. mondomx
    Member
    Posted 9 years ago #

    Am I the only one to have trouble with this plugin? Wp 1.5, php 4.3, apache 2.

    I created a page, and inside i have:
    <br />
    'This is our collection of links for information on Boxers, General Dog care, and other useful web links.

    <!--linksdropdown-->

    And all i get is the line, and a drop down, with "all catagories", though I have several links in about 3 catagories, but when i click change with the only option selected, it does nothing.

    and i get this in the page where the select field is:
    <br />
    <form id="linkcatselect" method="post"><select name="linkcat"><option value="-1">All Categories</option></select><input type="submit" id="linkcatsubmit" value="Change" /></form><dl id="linklist"></dl>

  26. barrel
    Member
    Posted 8 years ago #

    Hmm... already an old thread, but here is a reply anyway.

    I am the maintainer of the application called 'brim' (formerly known as booby) which has a bookmark plugin. These bookmarks have notion of visibility (either private or public) and public bookmarks can be embedded in a webpage.

    Take a look here to see how: http://www.barrel.net/links.php

    Anyone interested in having a wordpress plugin that enables public bookmarks in wordpress? The downside of this 'public bookmarks' is the fact that you would need to install brim on the same machine as wordpress...

    Barry

  27. barrel
    Member
    Posted 8 years ago #

    Ok, the plugin is created. For more info:

    demo: http://barry.nauta.be/

    brim: http://www.brim-project.org/

    Check the plugins->wordpress section on the brim-project page for more information on installation and configuration.

  28. Oceanwatcher
    Member
    Posted 8 years ago #

    Now I only need to find out how to omit my blogroll category from this list... And find out how to only dosplay the blogroll in my sidebar. Any suggestion?

    Oh - here is something that might be obvious to many, but not to a newbie like me: If you are using a WYSIWYG editor, remember to switch to HTML before adding the code...

  29. Bhooshan
    Member
    Posted 8 years ago #

    Absolutely fantastic plugin Ringmaster. 3 cheers for that!!! Just one question to everyone who has used it which is how I do I style it now? I can't seem to apply my CSS style sheet to it. Do I have to edit the source file for this.

    Thanks once again for the brilliant stuff!!

  30. nieuws
    Member
    Posted 8 years ago #

    Just use a an include tag and an editable page. Works like a charm.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags