Skip to content
Grav 2.0 is officially stable. Read the announcement →

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Creating Helper Function · 11 years ago

    Thank you, i am going to create a twig macro... How is a macro structured?

  • Creating Helper Function · 11 years ago

    http://twig.sensiolabs.org/doc/filters/date.html

  • Creating Helper Function · 11 years ago

    is there a way to check the date and time in twig ??

  • Creating Helper Function · 11 years ago

    Hi @timomue, if you want to do it in PHP then Shortcodes will help you. The only thing you need is to add either a block or inline shortcode via / Create block shortcode $block = new Shortcodes\BlockS

  • Creating Helper Function · 11 years ago

    A plugin is the way to go. You can add your function to an existing plugin such as https://github.com/Sommerregen/grav-plugin-shortcodes/

  • Creating Helper Function · 11 years ago

    I want to create a helper function [in php] for writing a greeting according to the date and time! Should I create a plugin or is there an opportunity to insert php code elsewhere ?? Thanks!

  • Custom CSS for agency template · 11 years ago

    Thanks rhukster - Have just added a request. Thanks for your speedy assistance.

  • Custom CSS for agency template · 11 years ago

    It appears Agency doesn't have a line to add a custom.css file if found like Antimatter does. You can add it like this: https://github.com/getgrav/grav-theme-antimatter/blob/develop/templates/partial

  • Custom CSS for agency template · 11 years ago

    Hi Guys, Trying to get some custom CSS to work for a Grav install using the Agency template. I've tried adding a -custom.css file in the CSS folder within the template, I've also tried setting up the

  • Attempts to get 2nd page failing · 11 years ago

    The .htaccess file exists (it was a standard copy of the version from the original. I'll keep looking around anyway. Thanks for the time you've put into looking at this.