This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Short codes in widgets, form code in raw

  • Creator
    Topic
  • #3435
    cowboymike
    Participant

    Howdy Jason,
    I can not get icon short codes to work in a text/html widget. Is there another option for me to do that?

    In theme builder>content element> raw content raw, in the raw content area I am trying to enter a newsletter subscribe form code. When I save/update wp strips the code. I have unchecked the wp Raw Content Formating check box.

    Can you suggest another option?

    Thanks, Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #3445
    Jason Bobich
    Keymaster

    WordPress doesn’t natively support shortcodes in widgets. It is possible to add this functionality though through your Child theme’s functions.php, however that would be a customization you’d need to make to the theme.

    http://digwp.com/2010/03/shortcodes-in-widgets/

    You can do this via plugins like this one, as well.

    http://wordpress.org/extend/plugins/shortcodes-in-sidebar-widgets/

    Keep in mind that shortcodes are not styled for widgets and sidebars. So it’s possible that not all of the theme’s shortcodes will look right when placed in a widget.

    #3459
    cowboymike
    Participant

    Thank you Jason,
    Can you suggest an option for my question with regard to entering newsletter subscribe form code on a page as I asked when I wrote:

    content element> raw content raw, in the raw content area I am trying to enter a newsletter subscribe form code. When I save/update wp strips the code. I have unchecked the wp Raw Content Formating check box.”>

    I would like to have a newsletter subscribe form in content section just above where it reads “From the Blog…” on the main page at http://www.hibiscusbythebay.com

    Thanks, Mike

    • This reply was modified 7 years, 8 months ago by cowboymike.
    • This reply was modified 7 years, 8 months ago by cowboymike.
    • This reply was modified 7 years, 8 months ago by Jason Bobich.
    #3461
    Jason Bobich
    Keymaster

    You are limited in the HTML you can put in here. Another option could be to not use “raw content” and include content from an external page. Then you can set up that page in the WordPress page editor and you’ll be working with whatever HTML WordPress allows in pages.

    #3464
    cowboymike
    Participant

    Ahh got ya. I’ll give that a try. Thank you.

    • This reply was modified 7 years, 8 months ago by cowboymike.
    • This reply was modified 7 years, 8 months ago by cowboymike.
    • This reply was modified 7 years, 8 months ago by cowboymike.
    • This reply was modified 7 years, 8 months ago by Jason Bobich.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.