Forum Replies Created
-
AuthorPosts
-
CThor
MemberOkay, I figured this out and want to share in case anyone else has problems.
In the end, the code was indeed fine. The problem was that I was trying to import the fonts from the active website into the development website, which meant that the font and the website were not on the same domain. I couldn't figure out what Chrome's Inspector was telling me in its error message, but I had an intuition finally and and simply uploaded the fonts to the development server and changed the URL in the code accordingly. Then it worked perfectly.
CThor
MemberSorry, does not work fine or else I would not have reached out for help...
Works in News, not in News Pro, at least in my experience. Could the problem be elsewhere and not with the code I posted?
Thanks for any assistance.
February 26, 2015 at 7:08 pm in reply to: Problem with new widget areas on News Pro homepage #142458CThor
MemberThanks, Gandt. Unfortunately, it's on a development server and not available to the public.
Here's what I've got in functions.php, in case it's useful to you or anyone else:
//* Register widget areas
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home - Top', 'news' ),
'description' => __( 'This is the top section of the homepage.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-left',
'name' => __( 'Home - Middle Left', 'news' ),
'description' => __( 'This is the middle left section of the homepage.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-right',
'name' => __( 'Home - Middle Right', 'news' ),
'description' => __( 'This is the middle right section of the homepage.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-adsection',
'name' => __( 'Home - Adsection', 'news' ),
'description' => __( 'This is the ad section of the homepage.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-left-1',
'name' => __( 'Home - Middle Left-1', 'news' ),
'description' => __( 'This is the middle left-1 section of the homepage.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-right-1',
'name' => __( 'Home - Middle Right-1', 'news' ),
'description' => __( 'This is the middle right-1 section of the homepage.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-left-2',
'name' => __( 'Home - Middle Left-2', 'news' ),
'description' => __( 'This is the middle left-2 section of the homepage.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-right-2',
'name' => __( 'Home - Middle Right-2', 'news' ),
'description' => __( 'This is the middle right-2 section of the homepage.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-bottom',
'name' => __( 'Home - Bottom', 'news' ),
'description' => __( 'This is the bottom section of the homepage.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'after-entry',
'name' => __( 'After Entry', 'news' ),
'description' => __( 'This is the after entry section.', 'news' ),
) );CThor
MemberHi Victor, Thanks so much. That worked wonderfully! And it was even easy.
-
AuthorPosts