Recycle the core
You could simply take the widgets code from core 1), rename the class and such and alter it to your needs. OR you could simply extend
the core widget class and just alter what you need changed (overwrite the methods in your extending Widget class).
Than add a plugin comment on top and activate it.
/**
* Plugin Name: Custom Link Widget
* Description: Altered from WP Core.
* Version: 0.1
* Required: 3.3
* Author: Your Name <[email protected]>
* Author URI: http://example.com
* License: MIT
* License URI: http://www.opensource.org/licenses/mit-license.php
*/
1) The core widget you can find here.
Related Posts:
- Wondering how to turn your firefox bookmarks into a WordPress blog?
- What is the canonical way to link to pages?
- Remove all links to a specific website
- Getting only the most recent bookmark?
- WordPress links/bookmarks – need to urlencode because spaces are getting stripped
- Add the title attribute to links
- Site migration and how to write internal links with migration in mind
- Remove all link title attributes
- Get parent page url to show up when it is in child pages
- How to use wpLink without editor?
- How to print translation supported text with HTML URL
- Add a class to links in the visual editor (how to get old dialog back)
- Is it possible to link to draft pages?
- opening links in new tab using – add_filter( ‘the_content’, ‘make_clickable’);
- How to use wp_rel_nofollow to add nofollow to external links only?
- get_category_link() is returning nothing
- Is there any way to set default for “Insert/Edit Link” to “Open link in new window”?
- How to splice in wp_links links into the loop?
- Is there an easy way to create a links index page?
- How do I remove or disable “Or link to existing content” in “insert link” dialogue?
- Retrieving all Links from a Post?
- Auto-embed link info from URLs in link post format?
- Generate Random Post Links Somewhere in the post
- Add Link Text Back to Insert/edit link Box
- How to add more than one RSS Feed Link for wordpress
- How to list all external URLs that I have posted on my WordPress blog?
- Creating a navigation link to my front-page
- How to add wechat (weixin) link to navigation menu?
- Relative links for performance?
- Delete link on single-custom.php with redirection
- Dont’t change active Button while I’m listing a category?
- How do i set the read more link?
- Plugin for wikipedia style references in WP?
- Problem creating an edit link for a custom post type
- How to use
- After duplicating site to a sub folder, links send user to original site
- How to add a WordPress page with multiple picture links?
- Problem with meta box in Links
- Links in nonalphabetic order
- How to automatically nofollow a set domains? (I seem to have half of the answer)
- Read more link to external webpage
- How to apply default post categories to link manager plugin
- How to change all external links to “nofollow” but only for Contributor role?
- How do I hide the ‘Edit’ link in publshed posts
- Do you use links?
- how do I get rid of the links and all the links related menu items on the admin ui?
- How do I list custom taxonomy terms with the links?
- Remove nofollow from specific internal links
- How to remove massive link in WordPress content
- Delete all href attribute in WordPress posts
- Allow insecure embedded content in a SSL secured website
- How to prevent WordPress from abbreviating long slugs?
- How do I create a root link in wordpress to a PDF file?
- Put password on a wordpress link in a article
- Disable title link in the backend for non-admins
- Add class to all links created by tinyMCE
- How do i remove all Bit.ly shortened links from site?
- how do I turn off whatever causes links to be embedded as URL’s site title
- How to make entire in blog post page linked?
- How to make a random dynamic url?
- WordPress does not show correct page
- Bulk change link to pdf’s
- Best practice to generate token for email action
- White image when I share my site
- How to track which users click link/button?
- How can I get the url from file uploaded in Media Library
- Getting duplicate homepage links | Even if there is only one page in Dashboard Please Help
- Rotate prefix for external domain links using functions.php?
- How to change the canonical link from a category or taxonomy archive?
- How to mask external download links to be only accessible by logged-in users?
- Content -> Post is easy, but Post -> Content is hard
- Metallex Theme modifies links after saving them
- How to change custom link of subpages from of localhost to website
- Adding a different domain to existing WordPress site
- bloginfo(); outputs wrong urls without https on inner pages
- How can I add a sortable link_updated column to the Link Manager?
- how to display country/region/subject/post reasonably
- WordPress 404 Images – Images not found after deleted from media
- Links open when scrolling on touch devices/mobile
- How do I change the “href” link that corresponds with an “li class” statement?
- How do I map two domains to the same wordpress installation?
- Unable to create hyperlink after WordPress updated
- Anchor doesn’t work if it’s given in the url
- Links offset on my page
- random characters on links
- Custom Link In WordPress Media “Attachment Details” Upload Screen
- Custom WP deactivate an email activation link sent to user’s email.
- permalink and $_GET
- pictures does not apeare in posts
- remove the ‘page’ URL parameter in previous/next posts link
- Internal linking search box not working – WP 3.2
- Blogroll import/export with categories and descriptions
- WordPress: How to make a subsubdirectory
- External Links Not Working [closed]
- Access the article edit page from the web address bar?
- Link to blogg-page
- Is it posibble to have alink to display all posts on index.php?
- I’ve been trying for an hour to remove the underline from links; I don’t understand why something that should be so simple is so difficult [closed]
- How to have all RSS feed entries linking to the same specific page
- how to create a link to open app? [closed]