cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS Related Topics
Insert a filter in the title of the widget
April 14, 2011
10:25 pm
Raphael
Guest

I think it would be a good idea to insert a filter for formatting the title of the widget. AndI intend to use the plugin http://wordpress.org/extend/plugins/ttftitles/, and I can not without first changing the plugin code.

 

See my code (cforms.php):

 

Line 1350: $id = substr($widget_id, 7);
Line 1351: $no = ($options[$id]['form']=='1')?'':$options[$id]['form'];
Line 1352: $title = htmlspecialchars(stripslashes($options[$id]['title']));
Line 1354: $title = apply_filters('widget_title', $title);
Line 1355: echo $before_widget.$before_title.$title.$after_title;

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
26 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3749

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5348

Posts: 18718

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)