Forum Replies Created
-
AuthorPosts
-
November 19, 2014 at 4:16 pm in reply to: Featured Posts Widget – Adding Comment link to footer #132218
nunotmp
Membernunotmp
MemberSorry about that. On the line that says
'name' => 'Sidebar Secondary')
there is a parenthesis. Removed belowgenesis_register_sidebar( array( 'id' => 'sidebar-secondary', 'name' => 'Sidebar Secondary', 'description' => 'This is the description.', ) );
November 19, 2014 at 3:30 pm in reply to: Featured Posts Widget – Adding Comment link to footer #132206nunotmp
MemberSure you can. To do this you will have to modify two hooks.
add_filter( 'genesis_post_info', 'wpz_post_info' ); function wpz_post_info( $info ) { $info = '[post_date] by [post_author_posts_link] [post_edit]'; return $info; } add_filter( 'genesis_post_meta', 'wpz_post_meta' ); function wpz_post_meta($meta) { $meta = '[post_categories] [post_tags] [post_comments]'; return $meta; }
You first need to rebuild each filter and then you edit it the way you like. In the gist I moved
[post_comments]
to the post meta.
November 19, 2014 at 3:05 pm in reply to: Changing Post Title Size on Post Pages and Home Page #132197nunotmp
MemberHello Eric,
Genesis uses the class
entry-title
on the post titles. You just need to write a more specific selector like soh1.entry-title{} // Genesis uses h1 tags for single post/pages h2.entry-title{} // Genesis uses h2 tags for post within archive pages
nunotmp
MemberThe code you created above is not for a sidebar this is a genesis function to output proper HTML for HTML5 sites. You need to use this
genesis_register_sidebar( array( 'id' => 'sidebar-id', 'name' => 'Sidebar Name'), 'description' => 'This is the description.', ) );
Paste this into your functions.php file and edit it to fit your needs.
November 19, 2014 at 2:12 pm in reply to: Optin area at the top of page on Eleven 40 theme possible? #132179nunotmp
MemberFirst you have to add the widget with this.
genesis_register_sidebar( array( 'id' => 'opt-in', 'name' => 'Opt in', 'description' => 'This is the Opt in widget area.', ) );
You then need to create a function to house the widget area to display on the front it. Something like this will work.
function opt_in_area() { genesis_widget_area( 'opt-in', array( 'before' => '<section class="opt-in-area"><div class="wrap">', 'after' => '</div></section>', ) ); }
Once that is in place you just need to hook it to where you want it to display. If you want a full width area then hook it to
genesis_after_header
so this will work.
add_action( 'genesis_after_header', 'opt_in_area' );
You would then have to use widgets or HTML code in a text widget to markup and you can add styling to the area by targeting
.opt-in-area{ //css goes here }
nunotmp
MemberThank you. I took a look and the problem is the on allwritesource.com the theme is grabbing the 150x150 thumbnails and stretching then up to 250px. This stretch is causing the pixelation issue. I am unfamiliar with the theme but My guess would be to double check your setting and make sure you are not calling for the 150x150 thumbnail but instead a larger resolution image.
nunotmp
MemberYou can use this Facebook social plugin Like Box Plugin you can configure to your liking on that page and embed the code into a text widget in your sidebar.
nunotmp
MemberNovember 19, 2014 at 11:22 am in reply to: Optin area at the top of page on Eleven 40 theme possible? #132156nunotmp
MemberAdding an area below the header is not to difficult but having the the area display like the examples could take quite a bit of CSS. Would you like for me show you how to add the widget area?
nunotmp
MemberThe theme is built this way with no options to remove it. You can however edit the home.php file. All you have to do is comment out out the actions like so.
// remove_action( 'genesis_loop', 'genesis_do_loop' ); // add_action( 'genesis_loop', 'eleven40_grid_loop_helper' );
This will remove the grid and display all post that same.
November 19, 2014 at 11:12 am in reply to: How to setup and place a search bar in my sidebar #132151nunotmp
MemberWordPress comes with a search form widget so you can just drag it over to your sidebar.
http://awesomescreenshot.com/08f3vscme1
nunotmp
Membernunotmp
MemberI did some digging and create a blog post.
http://wpzombies.com/adding-microdata-to-genesis-breadcrumbs/
nunotmp
Membernunotmp
MemberThe main font is controlled by the
body
. You can find it on line 147 of your style.css file.
November 15, 2014 at 3:18 pm in reply to: Exclude Single Post Featured Image From Certain Categories #131660nunotmp
MemberYou need to use the conditional
in_category()
so this should work.function single_post_featured_image() { if ( ! is_singular( 'post' ) || in_category( 'photos' ) ) return; $img = genesis_get_image( array( 'format' => 'html', 'size' => genesis_get_option( 'image_size' ), 'attr' => array( 'class' => 'post-image' ) ) ); printf( $img ); }
nunotmp
MemberHello Lise,
Something like this should work.
add_action( 'genesis_header', 'wpz_site_description' ); function wpz_site_description() { $tagline = sprintf( '<p class="text-center">%s</p>', get_bloginfo( 'description' ) ); echo $tagline; }
I use the class
text-center
which is a personal class that simply usestext-align: center;
. You can add the css to your stylesheet and it will work..text-center { text-align: center; }
nunotmp
MemberWhy not use a single text widget? If you are just using plan html in the widget you can use a
<br>
tag and place one on the other.I see you are using
<div>s
with inline styling which feels a bit cluttered. Just a suggestion but maybe you should use and unordered list? Using the code below will do the same thing. All you have to do is add the cssul.social-header li { display: inline }
.Just a suggestion.
<ul class="social-header"> <li><a href="mailto:[email protected]"><img src="/wp-content/uploads/2014/11/email-chia.png" alt="Emailr" height="36" width="36"></a></li> <li><a href="https://www.facebook.com/ChiaUK" target="_blank"><img src="/wp-content/uploads/2014/11/facebook-chia.png" alt="Facebook" height="36" width="36"></a></li> <li><a href="https://twitter.com/chiauk_com" target="_blank"><img src="/wp-content/uploads/2014/11/tweet-chia.png" alt="Twitter" height="36" width="36"></a></li> <li><a href="http://www.pinterest.com/chiauk/" target="_blank"><img src="/wp-content/uploads/2014/11/pin-chia.png" alt="Pinterest" height="36" width="36"></a></li> <li><a href="http://chiauk.com/shop/" target="_blank"><img src="/wp-content/uploads/2014/11/shop-icon.png" alt="Shop" height="46" width="46"></a></li> <li><a href="http://chiauk.com/cart/" target="_blank"><img src="/wp-content/uploads/2014/11/cart-icon.png" alt="Cart" height="46" width="46"></a></li> </ul>
nunotmp
MemberI have used soliloquy for the last year or so. Easy to use and light weight.
-
AuthorPosts