Your Time:
Our Time:
← Back to discussions

Widget in Sticky Bar

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 4 replies, 3 voices, and was last updated 12 years, 8 months ago by Fem.

  • 2014-01-05 at 2:26 pm
    Support Expired
    #1864
    djg970
    Participant
    • Topics: 4
    • Replies: 5
    • Total posts: 9
    • Post count: 5

    Hi,
    I was wondering if it is possible to add widgets or shortcodes in the Sticky Bar to display WHMCS or WordPress login box along with other additional content.

    Thank you.

    2014-01-06 at 2:28 pm
    #1886
    Wajid Khan
    Keymaster
    • Topics: 5
    • Replies: 1543
    • Total posts: 1548
    • Post count: 1876

    Well this is not possible only thing you can display is text and you can’t even display login box.

    2014-01-07 at 2:59 pm
    #1922
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    You can use any shortcode if you wish to. Here is the code you need to find in header.php file and replace it

    Find Code

    Replace Code

    2014-01-08 at 10:19 pm
    Support Expired
    #2009
    djg970
    Participant
    • Topics: 4
    • Replies: 5
    • Total posts: 9
    • Post count: 5

    This is the message I get in the stick bar afterwards and the shortcode does not work.

    < ?php echo stripslashes( do_shortcode( get_option( ‘atp_stickycontent’ ) ) ); ?>

    Please advise.
    Thank you.

    2014-01-09 at 1:50 pm
    #2027
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Make sure you don’t have any space after the php tag

You must be logged in to reply to this topic.