WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by WooThemes
How to call the author image first. (3 posts)

  1. Deyson
    Member
    Posted 9 months ago #

    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/

  2. w1ck3dgam3
    Member
    Posted 6 months ago #

    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.

  3. fa_zri
    Member
    Posted 6 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.