Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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

D

daskombinat

@daskombinat
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to Add and format [Shortcodes] in text fields
    D daskombinat

    The Plugin "Cookie Consent" generate following HTML <a href="#" class="cncb-js-restore">Hier können Sie Ihre Zustimmung zu Cookies widerrufen.</a> from the shortcode [revoke_consent text="Hier können Sie Ihre Zustimmung zu Cookies widerrufen."].

    (As already said) With content filter we can put the shortcode in the text, we can also change some stlying like background-color (for some reason not text) via custom CSS oh the consent plugin or in the WP customizer.

    a.cncb-js-restore {
    color: #ffffff;
    background-color: #f7eb5b;
    }

    But it also went out that the shortcode is displayed, but it have no functionality no mater if "Smart Loading for HTML- und Shortcode-Elemente" activated or not.

    In the end we pasted a result of the shortcode instead of the shortcode itself in the page, also <a href="#" class="cncb-js-restore">Hier können Sie Ihre Zustimmung zu Cookies widerrufen.</a> So it works now like this, although the text is still black, it is legible thanks to a different CI background colour for it now.

    General Discussion

  • How to Add and format [Shortcodes] in text fields
    D daskombinat

    With "Content filter" option activated, the [shortcode] is displayed in the text also. Unfortunately I cant format it and don't follow the formatting of the text (is black on black background) :

    HTML- Example:
    Sie können Ihre Cookie-Einstellungen jederzeit über den Consent-Link hier <span style="color: #ffffff;">[revoke_consent text="Hier können Sie Ihre Zustimmung zu Cookies widerrufen."]</span> oder am Ende dieser Seite anpassen oder Ihre Zustimmung widerrufen.

    General Discussion

  • How to Add and format [Shortcodes] in text fields
    D daskombinat

    Hi, Arnim!
    Thank you for your answer. At the moment our homepage is not online. Ill try this "content filter" feature for first.
    Best!

    General Discussion

  • How to Add and format [Shortcodes] in text fields
    D daskombinat

    Hello here!

    It seems that they can just add shortcodes in Lay Theme as a separate element trough +more + shortcode, right? For some reasons I also can't put a shortcode element between two text elements. The shortcode always appears at the bottom of the site below the both text elements.

    • Is there a possibility to ad shortcodes kind of inline in text?
    • If I created a shortcode via +more + shortcode how I can format it then (color, style, etc.)?!

    Best!

    General Discussion
  • Login

  • Don't have an account? Register

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