-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Activation of Gantry modules (rendered with Timber/Twig) #856
Comments
Hi, you can manually activate links to be displayed in a lightbox using SLB's |
I can't understand how to use this function in html. |
Please do not create duplicate issues. You can add comments to existing tickets and they can be reopened if necessary. Please provide more information on where and how you are attempting to use SLB. Your initial post said "out frome the main content", but your later post says you want to use it "in a html page". Like any other function in WordPress, |
I was worry because you decided to close this issue without my consent, without solving the problem. Anyway in my workspace I can build sections out from main content pages and I can add widget or other component. In my case I have to add some stupid HTML code that will be the same in all the pages with that template (it's not importat if this will be one page or many). In other plugins I can specify a selector (id or class) to activate the lightbox.
In this case I used the class "mylbox" as activation selector. If this feature will be created I will be happy to go back and use SLB. Thanks in advance. |
The ticket was closed because the question was answered based on the information provided in the original post. Providing all necessary information is the best way to ensure your actual question is answered before a ticket is closed. Can you please clarify what you mean by "workspace"? Is the HTML code added to a template in the WordPress theme, or somewhere else (e.g. via a plugin, etc.)? Thanks. |
When I say workspace I mean Gantry5. |
Thank you for the additional information. What specific section of the Gantry admin you adding the HTML? If Gantry supports filters, it may be possible to activate links in HTML added to Gantry. Also, please provide a link to the specific theme you are using so that your setup can be more closely reproduced. Thanks. |
Hi, Link to direct download Thank you. |
Thank you for the additional information. As Gantry uses Timber/Twig and generates its output differently than standard WordPress themes, making use of standard template tags is not as straightforward. If you are familiar with Gantry's theme structure, you can use PHP's output buffering functionality to save the output of a specific component (such as your I have also added looking into further compatibility with Gantry/Timber to the to-do list in the hope that a more native solution will be available in the future. |
Description of Problem
On a homepage I'm inserting some photos out frome the main content
I tryed to replicate the same code inside the main container of the page and the lightbox would work there.
But I would need to use more sections.
I enabled all options in "activation" options.
Details
Anyway these are my plugins:
The text was updated successfully, but these errors were encountered: