• 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

nomis

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 25 total)
1 2 →
  • Author
    Posts
  • October 24, 2017 at 1:11 pm in reply to: Labels in contact form #212902
    nomis
    Member

    Thank you so much Victor that solved the problem 🙂

    August 8, 2016 at 9:30 am in reply to: The Three Widget Problem #190923
    nomis
    Member

    So this is the compete code I've got at the moment Victor, but it's giving me"

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'widgets1' not found or invalid function name in /Users/simondegay/Sites/sample/wp-includes/plugin.php on line 525

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'widgets2' not found or invalid function name in /Users/simondegay/Sites/sample/wp-includes/plugin.php on line 525

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'widgets3' not found or invalid function name in /Users/simondegay/Sites/sample/wp-includes/plugin.php on line 525

      genesis_register_sidebar( array(
    	 'id'                 => 'my-widget-one',
    	 'name'           => __( 'My Widget One', 'sample' ),
    	 'description'   => __( 'This is a widget area number one', 'sample' ),
      ));
    
      genesis_register_sidebar( array(
    	 'id'                 => 'my-widget-two',
    	 'name'           => __( 'My Widget Two', 'sample' ),
    	 'description'   => __( 'This is a widget area number two', 'sample' ),
      ));
    
      genesis_register_sidebar( array(
    	 'id'                 => 'my-widget-three',
    	 'name'           => __( 'My Widget Three', 'sample' ),
    	 'description'   => __( 'This is a widget area number three', 'sample' ),
      ));
    
    add_action ('genesis_before_content', 'widgets1');
    add_action ('genesis_before_content', 'widgets2');
    add_action ('genesis_before_content', 'widgets3');
    
    add_action ('genesis_before_content', 'my_widgets');
    
    function my_widgets() {
        if ( is_page( 2 )) {
            echo '<div class="my-widget-container">';
            
            if ( is_active_sidebar( 'my-widget-one' )  ){
                genesis_widget_area( 'my-widget-one', array(
                    'before' => '<div class="widgety widget1 widget-area">',
                    'after'  => '</div>',
                ));
            }
        
            if ( is_active_sidebar( 'my-widget-two' )  ) {
                genesis_widget_area( 'my-widget-two', array(
        		'before' => '<div class="widgety widget2 widget-area">',
                    'after'  => '</div>',
                ));
            }
            
            if ( is_active_sidebar( 'my-widget-three' ) ) {
                genesis_widget_area( 'my-widget-three', array(
    		'before' => '<div class="widgety widget3 widget-area">',
                    'after'  => '</div>',
                ));
            }
    
            echo '</div>';
        }
    }
    August 8, 2016 at 9:04 am in reply to: The Three Widget Problem #190920
    nomis
    Member

    The problem is Victor not that I want to add a div to a widget area, but I want to enclose three widgets in one div.
    Here's the code I'm using:

    functions.php

      genesis_register_sidebar( array(
    	 'id'                 => 'my-widget-one',
    	 'name'           => __( 'My Widget One', 'sample' ),
    	 'description'   => __( 'This is a widget area number one', 'sample' ),
      ));
    
      genesis_register_sidebar( array(
    	 'id'                 => 'my-widget-two',
    	 'name'           => __( 'My Widget Two', 'sample' ),
    	 'description'   => __( 'This is a widget area number two', 'sample' ),
      ));
    
      genesis_register_sidebar( array(
    	 'id'                 => 'my-widget-three',
    	 'name'           => __( 'My Widget Three', 'sample' ),
    	 'description'   => __( 'This is a widget area number three', 'sample' ),
      ));
    
    add_action ('genesis_before_content', 'widgets1');
    add_action ('genesis_before_content', 'widgets2');
    add_action ('genesis_before_content', 'widgets3');
    
      function widgets1() {
    	if ( is_page( 2 )) {
    	    genesis_widget_area( 'my-widget-one', array(
    		    'before' => '<div class="widgety widget1 widget-area">',
    		    'after'  => '</div>',
    	    ));
    	}
      }
    
       function widgets2() {
    	if ( is_page( 2 )) {
    	    genesis_widget_area( 'my-widget-two', array(
    		    'before' => '<div class="widgety widget2 widget-area">',
    		    'after'  => '</div>',
    	    ));
    	}
      }
    
       function widgets3() {
    	if ( is_page( 2 )) {
    	    genesis_widget_area( 'my-widget-three', array(
    		    'before' => '<div class="widgety widget3 widget-area">',
    		    'after'  => '</div>',
    	    ));
    	}
      }

    style.css

    .widgety {
    	background: #53416D;
    	color: #DCDCDC;
    	float: left;
    	width: 33.33333%;
    	padding: 30px 25px 55px 25px;
    	text-align: center;
    }
    
    .widget1 {
    	padding-left: 50px;
    }
    
    .widget2 {
    	background: #4B3A63;
    }
    
    .widget3 {
    	padding-right: 50px;
    }
    August 2, 2016 at 2:12 am in reply to: Genesis Responsive Slider #190629
    nomis
    Member

    The nice person Julia Sydnor at StudioPress fixed it for. I had inadvertently added a couple of line of CSS.

    July 8, 2016 at 11:45 pm in reply to: Uploading to Windows Server #189165
    nomis
    Member

    Yes I eventually chose a new hosting company in China which uses Unix. I have to say, that generally speaking, working with China based hosting companies seems to be a bit of a nightmare. The company I'm trying to host the site with now is called sino hosting. Their customer service is the pits and they want to charge me an extra £200 ($259) per year just to enable cPanel. I've even been told by the Chinese Domain registrar that I need to register the DNS address - Aaaaaargh.

    I think all future Chinese websites will be hosted in the US or UK.

    April 13, 2016 at 1:00 pm in reply to: Altitude Pro Problems #183559
    nomis
    Member

    Thank you soooooo much Victor, I was really pulling my hair out with this one.

    March 29, 2016 at 1:13 pm in reply to: Gallery Question #182476
    nomis
    Member

    anyone?

    December 24, 2015 at 1:08 pm in reply to: Font Display Inconsistencies #174758
    nomis
    Member

    Thank you so much Neil, that worked perfectly. Have a merry Christmas 🙂

    December 20, 2015 at 4:32 pm in reply to: Altitude Pro Menu Customisation #174422
    nomis
    Member

    Thanks for the reply Victor, but unfortunately a:active only targets links on mouse-down, and a:visited only targets links that have been previously visited. Neither indicate which page section the visitor is viewing NOW. In the past, menu links would just link to a separate page, so it was just a matter of hard coding the menu indicator into the page itself, but because all these sections are on the same page, it's a different matter. I don't think pseudo classes are the answer here - even Studiopress Support seem stumped on this one.

    December 11, 2015 at 7:38 am in reply to: Altitude Pro dotted line on menu items #173539
    nomis
    Member

    I thought the idea of normalize.css was to stop this sort of thing from happening. Anyway, adding the code below to the styles.css seems to solve the problem. Thanks for your swift reply 🙂

    a:hover, a:active, a:focus {
      outline: 0;
    }

    Actually found this in the reset. I wonder why it's there:

    a:focus{outline:thin dotted}

    I just changed it to:

    a:focus{outline: 0}

    December 10, 2015 at 6:52 am in reply to: HTML in Text Widget #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 5:58 am in reply to: HTML in Text Widget #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 9, 2015 at 8:31 am in reply to: HTML in Text Widget #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 4:15 am in reply to: HTML in Text Widget #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?

    June 1, 2015 at 12:02 pm in reply to: Plugin questions #154420
    nomis
    Member
    This reply has been marked as private.
    June 1, 2015 at 11:22 am in reply to: Plugin questions #154402
    nomis
    Member

    Yes this is a WP site:
    http://builtwith.com/

    You don't need a plugin, just use HTML:

    <video preload="auto" autoplay="autoplay" loop="loop"
     style="top: -149px; left: 0px; bottom: 0px; right: 0px; width: 100%; 
    height: 641px;object-fit: cover;display:block;position:relative;”>
    
    <source src="http://makeupartistryonlocation.com/wp-content/uploads/
    2014/05/maol.mp4.mp4" type=“video/mp4">
    
    </video>
    May 27, 2015 at 6:55 am in reply to: Functions.php Where to Start #153791
    nomis
    Member

    Wow, so many responses. Thank you all very much. I’m beginning to realise that this is a very supportive community 🙂


    @MoodyRiviera

    Don’t be too impressed by my desire to learn. I also expressed a desire to learn Chinese a few years ago, but so far I only know the words for “beer” and “condom.” You may be surprised how much I was able to achieve using those two words during my trip to Wuhan last year? I think the private online tuition is a great idea, but I am worried that it may be a wee bit out of my price range. It also occurs to me that saying that I want to learn everything about Genesis not only makes me sound like a bit of an arse, but also a religious zealot lol.

    @Summer
    I think this is a really good point Summer, I came straight to Genesis without stopping off at WordPress, so maybe some general tuts on customising WP themes would be a good idea. I’ve only tried Lynda so far. I’m a bit reluctant to try Treehouse because I have a fear of heights. And based on my present Genesis frustration, I fear I may be tempted to jump 😉


    @arijuki

    Wow, thanks there arijuki, I hadn’t seen those Bill Erickson tutorials before. I think you offer some very useful advice here 🙂

    @Summer
    Yes, Mr Rand-Hendriksen really seems to know his stuff. I actually did work through this tutorial recently ,and also:

    Moving WordPress with WP Migrate DB
    Up and Running with Genesis for WordPress
    Customizing Themes with Genesis for WordPress
    Installing and Running WordPress: MAMP
    WordPress Plugins: Contact Forms

    So I think we may need to start entertaining the possibility that I’m stupid, lazy, or both lol. I just knew it was a mistake to leave the chicken abattoir and go to study graphic design 🙂

    Like Ma told me, “Likes of us got no place goin' to London ’n’ mixing with all those highfalutin design folks. afor ya know it y’all be on that there interweb, jabberin’ with them there Genesis folks. Weez been slaughtering’ chickins fur three generations. Folks like us gotta know our place.”

    si

    May 26, 2015 at 6:53 am in reply to: Functions.php Where to Start #153629
    nomis
    Member

    I want to do everything in functions. On this occasion I’m not looking for the answer to a specific coding problem, more some advice on a recommended study path, so that I can master the PHP side of Genesis, and a thus no longer have to ask so many questions.

    May 24, 2015 at 5:04 am in reply to: Conditional Action Hook Question #153462
    nomis
    Member

    Have attempted to copy pasta.
    Tagliatelle now jammed in photocopier.
    Is copying pasta essential to working with Genesis?

    May 23, 2015 at 3:02 pm in reply to: Conditional Action Hook Question #153437
    nomis
    Member

    Superb !!!
    This solved my problem perfectly - and I learned something 🙂
    Thanks soooooooooo much Graham.

    si

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 25 total)
1 2 →

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