FCW WordPress Plugins
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.
-
The new section that is added to the add/edit page screen.
-
Add at least a url and name and hit "Add link". Your link then shows up at the bottom of this section.
-
Multiple links are no problem and the handy trash icon allows you to quickly delete a link.
-
Choose the widget titled "Add links to page".
-
The widget! Add a title of your choosing.
-
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
Comments
-
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 -
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 -
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 -
Wery nice pluging thanks admin
-
Does this work for all pages ? Can i submit on any site ?
-
Do you have the same but also for postsnot only pages?
-
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










Submit a Comment