• Resolved Basilis X

    (@basilis-x)


    could you tell us how we can change the form title?
    by default Says “Subscribe” but i cant find were you define it.
    i will realy apreciate if you can help me
    i found that in \libs\SimpleSubscribe\Forms.php at line 27 you call the form so there we can cjange the texts below, but were is the code before that form call ?
    i also found that : simple-subscribe/libs/SimpleSubscribe/Frontend.php
    line 26 ($widgetTitle) but it dosent work either

    https://ww.wp.xz.cn/plugins/simple-subscribe/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tanaylakhani

    (@tanaylakhani)

    It is a widget title. When you add the widget, you get an option to specify widget title.

    Thread Starter Basilis X

    (@basilis-x)

    You mean in my post add something like this?
    [simpleSubscribeForm title=”My Fixed tittle”]
    it doesn’t work.
    also after your tip that is the widget title i tried and with /libs/SimpleSubscribe/Widgets.php
    to set those 2 lines $title = strip_tags($instance[‘title’]);
    as $title = ‘MY Fixed Tittle’;
    but no luck

    Thread Starter Basilis X

    (@basilis-x)

    if im not totaly wrong looks like ignoring $widgetTitle = (isset($args['title']) && !empty($args['title'])) ? $args['title'] : 'Subscribe';
    and if you dont mean “[simpleSubscribeForm title=”My Fixed tittle”]” at the easy user way i cant find something else

    Thread Starter Basilis X

    (@basilis-x)

    /libs/SimpleSubscribe/Frontend.php
    i dont know why i didnt saw that before and if it just dosent worked for some reason but the default values is there so its all ok!
    thank you very much the widget is really useful

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Subscribe Form’ is closed to new replies.