Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Compatibility of Lay Theme with the Zotpress Plugin

Compatibility of Lay Theme with the Zotpress Plugin

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 161 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tinjessen
    wrote on last edited by
    #1

    Hi there,

    I would like to add citations to my texts on my portfolio site, and as I am generally using Zotero as reference management software, I was happy to learn that there is also a Wordpress Plugin called Zotpress, and that I can connect my existing library with my Wordpress site. I have installed the Plugin and I can actually browse through my literature in the Wordpress backend. So far so good.

    In theory I should now be able to insert this piece of text "[zotpressInText item="NIUBCM2P"]" anywhere on my site, and it should be displayed as an In-Text Citation like this "(Morrison, 2015)“. If I type "[zotpressInTextBib]" it should display a Bibliography of the citations that were made on the particular site. However, this 'translation' is not working at the moment as just the code is displayed.

    Does anyone have experience with the Zotpress Plugin? Any ideas why the Plugin might not work with Lay Theme?

    Looking forward to your help.

    All the best, tin

    1 Reply Last reply
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by Richard
      #2

      Dear Tin @tinjessen

      Shortcodes should work, however for different plugins this cannot be a guarantee, maybe a silly question but are you inserting them with the Quote marks around them like in your post ( " " )

      Also are you adding them via the shortcode option:
      Screen Shot 2021-01-05 at 12.51.50 PM.png

      When adding them through text maybe you need to go into the sourcecode: Screen Shot 2021-01-05 at 12.53.15 PM.png

      And add them in Manually so that they dont get wrapped in <p> paragraph brackets and therefore become text?
      Screen Shot 2021-01-05 at 12.53.21 PM.png

      Hope this gets you closer to a solution & Happy new year :)

      Best wishes
      Richard

      T 1 Reply Last reply
      0
      • T Offline
        T Offline
        tinjessen
        wrote on last edited by
        #3

        Hi Richard,

        Thanks for this quick reply. I only put the quotation marks in this forum post and otherwise left them out, but thoughtful of you to ask this. When using the "Add Shortcode" option it seems to be working (although I get a little spinning wheel, but that seems to be another bug, that is already covered in the Forum of the Zotero Plugin).

        However, if I insert the code through the "Add Text" option (which I would very much prefer as the references shall appear in the text), the code is simply displayed as code. It does not matter if I insert it as source code or directly as text. Also makes no difference if I put a paragraph around it or not.

        Any further ideas?

        Best,
        tin

        1 Reply Last reply
        0
        • RichardR Richard

          Dear Tin @tinjessen

          Shortcodes should work, however for different plugins this cannot be a guarantee, maybe a silly question but are you inserting them with the Quote marks around them like in your post ( " " )

          Also are you adding them via the shortcode option:
          Screen Shot 2021-01-05 at 12.51.50 PM.png

          When adding them through text maybe you need to go into the sourcecode: Screen Shot 2021-01-05 at 12.53.15 PM.png

          And add them in Manually so that they dont get wrapped in <p> paragraph brackets and therefore become text?
          Screen Shot 2021-01-05 at 12.53.21 PM.png

          Hope this gets you closer to a solution & Happy new year :)

          Best wishes
          Richard

          T Offline
          T Offline
          tinjessen
          wrote on last edited by
          #4

          @Richard-K Hey Richard, so it is working now, if I insert the code via "Add Shortcode“, but this is not really an option as I want the citations to appear directly in the text. When I add a text block though, the code is always wrapped as a paragraph. Even if I delete the <p> ... </p> it is back there, when I edit the text block again. Do you have any ideas? Do I have to create a division and give it a certain class maybe? Best, tin

          1 Reply Last reply
          0
          • RichardR Offline
            RichardR Offline
            Richard
            Global Moderator
            wrote on last edited by
            #5

            Dear @tinjessen

            I am finding no luck trying to get the way you need it to work, with doing it manually, i think you will have to design accordingly i'm afraid:

            Screen Shot 2021-01-10 at 1.25.31 PM.png
            Screen Shot 2021-01-10 at 1.25.38 PM.png

            Recreating the Class / data structure of the short-code feature doesn't seem to work they way i had hoped.

            I think you will need to seperate the text/shortcode elements

            Best wishes & once again sorry for any inconvenience the compromise may cause
            Richard

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            💿 Email me here: 💿
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            A
            alasdair17
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search