I just released a plugin that does pretty much that… you may want to take a look at the Recommended Links plugin and see how its done… or if this plugin works, try converting your links to the custom type I’m using and just install this plugin.
My approach was to create a new custom post type for these links, add a postmeta entry for the URL they should link to, and filter the_permalink
to refer to the link from postmeta, rather than the permalink for the post. I also created a basic widget to allow users to submit their links, and filtered the_content
and comment_text
to add voting buttons to each submitted link and comment on it.
Related Posts:
- Show Similar Post Titles ( Similar to Stack Exchange )
- How do I unlock a post programmatically?
- Delete Post With No Traffic?
- Automatically Creating Posts for Popular Forum Topics or Products [closed]
- Updating post meta for custom post types
- WP get_permalink Return Wrong URL
- Is there a plugin to display certain posts on certain pages? [closed]
- plugin for wp_list_categories with posts
- Replace existing pages with new pages, keep menu links
- Set attached to state
- Use plugin or custom post type for game score functionality
- How to change ID of an attachment in wp_posts and its related tables correctly?
- Output HTML only on individual post view
- View Private Published Page with URL Code (no login required)
- Add category selection to custom post type (plugin)
- Redirect to another page using contact form 7? [closed]
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- Moving FB comments at the end of page
- How can i summerize posts or news automatically in word press site?
- Delete data from custom table when deleting a post
- What snippet do I need to type to show my ACF field show up on my theme?
- Is there a way to make [Table Of Content] plugin while not using revision data?
- Help to Create a Simple Plugin to make a post
- Get value from an input field and pass into update_meta_data as $meta_value
- Style WordPress Custom Post Type Single Page
- Posts are deleted everyday at night
- Issues with Post 2 Post Plugin
- Get page type to display content
- Get post id in Post Page within Wp-admin
- Does anyone have the Custom Post Permalinks plugin from John P. Bloch? [closed]
- Looking for membership style plugin with edit option [closed]
- is_plugin_active function doesn’t exist
- Proper Way to Modify Plugin
- How to edit a wordpress plugin without break its update process
- GPL and plugins
- Create page when plugin is activated
- Disallow a user to post in certain categories
- Article source link for posts
- Post source link plugin – small modification
- How to add users roles dropdown in registration in wordpress
- WordPress network: set themes and plugins for new blog
- How to edit plugin’s html? [closed]
- How can I add a custom meta value on file upload?
- Custom Post Type causes Page Not Found
- How to get custom field image url of specific size
- Can a plugin add to header/footer/body content?
- Organising the plugins folder in wordpress
- Make the checkbox meta field checked by default
- force customers to add only single item to card per purchase EDD [closed]
- Preventing BFA in WordPress without using a plugin
- Auto delete WordPress users according to time
- How to show Recent Page instead of Post?
- How to enable qTranslate languages tabs in custom plugin page
- How to hide some section in WordPress under Post
- get current date + 90 days and checking every day
- Overide plugin files from child theme (/inc/ ) folder
- Update postmeta Parent when post_status child change
- Add ALT attribute to Pin It Button image to pass HTML5 validation
- changing posts layout in ultimate member profile plugin
- Custom setup of wordpress comments that are displayed
- Import Instagram post to WordPress blog post
- How do i get file_get_contents to work in wordpress
- Plugin Development – Functions or Hooks?
- Making my plugin create a page?
- Add some fileds to the wp_posts table
- How to remove bulk actions from custom post type
- How can I automatically download all images from all imported posts, place them on my new host, and replace all the links
- if in category but only with post meta
- Overriding an Array in a Plugin’s Class/Function from functions.php
- Article content navigator in wordpress like mbaskool website
- If post exists in the database – each time goes on `else`
- Edit page header on a custom plugin
- Edit part of a post
- WordPress Stats Plugin: Display Post Views [closed]
- How to Get Recent 5 post in My Title bar?
- Plugin for visitors to edit content without logging in? [closed]
- WP Insert Post If user refreshes override new post
- Summary and Comments on Main landing Page
- Method/Plugin/Hack to Start a Post with an Writing Outline?
- Automatic recurring payment using YITH subscription and Dokan Stripe
- implement custom roles in custom plugin
- Adding LOAD MORE on a page
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Custom Field used to allow a Free Story; no longer works
- Cron job shedules replace?
- How to wrap image tag into div for post only?
- Customize plugin templates
- Widget display in theme
- How to prevent authors from editing their post count?
- Customize a widget position
- How can I make my plugin display custom post meta data on the front end?
- Why the output of an image gallery plugin is not displayed into a page of my custom theme?
- Ger posts from similar tags and categories
- single.php fires more than once after clicking on any post to view with different post id each time
- Pronamic Info Window
- How to block external download link access if visitor not referred from WP?
- From a legal perspective, is it okay to customize a plugin’s code?
- Child Plugin Admin Panel
- Notifications Bar on home page only
- Distribute post content through several divs [closed]