Title: Allow linking
Last modified: August 30, 2016

---

# Allow linking

 *  Resolved [jas8522](https://wordpress.org/support/users/jas8522/)
 * (@jas8522)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/allow-linking/)
 * Hey there,
 * It would be great if this plugin could have the option to link:
 * a) The widget title to the selected category or simply to a custom specified 
   URL
    b) The post content for each slide to the single post page
 * I added (b) by editing widget-post-content.php as follows:
 *     ```
       line 105:                $output .= '<div class="tr-post-content"><a href="' . get_permalink($postID) . '">';
       line 121:	  			$output .= '</a></div>';
       ```
   
 * However conditionals would need to be added to make it a GUI option.
 * For (a) to work I think there’d need to be some rearranging of code so that the
   $postCat logic comes before the $title output.
 * -Jordan
 * [https://wordpress.org/plugins/tr-post-slider-widget/](https://wordpress.org/plugins/tr-post-slider-widget/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [MohammadTanzilurRahman](https://wordpress.org/support/users/mohammadtanzilurrahman/)
 * (@mohammadtanzilurrahman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/allow-linking/#post-6740430)
 * Hey Jordan,
 * Thanks for your suggestion.
 * a) I’ll add postCat title in slider in my next version.
 * b) Some People are not interested to linked in post content. That’s why I did
   not add this. But if you are interested then I’ll add this in my next version.
 * Thank you for using this plugin.
 * Tanzil
 *  Thread Starter [jas8522](https://wordpress.org/support/users/jas8522/)
 * (@jas8522)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/allow-linking/#post-6740626)
 * Hey Tanzil,
 * Thanks for the response! I definitely am interested 🙂
 * Would love it if you could add that in as an option in the widget settings. Totally
   understandable that some wouldn’t want to enable it though.
 * -Jordan

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Allow linking’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/tr-post-slider-widget_f8b109.svg)
 * [TR Post Slider Widget](https://wordpress.org/plugins/tr-post-slider-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tr-post-slider-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tr-post-slider-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/tr-post-slider-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tr-post-slider-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tr-post-slider-widget/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jas8522](https://wordpress.org/support/users/jas8522/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/allow-linking/#post-6740626)
 * Status: resolved