• Resolved alexlangs

    (@alexlangs)


    I have prepared a post using footnotes. It works great on desktop preview, but on mobile and tablet the shortcodes are reproduced on screen in the body of the post and there are no references. i have not published the post as i don’t want to publish while I have these issues.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor pewgeuges

    (@pewgeuges)

    @alexlangs,

    Probably the theme customizer is showing a preview, not the real page, but what are you using to preview a post on mobile? Perhaps the plugin referenced in this topic: https://www.ads-software.com/support/topic/mobile-post-preview/
    Yet I suspect you are not, else you’d mentioned it.

    You may preview the mobile version on desktop using Chrome > Developer Tools (Shift+Ctrl+I): click the device emulator switch, second icon in the top left corner.

    To see your post on a real mobile and a real tablet, you’ll need to publish after adding the new URL in robots.txt:

    
    User-agent: *
    Disallow: /POST_URL_AFTER_ROOT
    

    This will tell search engines to not index your new post with footnotes.

    You may also wish to password protect your post, see https://www.wpbeginner.com/plugins/how-to-hide-a-post-from-home-page-in-wordpress/ for how to do that.

    Please feel free to let us know if that helps or if we can try to assist you further.

    Best regards.

    • This reply was modified 4 years ago by pewgeuges.
    • This reply was modified 4 years ago by pewgeuges. Reason: Add preview plugin topic https://www.ads-software.com/support/topic/mobile-post-preview/
    Thread Starter alexlangs

    (@alexlangs)

    Thank you so much for your prompt and thorough reply. For preview I am simply using the preview provided by WordPress – or is it provided by my theme (Astra)? I checked my draft version on a mobile by logging into my site on my phone (hadn’t thought of that before). It worked fine. I have now published and all is working well. I had not understood that the editing preview might not give me the correct result.

    Plugin Contributor pewgeuges

    (@pewgeuges)

    Thank you a lot for your feedback, I’m so happy that it works, and only now I’ve tried out the preview feature by following your steps—seems it’s actually broken! Unless I click on “Preview in new tab”, I get no preview! While “Desktop” is checked, nothing happens. While “Tablet” or “Mobile” is checked in the Preview menu, the Block Editor narrows to a tablet or to a mobile while actually remaining in editing mode (I can delete the shortcodes and the footnote or write on). Probably to get a preview I need to click on “Preview in new tab”, and that makes really sense. Problem:?Whatever is checked—“Desktop”, “Tablet” or “Mobile”—I always get the desktop preview. But then, as mentioned, Chrome comes to play as it comes with a mobile view emulator. Best of course is what you did.

    Apologies for confusing WordPress preview and theme customization preview. It’s not the theme;?post preview is provided by WordPress. I’m only helping out fix some bugs, not the plugin’s author (despite the label).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Footnotes not working on mobile or tablet’ is closed to new replies.