WordPress.org

Support

Support » Plugins and Hacks » How to call the author image first.

How to call the author image first.

  • Deyson
    Participant

    @deyson

    Hello and good day. I am would like to get my testimonials to look like your testimonials in the Definitions theme. I can not figure out how to get the image to line up to the left top of the testimonial text. I would think that the thumbnail needs to be called first before the text.

    Please let me know if I am correct and if I am how can I change this?

    Thank you 🙂

    http://wordpress.org/plugins/testimonials-by-woothemes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello, you need to edit woothemes-testimonials-template.php file.
    Ctrl+F to find this comment in the code:

    // Begin templating logic.

    Just after this comment is this code:

    $tpl = '<div id="quote-%%ID%%" class="%%CLASS%%">
    <blockquote>%%TEXT%%</blockquote>
    %%AVATAR%% %%AUTHOR%%<div class="fix"></div></div>';

    You have to move %%AVATAR%% %%AUTHOR%% just before blockquote. You have to see something like this

    $tpl = '<div id="quote-%%ID%%" class="%%CLASS%%">%%AVATAR%% %%AUTHOR%%
    <blockquote>%%TEXT%%</blockquote>
    <div class="fix"></div></div>';

    Works fine for men.

    hi w1ck3dgam3,
    is there any way without edit the plugin files?
    can we use apply_filter function?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to call the author image first.’ is closed to new replies.