Forum Replies Created
-
AuthorPosts
-
support.jilladdisonMember
That is a good question. The email address is coming from the previous page via a "post". I am using urlencode($_POST['emailaddr']); to get the email address. Unless I am missing something, it should be available.
I usually put all my custom PHP code at the top of the page. Would it be better to move the code to later in the page?
Thanks for your help.
support.jilladdisonMemberI figured it out and wanted to post to anyone else wanting to do the same thing.
I added the following to functions.php to create the new widget:
genesis_register_sidebar( array(
'id' => 'home-blog-list',
'name' => __( 'Home - Blog List', 'streamline' ),
'description' => __( 'This will appear on the home page below the content.', 'streamline' ),
) );In the widgets, I added Featured Post to this widget.
In front-page.php for my child theme, I added the following:
add_action( 'genesis_entry_content', 'home_blog_list');
function home_blog_list() {
genesis_widget_area( 'home-blog-list', array(
'before' => '<div id="blog-list">',
'after' => '</div>',
) );}
Thank you to everyone who helped and provided information.
support.jilladdisonMemberSorry, did not mean to post this twice.
support.jilladdisonMemberThank you for your encouragement.
I added a custom sidebar and added Genesis - Featured Posts to it. This worked fine.
I am now trying to add the sidebar to the content area of my page. But it is not working. Following is my code. Do you see something wrong ?
add_action( ‘genesis_entry_content’, ‘home_page_blog_list′,2 );
function home_page_blog_list() {
if( is_front_page() ) {
genesis_widget_area( 'home-blog-list', array(
'before' => '<div class="blog-intro"><div class="wrap">',
'after' => '</div></div>',
) );
}
}support.jilladdisonMemberThanks for your help. I tried copying the form, but the look is different.
PHP - not a problem. However, since I just want to copy the look and feel, I don't think I should need PHP.
How can I tell which plugin and specific CSS is being used for the form? I looked at the source for the page, but could not fine it.
-
AuthorPosts