Gantry
Forum Replies Created
-
Forum: Plugins
In reply to: [Gantry 5 Framework] Error on loading themeIf these are two separate installations it shouldn’t matter. Did you install Gantry 5 from the WP.org or from the GitHub or from the gantry.org site?
Forum: Plugins
In reply to: [Gantry 5 Framework] Error on loading themeComposer is a tool for dependency management in PHP. You shouldn’t need to do anything with it manually. Where did you download your Gantry 5 from? Gantry website, WordPress plugin directory, GitHub?
Thanks,
JakubForum: Plugins
In reply to: [WPMovieLibrary] Conflict with Gantry 4Hmm this is odd. If the function is set to static – it should work. Can you paste your site url?
Forum: Plugins
In reply to: [WPMovieLibrary] Conflict with Gantry 4Hi,
Gantry dev here. Are you using latest Gantry 4? I’m asking because this issue shouldn’t exist there. If not please update. If that won’t resolve it, please check
your-theme-directory/widgets/and search forresetsettings.php.In that file you need to replace :
function init()
with:
static function init()This should solve this issue
- This reply was modified 9 years ago by Gantry.
Forum: Plugins
In reply to: [WP-Print] Print icon on all pagesGantry dev here. If it’s a Twig file you need to replace
<?php the_permalink(); ?>from the code above with{{ post.link }}.Forum: Plugins
In reply to: [Gantry 5 Framework] Problem with dropdown menu in Safari and OperaHi,
I just checked your site under Safari and Opera and I don’t see such issue.
Please see this video : https://monosnap.com/file/7mfZsfr4Yzg7FlMGUr4iPZab7y1g2ZFor me it works fine just like Firefox and Chrome. Please make sure that your browsers are up to date.
Thanks,
JakubForum: Plugins
In reply to: [Gantry 5 Framework] Page content particle in two columnsHydrogen with mentioned changes has been already released some time ago.
Forum: Plugins
In reply to: [Gantry 5 Framework] How to translate it?I never mentioned WP core translations. The Hydrogen (or Helium) theme translations reside in theme directory/languages/ and this is the location I was talking about.
Forum: Plugins
In reply to: [Gantry 5 Framework] Post titles on home page problemHmmm works fine for me on my local :

You’d have to ping me on Gitter and give FTP access to check it.
Forum: Plugins
In reply to: [Gantry 5 Framework] Page content particle in two columnsHi,
Latest CI builds of Hydrogen and Helium should have this implemented. In the Content tab you can choose from 1 to 5 columns 🙂
Thanks,
JakubForum: Plugins
In reply to: [Gantry 5 Framework] Featured Image implementationWell you can do it either with a particle or a widget but particle is gonna be much easier to create.
This is a sample code :
{% if wordpress.call('is_singular') %} {% set post = wordpress.call('Timber::get_posts')[0] %} {% if post and post.thumbnail.src %} <img src="{{ post.thumbnail.src }}" alt="{{ post.title }}" /> {% endif %} {% endif %}It’s gonna work only on the single page/post and only for the first found post in the array.
Thanks,
Jakub- This reply was modified 9 years, 1 month ago by Gantry.
Forum: Plugins
In reply to: [Gantry 5 Framework] Page content particle in two columnsHi,
Which theme are you using?
Thanks,
JakubForum: Plugins
In reply to: [Gantry 5 Framework] Featured Image implementationHi,
First of all I’m very sorry for late reply.
Do you still need assistance with this issue?Thanks,
JakubForum: Plugins
In reply to: [Gantry 5 Framework] Post titles on home page problemHi,
Can you please edit the
g5_hydrogen/views/partials/content.html.twigand change this :{% if gantry.config.get('content.' ~ scope ~ '.title.link', '0') %} <a href="{{ post.link }}" title="{{ post.title }}">{{ post.title }}</a> {% else %} {{ post.title }} {% endif %}to :
{% if gantry.config.get('content.' ~ scope ~ '.title.link', '0') %} <a href="{{ post.link }}" title="{{ post.title }}">{{ post.title|raw }}</a> {% else %} {{ post.title|raw }} {% endif %}Did this resolved your issue?
Thanks,
JakubForum: Plugins
In reply to: [Gantry 5 Framework] WordPress Posts particle missing categoriesHi,
Yes, this is correct. Categories that are empty won’t appear on that list, however after your post I’m considering changing this behavior.
Let’s see if anyone else will find this as an issue.
Thanks,
Jakub