• Resolved Aguilar1181

    (@aguilar1181)


    I love what you done with the plugin. It makes thing easier.

    I obviously don’t want to modified the core files. I have done so just to test.

    is there a way you could implement a suffix on the year links? As I have 2 yearly codes on the same page for 2 different categories so the user sees each year twice.

    I added a ‘suffix’ attribute to your shortcode so my yearly links shortcode for now looks like this

    [aw_year_links cat="x" postslug="whataever" suffix="Whatever"]

    Again this is not an ideal solution, but for now it will suffice. If you decide to implement this solution it would be of great help.

    Thank you again for your great work!!

    https://wordpress.org/plugins/aw-yearly-category-archives/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AndyWarren

    (@awarren)

    Hi, sorry about the late reply, I’ve been out on the long holiday weekend. Thanks for your feature suggestion, I’ll look into adding something like this the next time I push an update out.

    I’m going to mark the thread as its not really a support request and for of a feature request. Let me know if you have any other issues.

    Plugin Author AndyWarren

    (@awarren)

    I’d like some more input on this feature suggestion as I’m looking at a couple of options for it. Would having the category titles display in a header tag above the year list be better than having a user defined shortcode attribute such as the suffix="whatever"? I am not sold on adding another shortcode attribute as I don’t necessarily want to possibly confuse users with additional options.

    Any thoughts on this from you (@Aguilar1181), or anyone else is welcomed.

    Thread Starter Aguilar1181

    (@aguilar1181)

    @AndyWarren unfortunately in my case a header above the year would have not work that’s why I suggested a suffix.

    http://completebenefitalliance.com/archives/

    Perhaps you can just add the category name to the right of the year, without necessarily been a suffix attribute.

    Anyway, if anybody want’s to add the category as a header tag all they got to do is added manually and paste the year shortcode below it, but if anybody wants the category name next to each year there is no way to do it.

    I hope my input helps you decide. I will be happy to discuss any other ideas you might have.

    Thanks

    Plugin Author AndyWarren

    (@awarren)

    Thanks for the input. Building the plugin to what its users want is definitely high on my priority list.

    That makes sense regarding just manually putting the category names above the shortcode. My only concern with placing the category names after the years, is that it would repeat on each year, and be exactly the same for each set of shortcodes.

    If you look at this page I have three options implemented.

    On the left in the page content I have the categories being output above the list of year links, and also after each year.

    ON the right in the widget sidebar I have a new shortcode attribute added called textafterlinks="" which would allow you to put any text you want after the links; however it can’t be added per link and is the same for every link that specific shortcode outputs.

    Let me know your thoughts on this!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Year Links Suffix’ is closed to new replies.