Sorry, the forums are locked while I handle some maintenance.

 
This Forum is Currently Locked – Access is Read Only
You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Title image instead of only text

UserPost

7:10 pm
February 9, 2010


rickdenhaan

New Member

posts 1

Post edited 2:13 am – February 10, 2010 by rickdenhaan


First of all, great widget. This is by far the best Twitter-widget for Wordpress I've come across.

One thing I didn't like though, was the fact that the widget didn't allow an image (i.e. the twitter logo) to be set as the widget title. After playing around, I noticed that it supports HTML tags in the title, so I just crammed an HTML-tag in the title, which worked:

<img src="" />

However, after upgrading to the most recent version, this "feature" is broken. Instead of the image, I now get the HTML-code as the widget title. Trial-and-error and previous Wordpress-experiences taught me that rewriting it as follows fixes it, but for some reason, everytime I update any part of my blog (a setting here, a new post there, but more frustratingly it also appears to happen when someone posts a comment), those escaping backslashes are removed, which removes the image and gives me the HTML-code again.

\\<img src="" /\\>

Now, I've also recently upgraded to WP 2.9.1 from 2.9, which may also have caused this issue, or it may have come from upgrading my theme. But I've been meaning to send in a feature request for a title image instead of only text anyway, and this is as good an excuse as any Wink If I don't have to "hack" it to get it to do what I want, that's much more convenient than figuring out a new hack every time I upgrade my blog.

Edit: wasn't showing the backslash in the second code-block

2:26 pm
February 12, 2010


SeanON

Member

posts 5

Just echoing Rick's concern, I'm having the same issue on my blog.

Something strange that I noticed though, is that if I'm authenticated, the image displays as expected, but if I logout, I simply see the HTML as text… very weird.

Thanks for any guidance. 

FWIW, I'm using TWP 2.2, and WP 2.9.1

9:47 am
March 2, 2010


SeanON

Member

posts 5

bump

3:07 pm
March 4, 2010


hl

New Member

posts 2

Post edited 10:12 pm – March 4, 2010 by info@lietz.ch


I would very much appreciate that, too …

11:21 am
June 24, 2010


chrisi.deboer@gmx.de

New Member

posts 1

$args['title'] = "\\<img width='112' height='30' src='http://www.domain.com/wp-content/uploads/twitter.png&#039; alt='Logo'/\\>";

 

What is
wrong with this code? In front of my picture is a "\" is issued. Frown


About the Xavisys Forum

Forum Timezone: America/Phoenix

Most Users Ever Online: 50

Currently Online:
1 Guest

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 26
Topics: 410
Posts: 1034

Membership:

There are 792 Members
There has been 1 Guest

There are 2 Admins
There is 1 Moderator

Top Posters:

lkmweb@me.com – 9
Brayne – 8
Xarzu – 8
Iain – 8
Aaron Fineman – 8
checox7@yahoo.com – 6

Recent New Members: puckles@gmail.com, kwelx@kwelx.com, kaufmanauthor@gmail.com, meesfrenkelfrank@hotmail.com, heather@holmpage.com, mark@avantgarde-group.nl

Administrators: AaronCampbell (242 Posts), Imported Questions (1 Post)

Moderators: nancy@mequoda.com (0 Posts)



 
Stop Censorship