• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

HTML in Text Widget

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › HTML in Text Widget

This topic is: not resolved

Tagged: code editor, html, text widget

  • This topic has 9 replies, 3 voices, and was last updated 9 years, 5 months ago by Brad Dalton.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • December 9, 2015 at 3:15 am #173280
    nomis
    Member

    Hi,

    I have found an effective way of manipulating the page layout in Genesis is to enter HTML into a Text Widget and then target it in the CSS file. This seems to work particularly well with a widgetized front page.

    However, it's much easier for me to use my code editor (Sublime Text) to enter HTML, rather than typing it directly into the Text Widget. So does the Text Widget create a specific HTML file that I can edit directly in my code editor?

    Thanks in advance for your help 🙂

    si

    December 9, 2015 at 3:42 am #173281
    Brad Dalton
    Participant

    The text widget is generated by code in WordPress.


    Tutorials for StudioPress Themes.

    December 9, 2015 at 4:15 am #173282
    nomis
    Member

    Okay, but is the content of the widget editable in an actual file. When you insert a text widget, is an editable file generated or is it all generated from deep within the backend?

    December 9, 2015 at 4:27 am #173283
    Brad Dalton
    Participant

    No but the widget does include a filter.


    Tutorials for StudioPress Themes.

    December 9, 2015 at 8:31 am #173329
    nomis
    Member

    Thanks braddalton. Little bit confused, if I'm honest, but I think that the gist is that it's easiest to continue just entering the HTML directly into the Text Widget.

    December 9, 2015 at 12:06 pm #173350
    IDX Leads
    Member

    I think I know what you are asking and if so I find it easiest to create a draft post, then copy and paste from the draft post into the text widget. This way it is editable, previewable and saved as a file.


    Esse quam videri

    December 10, 2015 at 5:58 am #173405
    nomis
    Member

    Here is an example of the sort of thing that I will put into a text widget:

    <p>
    <img src="http://rise-webdesign.com/wp-content/uploads/2015/11/Logo_2.png" height="403" width=“386">
    </p>
    
    <p class=“raytype">
    Ray International Cultural Communication Ltd.
    </p>
    
    <h2 class="thumbs">What Do We Do?</h2>
    
    <img src="http://rise-webdesign.com/wp-content/uploads/2015/11/small_1.png" class="thumb">
    <img src="http://rise-webdesign.com/wp-content/uploads/2015/11/small_2.png" class="thumb">
    <img src="http://rise-webdesign.com/wp-content/uploads/2015/11/small_3.png" class="thumb">
    <img src="http://rise-webdesign.com/wp-content/uploads/2015/11/small_4.png" class="thumb">
    <img src="http://rise-webdesign.com/wp-content/uploads/2015/11/small_5.png" class="thumb">
    <img src="http://rise-webdesign.com/wp-content/uploads/2015/11/small_6.png" class="thumb">
    <img src="http://rise-webdesign.com/wp-content/uploads/2015/11/small_7.png" class="thumb">
    <img src="http://rise-webdesign.com/wp-content/uploads/2015/11/small_8.png" class="thumb">
    
    <p>
    <a class="button clear white" href="http://rise-webdesign.com/sub-page-11/">Our Work</a>
    <a class="button clear white" href="#front-page-5">Lets Talk</a>
    </p>
    December 10, 2015 at 6:01 am #173406
    Brad Dalton
    Participant

    Looks ok to me. I would just add it in a text widget.


    Tutorials for StudioPress Themes.

    December 10, 2015 at 6:52 am #173424
    nomis
    Member

    It's just that I'd rather type this sort of thing into my code editor (with it’s code completion, linter etc.) rather than directly in the text widget, but perhaps I'm just being too fussy. I guess I can just cut and paste to see the result.

    December 10, 2015 at 8:21 am #173426
    Brad Dalton
    Participant

    You can add a custom editor to a custom widget if you like but that would require the use of a plugin like ACF or custom code.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble