Forum Replies Created
-
AuthorPosts
-
SoZo
MemberSoZo
MemberSoZo
MemberYou don't add the add_action twice. You only need
remove_action(‘genesis_after_post_content’, ‘genesis_post_meta’); add_action(‘genesis_after_post_title’, ‘genesis_post_meta, 5 ’);
And you'll need to play with the priority number. But there is another issue with the home page since the post meta isn't showing anywhere.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberSoZo
MemberSoZo
MemberSoZo
MemberSoZo
MemberYou would need to add the gradient to either the body or #wrap
If you want the footer widgets to span the viewport you need to remove the width from #footer-widgets then add a width and auto left/right margins to #footer-widgets .wrap.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberNo, I just tested a gallery and it worked fine. Most likely a plugin conflict.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberIf you need another sidebar see this.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
February 4, 2013 at 10:12 am in reply to: Adding line break between "Categories" and "Tags" at bottom of post? #17892SoZo
MemberSoZo
MemberYou're welcome 🙂
Have you picked up a copy of "WordPress for Dummies"? It's a good introduction to WP.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberYa, you threw HTML into PHP. You need to break out of PHP first. See the difference between this and what I posted above
add_action('genesis_before_footer', 'add_div', 5 ); function add_div() { ?> THE STUFF YOU WANT TO OUTPUT <?php }
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberSoZo
MemberYou can add an image tag to a text widget. Text widgets accept standard HTML.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberGo into home.php and edit the layout filter
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' );
to
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberClick the image in the post editor and you'll see two icons in the upper left corner of the image. Click the fist one, which will bring up the image properties dialogue. Choose either align left or align right.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberYou'd need to break out the .menu-primary ul selector out of this group
.menu-primary ul, .menu-secondary ul, #header .menu ul { float: left; width: 100%; }Into its own rule
.menu-primary ul { width: auto; float: right; }
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberThe intro to hooks shows what a function looks like and you can learn about the add_action parameters here.
You'd want something like
add_action('genesis_before_footer', 'add_div', 5 ); function add_div() { THE STUFF YOU WANT TO OUTPUT }
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
SoZo
MemberIt would be easier to style your form than it would be to change how the widget functions. Use Firebug and you can determine all the style rules being applied.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
-
AuthorPosts