• Resolved Ben Hutchings

    (@benmeredevelopmentcouk)


    Evening Leon,

    I’m trying to make use of ‘Additional Urls’ and not sure how / what I should be doing. Could you please give me an example of how is should be used?

    I’m finding that any images set with background URL in CSS e.g:
    background-image: url(assets/img/aevi_menu.svg);
    Don’t get exported, so I’m hoping to include these manually with the ‘Additional Urls’ field.

    For example if my asset lives at:
    https://domain.tld/wp/wp-content/themes/theme-name/assets/img/sprite.svg

    I’ve tried the following formats in ‘Additional Urls’:

    https://domain.tld/wp/wp-content/themes/theme-name/assets/img/sprite.svg
    /wp/wp-content/themes/theme-name/assets/img/sprite.svg
    wp/wp-content/themes/theme-name/assets/img/sprite.svg
    /wp-content/themes/theme-name/assets/img/sprite.svg
    wp-content/themes/theme-name/assets/img/sprite.svg

    but no luck. What am I doing wrong?

    Thanks for your work on this plugin, and glad to see you are continuing development. It’s most valuable!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Leon Stafford

    (@leonstafford)

    Hi Ben,

    Thanks for using the plugin!

    I’m currently working on the next update (multiple simultaneous exports), so this may not get resolved soon. In the interim, I think what may work is to reference those same files directly as images somewhere, set a display:none; style to hide them and they should get pulled into the export.

    I realise the additional URLs needs an overhaul!

    Cheers,

    Leon

    Thread Starter Ben Hutchings

    (@benmeredevelopmentcouk)

    Hi Leon,

    Really pleased to see the addition of S3 exports other tweaks. Your work-around for exporting ‘additional’ items works well.
    Would you say that ‘Additional Urls’ doesn’t work at all at the moment, or are there just a very limited number of ways it can be used? If it does sort-of work, I’d still love to see an example of how things should be pathed to.

    Thanks,
    Ben

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi Ben,

    Oh, great to hear the workaround got you out of trouble. Now those releases are out of the way, I’m right now digging into the code to see what’s actually happening (if anything) with the additional URLs!

    Next release should see them working and I’ve sped up the release process / made it much less painful for myself, so could be out 5 minutes after I identify and fix the issue – fingers crossed!

    Cheers,

    Leon

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi Ben,

    I’ve just pushed out version 1.6 of the plugin, which should now see additional URLs working for you again in the originally intended way.

    There is some helper text above the field to give example URLs.

    Please have a try. Hope it squashes the need for the workaround!

    Cheers,

    Leon

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi Ben,

    I’ll mark this one as resolved, but please let me know if any further issues.

    Cheers,

    Leon

    Thread Starter Ben Hutchings

    (@benmeredevelopmentcouk)

    Brilliant! yes it is, and works perfectly. Thanks a lot!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using Additional Urls field’ is closed to new replies.