WordPress.org

Forums

AK Featured Post Widget
View more link (6 posts)

  1. carodani
    Member
    Posted 1 year ago #

    Is it an easy way to add a "view more" link at the end of the list of the post? This could link to the category or being a chosen link in the options...

    https://wordpress.org/plugins/akfeatured-post-widget/

  2. carodani
    Member
    Posted 1 year ago #

    No one? Should I hardcode the link manually in the widget php?

  3. kaser
    Member
    Plugin Author

    Posted 1 year ago #

    Hey carodani,

    Thanks for using my featured post plugin :) Sorry I wasn't quick to respond but here are some ideas until my next release.

    If you were to hardcode it into the ak_featured_post.php it would go right before line 300:

    if ( $show_support_link )

    You could even just change enable the support link in the widget and change the code right there. Replace <p>Powered By AK: Featured Post</p> with your url and text and you'll be all set.

    You could use

    Read More to link to what ever category is currently selected so you can change it willy nilly with out having to edit the hard coded code

    I'll put this on the list of features to ad for the next release. it's about time for version 2.0 to come to life.

    Please let me know if you have any other questions. WordPress.org doesn't automatically update me of posts made i but i am now subscribed via email to this thread for all future responses :D

  4. carodani
    Member
    Posted 1 year ago #

    Hello Kaser thanks for the answer and to point me out to the right line of the code.
    I modified that using the wordpress code to show the category name automatically.

    Please if you are going to add that feature I would really love if you could embed the output in a css class so it would be easy to modify the look.

    Feel free to have a look at my output here:

    http://www.scotoutdoors.com/

    Cheers

  5. rrapa
    Member
    Posted 1 year ago #

    Hey Kaser . .I'm quite new to wordpress .. would you mind to show me what code I should put to get Read more link ? I will really appreciate

    Rafal

  6. kaser
    Member
    Plugin Author

    Posted 1 year ago #

    hey rrapa,

    the read more link would be like
    <a href="">Read More</a>

    but you would have to place the URL of the page you want it to go to inside the quotes of href="" in that snippet above.

    Let me know if you have any troubles and I'll try and get you set up.

    Thanks for taking the time to message me, I really need to get around to releasing the newest version of this plugin with all the neat new features, but i'm stuck for now.

    Carodani, I will make sure to class out my html for the next release, when ever that may be :)

    Peace!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AK Featured Post Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic