Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #2120344
Field Names for Testimonials
Closed

Comments

  • indigoross started the conversation

    Hi!

    I hope all is well.

    I'm trying to locate the Field names of the Fields used in Testimonials so i can pull them across using the Custom Field element in Grid Builder.

    Example of all 4 needed:

    • Name:
    • Company:
    • Position:
    • Text for the testimonial

    Many thanks!

  •  7,092
    Oliver replied

    Hi,

    Can you provide some more info what you need to active in the end?

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • indigoross replied

    Hi!

    Sure see attached screenshot.

    Im am trying to set up a page of testimomials in a list rather than slider (as there will be about 90), and best way to do it is to do it using a Post Grid using a custom Grid Builder item. So then it will have a pagination at the bottom as well. Like a posts page.

    To complete it i need the field names used to create the testimonials.

    Many thanks!

  •  7,092
    Oliver replied

    Hi,

    Try this one:

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •   indigoross replied privately
  •  7,092
    Oliver replied

    Hi,

    pls. provide the wp-admin and FTP access

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •   indigoross replied privately
  •  7,092
    Oliver replied

    Hi,

    Sorry don't see the way to put there testimonials fields. We save to database meta field thegem_testimonial_data as array. This array contain next fields:

            'name' => '',
            'company' => '',
            'position' => '',
            'phone' => '',
            'link' => '',
            'link_target' => ''

    and I'm not sure that custom field in grid item template can work with array meta field.


    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • indigoross replied

    Hi Gregor,

    Ok no worries!

    Is there another way to add the Testimonials to a page so they are a list rather than a slider?

    Many thanks

  •  7,092
    Oliver replied

    Sorry, without the code changes - no, may be try to use teams...

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • indigoross replied

    Hi Gregor,

    Ok thank you, would it be possible to bring across the Testimonials using a custom query in the Post Grid?

    The custom grid points to this page: https://developer.wordpress.org/reference/functions/query_posts/ mentioning Arrays so would this work?

    Many thanks

  •  7,092
    Oliver replied

    In your case the simplest way will be change testimonials template to your needs:

    /wp-content/themes/thegem/content-news-carousel-item.php

    For the safety feature updates copy this file to the child theme before the editing.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver