0
Welcome Guest! Login
0 items Join Now

Gantry5: Page title variable in Info List?

    • Acrisor's Avatar
    • Acrisor
    • Newbie
    • Posts: 5
    • Thanks: 0

    Gantry5: Page title variable in Info List?

    Posted 6 years 11 months ago
    • I have a particle Info List inside header. I wish to add Page title in global header particle as a variable, not by hand, on every page.

      The purpose of this is to use Info List particle in Base Outline (global header), so I would not have to create a header particle for every single page of Wordpress. As such, a different title would be displayed on every page header particle, according to that page title.

      How can I acomplish this?

      Thank you in advance for taking time to answer this.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 21595
    • Thanks: 3098
    • messin' with stuff

    Re: Gantry5: Page title variable in Info List?

    Posted 6 years 11 months ago
    • You could use the Timber TWIG function {{page.title}} in a Custom HTML Particle and enable TWIG processing in the Particle... not sure if it'd woirk in the Info List Particle or not
    • The following users have thanked you: Acrisor

    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • Acrisor's Avatar
    • Acrisor
    • Newbie
    • Posts: 5
    • Thanks: 0

    Re: Gantry5: Page title variable in Info List?

    Posted 6 years 11 months ago
    • Thank you for the reply. Indeed, it does not work with infolist particle. Thank you for helping.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 21595
    • Thanks: 3098
    • messin' with stuff

    Re: Gantry5: Page title variable in Info List?

    Posted 6 years 11 months ago

Time to create page: 0.042 seconds