Viewing 15 replies - 16 through 30 (of 33 total)
  • Plugin Author Jeff K

    (@kreitje)

    Yes. In the “Source of Testimonial” section there is that “Upload/Attach an image” link. This uses the same WordPress media manager when uploading or picking an existing image.

    In your testimonial, when you bold, underline, insert an image it’s adding HTML code in the visual editor that you don’t see. It just shows up as bold. In the widgets, when you limit the amount of characters or words it will strip out all the HTML code including images to make sure no partial HTML code is left over which can drastically mess up your website.

    Using the “Upload/Attach an image” link is not affected by this.

    Thread Starter HvH

    (@hvh)

    Okay, so I should do 2 things:

    – upload image elsewhere on the testimonial items
    – instead of entering the entire testimonial and then limiting the size in the widget, I’d better only enter the amount of words I want to show.

    Is that correct?

    Thread Starter HvH

    (@hvh)

    Oh, wait, but that last idea gives a problem with showing all testimonials or a group on the page, for instance the test-page you and I referred to earlier. That option only works if I use a normal page, but I don’t want that because that give a lot of extra work.

    So how to handle that last issue with images in the widget?

    Thread Starter HvH

    (@hvh)

    It would also be nice if you can select a part to be shown in the widget that is not necessarily the beginning of the testimonial. It often starts with background info before cutting to the chase.

    Thread Starter HvH

    (@hvh)

    Okay, the images do show on the test page AND in the widget. Yay!

    Is there a way to influence the place of the source info when placed on a page with shortcode? It would be nice to have it top left (small column) and the text in a wide column next to it. The lay-out isn’t very nice now – a bit boring because it starts with a lot of text.

    Thread Starter HvH

    (@hvh)

    And another suggestion: I added titles to the testimonials (see the test page) to pimp the lay-out. The problem is: this is added to the widget too – and of course without HTML. Is it possible to add a title in it’s own field and make that show on pages only? Or make it a choice with a checkbox?

    Why exactly is HTML bad in the sidebar?

    Plugin Author Jeff K

    (@kreitje)

    It would also be nice if you can select a part to be shown in the widget that is not necessarily the beginning of the testimonial. It often starts with background info before cutting to the chase.

    Interesting idea. I may add it in.

    Is there a way to influence the place of the source info when placed on a page with shortcode? It would be nice to have it top left (small column) and the text in a wide column next to it. The lay-out isn’t very nice now – a bit boring because it starts with a lot of text.

    You will need to adjust your CSS to move items around like floating them. This is also where editing the templates comes in handy.

    And another suggestion: I added titles to the testimonials (see the test page) to pimp the lay-out. The problem is: this is added to the widget too – and of course without HTML. Is it possible to add a title in it’s own field and make that show on pages only? Or make it a choice with a checkbox?

    Along with templates, you can add in custom fields. It’s the link just above the templates one. Then add a “Title” custom field and enable it for the templates you want to show it on. Leave it turned off for other templates.

    Why exactly is HTML bad in the sidebar?

    Here is a basic example. Lets say I have the following testimonial:

    This site is <strong>awesome</strong> and Jeff is <strong>awesome</strong>.

    If I limit what is shown to 23 characters this is what you get

    This site is <strong>aw

    The strong tag is left open and the remaining content on the page (not just the testimonial) will now be bold therefore messing up your website.

    HTML in the sidebar isn’t bad, it’s when you limit the amount of words or characters that you run into trouble.

    Thread Starter HvH

    (@hvh)

    Aha, okay. That HTML explanation is very clear now ??

    I’m glad you like my ideas too ??

    You will need to adjust your CSS to move items around like floating them. This is also where editing the templates comes in handy.

    What exactly do you mean by this? That it is possible to change the CSS of all the templates? And/or of one template only?

    Plugin Author Jeff K

    (@kreitje)

    You can change the CSS for all of them.

    Using the shortcodes you can target specific templates as they have a class like hms-testimonial-template-{id}.

    Thread Starter HvH

    (@hvh)

    Okay, tnx. I’ll ask my programmer to look at it; it’s a bit too technical for me.

    Thread Starter HvH

    (@hvh)

    Along with templates, you can add in custom fields. It’s the link just above the templates one. Then add a “Title” custom field and enable it for the templates you want to show it on. Leave it turned off for other templates.

    I just did this with template 7, the one I use. The title is shown, but on the bottom. I dragged and dropped it more to the top, but that is not visible. The title is on the bottom in the dashboard AND on the site.

    It’s not bold either – I’ll have to fix that with CSS I guess.

    Thread Starter HvH

    (@hvh)

    Oh, and the one I’m talking about is at the bottom of the test page ??

    Thread Starter HvH

    (@hvh)

    Hi Jeff,

    I’m very curious about how I can fix this ??
    Do you think you’ll have some time in the near future to help me out?

    Thanks in advance!

    Plugin Author Jeff K

    (@kreitje)

    Can you post a screenshot of the Edit template page?

    To make the title bold,

    .hms-testimonial-container .cf-title {
    font-weight:bold;
    }
    Thread Starter HvH

    (@hvh)

    Hi Jeff,

    Please see the screenshot of template 7.

    I’ll add the code – hopefully it does something this time.

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘Can I add image to rotating sidebar widget?’ is closed to new replies.