Support » Plugin: TR Post Slider Widget » Allow linking

  • Resolved jas8522

    (@jas8522)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MohammadTanzilurRahman

    (@mohammadtanzilurrahman)

    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

    jas8522

    (@jas8522)

    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.