• Resolved gcraigeagle1

    (@gcraigeagle1)


    Hi,

    I’m using the PDF Creator Lite plugin to produce an on-the-fly PDF which is a “booklet” where the “chapters” are a set of posts under a single post category.

    The output looks great, and the selection of posts is driven fine by the “cat” parameter.

    But the problem is that I want the posts to appear in the PDF in order by title, not the date order default.

    I thought I could solve this by using the following plugin:

    ReOrder Post Within Categories

    But, though this plugin works fine in forcing the the posts to display in a forced order within the Category online, when I exercise the pdf-lite shortcode they fall back to the default date order. I suppose there is some kind of conflict between the forced-sort plugin and the pdf-lite way of moving the posts to the on-the-fly pdf.

    I’m trying to avoid hand-carving individual single-page pdf-lite links, and I really don’t want to put in fake dates just to drive the sort order.

    I wish the plugin could offer an “orderby” parameter. Of if not, any suggestions?

    Thanks much,

    PS – I’m not a programmer, so I have to reply on plugins and shortcodes to do anything tricky!

    https://wordpress.org/plugins/pdf-creator-lite/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Alex Furr

    (@alexfurr)

    Hi,

    Are you generating the PDF from shortcode or the admin menu?
    Please send the shortcode if using that. Should be possible to add ordering options easily enough but may take a few days to code and upload.

    Alex

    Thread Starter gcraigeagle1

    (@gcraigeagle1)

    I accidentally replied via mail instead of posting. Sorry. Here’s my original reply:

    Wow, thtnks for the quick response!

    Here’s the shortcode I am using:

    [pdf-lite cat=”Owners Guide Chapters” toc=”true”]

    I’m embedding the shortcode in a page and inviting the user to utilize it to generate a one-off print-on-demand paginated pdf of the set of posts in the “Owners Guide Chapters” post category.

    Again, all I am trying to do is have the pdf present the appended posts sorted on title rather than date.

    Thanks again for your responsiveness.
    Gary

    Thread Starter gcraigeagle1

    (@gcraigeagle1)

    Forgot to mention . . .

    I have an approaching deadline, and if you happen to add this new parameter soon it will help me solve a problem.

    By any chance, do you plan to work on it immediately, or is it more of an item on your to do list?

    I’d appreciate knowing so I can plan accordingly.

    Again, thanks for your excellent work. I look forward to using the new parameter, no matter when it happens!

    Cheers,
    Gary

    Plugin Author Alex Furr

    (@alexfurr)

    I’m going to look at this tonight – no promises! but if its easy I can upload the fix this evening.
    Alex

    Thread Starter gcraigeagle1

    (@gcraigeagle1)

    Alex,
    That’s great! Thanks so much.
    Gary

    Plugin Author Alex Furr

    (@alexfurr)

    OK try this beta:
    https://www.efolio.soton.ac.uk/pdf-creator-lite.zip

    Download and replace the existing PDF creator lite folder.
    The new shortcode you want is:

    [pdf-lite cat=”Owners Guide Chapters” toc=”true” order=”AZ”]

    Let me know if it works and I’ll release it.

    Alex

    Thread Starter gcraigeagle1

    (@gcraigeagle1)

    It works!

    Hooray (picture Snoopy leaping about dancing)!

    Can’t tell you how grateful I am – it has saved me a world of time and worry.

    Thanks again,
    Gary

    Plugin Author Alex Furr

    (@alexfurr)

    Happy to help, will make the changes to live this week.

    Alex

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

The topic ‘Sort fix?’ is closed to new replies.