Is there any way to display the date the page was published in
Permalink Browser Info Environment
I'm liking grand gallery but I really need a way to show the page date in each masonry card, along with the title and description. I can get the first two but I don't see any way to include page publication time to it. Is there some way to add this manually? It's pretty important to have dates on each of the card for what I want to do. I really hope there's some reasonable way to do it. I'm not skilled enough to bust into the block and edit it to create this feature.
Type: | Ticket |
---|---|
Status: | Archived |
packages\grand_gallery\blocks\grand_gallery\view.php
into (create folders and files if they don't exist):
application\blocks\grand_gallery\templates\masonry_cards_custom.php
2. In new template, replace lines 158-160:
with (only one line):
Checkhttps://www.php.net/manual/en/function.date.php... to see how to display date in different format.
3. Go back to your browser and change block template to "Masonry Cards Custom".
4. Edit your block, in "Settings" tab select "masonry_cards" for "Basic Template (only for Custom Templates)".