• Resolved Susan Langenes

    (@susanlangenes)


    I’ll create a staging site if I need to, but for now I can’t run this live on the site because it breaks too much.

    After updating from v 1.9.x to the latest, the widget no longer correctly links to the A-Z listing page specified in the widget itself. Links are output, but they lack the page slug for the specified page — expected output for links would be https://xeraplants.com/list-of-genera/#letter-A, but after update, output is https://xeraplants.com/#letter-A

    I am using a custom page template (called page-genera.php not a-z-listing.php) for the listing page (https://xeraplants.com/list-of-genera/). I tried renaming that to a-z-listing.php but it merely changed the layout to columns and had no effect on the widget link output.

    The page I need help with: [log in to see the link]

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

    (@diddledani)

    The a-z-listing.php template is specific to my plugin, so renaming an existing page template won’t work correctly (or at all). If you need a custom page template and you need to customise the output from my plugin, then you will need two template files: one for your page to wrap around the plugin, and the other to customise the plugin output (it is this second one that is called a-z-listing.php).

    After updating to 2.0.* you should re-save your widget settings to ensure that it is correctly referencing the page you want links to point at. I recommend selecting a random page from the widget configuration and then re-selecting the correct page before hitting save. This will ensure that any wonkiness should be eliminated. If it still doesn’t point at the page once you’ve done that I’ll need to take another look.

    Thread Starter Susan Langenes

    (@susanlangenes)

    Hi Daniel and thank you for your reply. I’ve updated to 2.0.4.

    I changed the page template for my listing page to default and added the shortcode. It displays correctly.

    I have re-saved the widget on the home page per your suggestion, which did not work, so then I deleted it and added it back; still no worky. I find no related console errors and I don’t have anything in functions.php or anywhere else that is related to this.

    Please help!

    Thread Starter Susan Langenes

    (@susanlangenes)

    Addendum: I saw in another thread here where OP had a similar issue you’d mentioned something about v. 2.0.6 – any chance on that being a fix here too? Will it be available anytime soon?

    In the meantime I will hard-code the widget output and await your reply.

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    Earlier today I released a new version of the plugin which includes some tweaks and fixes to the widget configuration. Can you try updating to 2.1.1 to see if that fixes the problem?

    Once the plugin is updated, please re-configure your widget’s “target post” option by deleting the text in the box and typing the name of your post: List of Genera. Select the post from the popup menu and deselect the input box before saving – I’m unsure why you need to deselect the box, but it doesn’t save properly without doing so.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Links to A – Z Listing page not correctly output by widget’ is closed to new replies.