Image Image Image Image Image

Fish Can’t Whistle Limited

Registered Company Number: 7781289

Studio 30
Fazeley Studios
191 Fazeley Street
Birmingham
West Midlands
B5 5SE

 

Scroll to Top

To Top

FCW WordPress Plugins

26

Jul
2011

13 Comments

In FCW WordPress Plugins

By Andy

Add Links to Pages

On 26, Jul 2011 | 13 Comments | In FCW WordPress Plugins | By Andy

Easily display page specific links on any page or post by quickly adding a link directly from the add/edit page/post screen.

Delete links by clicking the trashcan next to the link.

Supports adding URL, name, target and description.

Download now or visit Add Links to Pages on wordpress.org.
Total downloads: 9,726.

  1. add-links-to-pages screenshot 1

    The new section that is added to the add/edit page screen.

  2. add-links-to-pages screenshot 2

    Add at least a url and name and hit "Add link". Your link then shows up at the bottom of this section.

  3. add-links-to-pages screenshot 3

    Multiple links are no problem and the handy trash icon allows you to quickly delete a link.

  4. add-links-to-pages screenshot 4

    Choose the widget titled "Add links to page".

  5. add-links-to-pages screenshot 5

    The widget! Add a title of your choosing.

  6. add-links-to-pages screenshot 6

    The widget will render in style with your site perfectly.

Tags: add, link, links, page, pages, specific, widget

Changelog-

0.1

  • First release

0.2

*Added option to add links to posts as well as pages

Submit a Comment

Comments

  1. Hiya,

    Thanks for the plugin.

    I found a small bug in the code. Please find my fix included. Also, it would of course be good if some input validation was added to the save function….

    File includes/class-add-links-to-pages.php

    Find line 124:

    add_post_meta($post_id, "altp_links_html", htmlentities( $_POST['altp_links_html'] ), true); update_post_meta($post_id, "altp_links_html", htmlentities( $_POST['altp_links_html'] ));

    Replace with:

    if( isset( $_POST['altp_links_html'] ) ) {
    		    if( add_post_meta($post_id, "altp_links_html", htmlentities( $_POST['altp_links_html'] ), true) === false ) {
    				update_post_meta($post_id, "altp_links_html", htmlentities( $_POST['altp_links_html'] ));
    			}
    		}

    Hope this helps.

    Smile,
    Juliette

    http://wordpress.org/extend/plugins/add-links-to-pages/

  2. Hiya,

    Thanks for the plugin.

    I found a small bug in the code. Please find my fix included. Also, it would of course be good if some input validation was added to the save function….

    File includes/class-add-links-to-pages.php

    Find line 124:

    add_post_meta($post_id, "altp_links_html", htmlentities( $_POST['altp_links_html'] ), true); update_post_meta($post_id, "altp_links_html", htmlentities( $_POST['altp_links_html'] ));

    Replace with:

    if( isset( $_POST['altp_links_html'] ) ) {
    		    if( add_post_meta($post_id, "altp_links_html", htmlentities( $_POST['altp_links_html'] ), true) === false ) {
    				update_post_meta($post_id, "altp_links_html", htmlentities( $_POST['altp_links_html'] ));
    			}
    		}

    Hope this helps.

    Smile,
    Juliette

    http://wordpress.org/extend/plugins/add-links-to-pages/

    • Andy

      Thank you for this :-)

  3. Hi,
    I have a post named ABC and in sidebar I use widget for links.
    How can I make to extract the title of the post and put it in the title of widget? For example something like… LINKS FOR ABC? to update the widget title for each page with title of the post

    http://wordpress.org/extend/plugins/add-links-to-pages/

  4. Wery nice pluging thanks admin

  5. Does this work for all pages ? Can i submit on any site ?

    • FCW

      Yep, you sure can!

  6. FCW

    Good news!

    You can now add links to posts!

    Update through your WordPress installation to start adding links to posts as well as pages!

  7. Do you have the same but also for postsnot only pages?

    • FCW

      Hi Dianne

      No I’m afraid not at the moment.
      :-(

  8. realms of dis yea, i want write something like this but didnt have period, may i repost this Add Links to Pages | Fish Can\’t Whistle

    • FCW

      Yes by all means repost it. :-)