Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Chris Dillon

    (@cdillon27)

    Hi,

    For the [strong] shortcode, there are some nested shortcodes for that. For example:

    [strong title]
      [client]
        [field name="client_name" class="name"]
        [field name="company_name" url="company_website" class="company" new_tab]
      [/client]
    [/strong]

    Go to admin > Testimonials > Shortcodes > Child Shortcodes tab for more info.

    And here’s a demo:
    http://demos.wpmission.com/strong-testimonials/the-strong-shortcode/custom-fields/

    Thread Starter kalianey

    (@kalianey)

    Great, thanks!!

    Hi Chris, the field name usage works great for me on the “all testimonials” page but once you click to read the full “post” of that testimonial the author’s name is no longer there. On a site where we display the post meta that makes it look like the site owner (in this case) posted each of these testimonials all by himself and makes them look like he’s scamming his readers :-). You can see what I mean by going to: http://paternitynw.com/paternity-dna-testimonials/ and clicking the “Read the Entire Testimonial” link. I would like to see the testimonial submitter’s name (in this case first name last initial) carried over to the individual post… any suggestions on how to make this happen?
    thanks,
    Harmony

    Plugin Contributor Chris Dillon

    (@cdillon27)

    Hi Harmony,

    When you click through to the testimonial, it is being displayed using your theme’s default post template single.php. You can confirm this by comparing a testimonial and a regular post side by side.

    The client fields don’t appear because they are stored in the post meta fields not the post content and the default template only displays content. Which is why we have testimonial plugins 🙂

    To show those fields, we need to make a testimonial template by copying the default template and adding those fields. WordPress will automagically find the right template when displaying a single testimonial.

    (This is the simplest approach until I can learn some advanced methods of handling this within the plugin.)

    Ready to continue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to display author name’ is closed to new replies.